AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Used to describe Start of Active Video (SAV) location and field dominance for a given NTV2Standard. (See GetSmpteLineNumber function.) More...
#include <ntv2utils.h>
Public Member Functions | |
NTV2SmpteLineNumber (const NTV2Standard inStandard=NTV2_STANDARD_INVALID) | |
Constructs me from a given NTV2Standard. More... | |
bool | IsValid (void) const |
ULWord | GetFirstActiveLine (const NTV2FieldID inRasterFieldID=NTV2_FIELD0) const |
ULWord | GetLastLine (const NTV2FieldID inRasterFieldID=NTV2_FIELD0) const |
bool | operator== (const NTV2SmpteLineNumber &inRHS) const |
std::ostream & | Print (std::ostream &inOutStream) const |
Writes a human-readable description of me into the given output stream. More... | |
std::string | PrintLineNumber (const ULWord inLineOffset=0, const NTV2FieldID inRasterFieldID=NTV2_FIELD0) const |
Public Attributes | |
ULWord | smpteFirstActiveLine |
SMPTE line number of first (top-most) active line of video. More... | |
ULWord | smpteSecondActiveLine |
SMPTE line number of second active line of video. More... | |
bool | firstFieldTop |
True if the first field on the wire is the top-most field in the raster (field dominance) More... | |
Used to describe Start of Active Video (SAV) location and field dominance for a given NTV2Standard. (See GetSmpteLineNumber function.)
Definition at line 869 of file ntv2utils.h.
|
explicit |
Constructs me from a given NTV2Standard.
[in] | inStandard | Specifies the NTV2Standard. |
Definition at line 1289 of file ntv2formatdescriptor.cpp.
ULWord NTV2SmpteLineNumber::GetFirstActiveLine | ( | const NTV2FieldID | inRasterFieldID = NTV2_FIELD0 | ) | const |
[in] | inRasterFieldID | Specifies a valid raster field ID (not the wire field ID). Defaults to NTV2_FIELD0 (i.e. first field) of the raster. Use NTV2_FIELD1 for the starting line of a PsF frame. |
Definition at line 4118 of file ntv2utils.cpp.
ULWord NTV2SmpteLineNumber::GetLastLine | ( | const NTV2FieldID | inRasterFieldID = NTV2_FIELD0 | ) | const |
[in] | inRasterFieldID | Specifies a valid raster field ID (not the wire field ID). Defaults to NTV2_FIELD0 (i.e. first field) of the raster. Use NTV2_FIELD1 for the starting line of a PsF frame. |
Definition at line 1296 of file ntv2formatdescriptor.cpp.
|
inline |
Definition at line 887 of file ntv2utils.h.
bool NTV2SmpteLineNumber::operator== | ( | const NTV2SmpteLineNumber & | inRHS | ) | const |
[in] | inRHS | The right-hand-side operand that I'll be compared with. |
ostream & NTV2SmpteLineNumber::Print | ( | std::ostream & | inOutStream | ) | const |
Writes a human-readable description of me into the given output stream.
inOutStream | The output stream to be written into. |
Definition at line 4130 of file ntv2utils.cpp.
string NTV2SmpteLineNumber::PrintLineNumber | ( | const ULWord | inLineOffset = 0 , |
const NTV2FieldID | inRasterFieldID = NTV2_FIELD0 |
||
) | const |
[in] | inLineOffset | Specifies a line offset to add to the printed SMPTE line number. Defaults to zero. |
[in] | inRasterFieldID | Specifies a valid raster field ID (not the wire field ID). Defaults to NTV2_FIELD0 (i.e. first field) of the raster. |
Definition at line 4145 of file ntv2utils.cpp.
bool NTV2SmpteLineNumber::firstFieldTop |
True if the first field on the wire is the top-most field in the raster (field dominance)
Definition at line 873 of file ntv2utils.h.
ULWord NTV2SmpteLineNumber::smpteFirstActiveLine |
SMPTE line number of first (top-most) active line of video.
Definition at line 871 of file ntv2utils.h.
ULWord NTV2SmpteLineNumber::smpteSecondActiveLine |
SMPTE line number of second active line of video.
Definition at line 872 of file ntv2utils.h.