|
AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Go to the documentation of this file.
15 #define AJAAncillaryData_HDR_HLG_PayloadSize 0x1D
61 uint8_t payload[29] = {0x08,0x03,0x00,0x0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
static AJAAncDataType RecognizeThisAncillaryData(const AJAAncillaryData *pInAncData)
Declares the AJAAncillaryData_HDR_HLG class.
uint8_t m_DID
Official SMPTE ancillary packet ID (w/o parity)
@ AJAAncDataType_Unknown
Includes data that is valid, but we don't recognize.
AJAAncDataLoc m_location
Location of the ancillary data in the video stream (Y or C, HANC or VANC, etc.)
AJAAncDataLoc & SetLineNumber(const uint16_t inLineNum)
Sets my anc data line number value.
AJAAncDataType
Identifies the ancillary data types that are known to this module.
const uint8_t AJAAncillaryData_HDR_HLG_SID
virtual AJAAncillaryData_HDR_HLG & operator=(const AJAAncillaryData_HDR_HLG &inRHS)
Assignment operator – replaces my contents with the right-hand-side value.
virtual ~AJAAncillaryData_HDR_HLG()
My destructor.
virtual std::ostream & Print(std::ostream &inOutStream, const bool inDetailed=false) const
Streams a human-readable representation of me to the given output stream.
#define AJAAncDataHorizOffset_AnyVanc
VANC – Packet placed/found in any legal area of raster line after SAV, but before EAV.
I am the principal class that stores a single SMPTE-291 SDI ancillary data packet OR the digitized co...
@ AJAAncDataChannel_Y
The ancillary data is associated with the luminance (Y) channel of the video stream.
AJAAncDataCoding m_coding
Analog or digital data.
This class handles "5251" Frame Status Information packets.
virtual void Clear(void)
Frees my allocated memory, if any, and resets my members to their default values.
virtual AJAStatus SetPayloadData(const uint8_t *pInData, const uint32_t inByteCount)
Copy data from external memory into my local payload memory.
virtual AJAStatus ParsePayloadData(void)
Parses out (interprets) the "local" ancillary data from my payload data.
bool m_rcvDataValid
This is set true (or not) by ParsePayloadData()
AJAAncDataLoc & SetHorizontalOffset(uint16_t inHOffset)
Specifies the horizontal packet position in the raster.
uint8_t m_SID
Official SMPTE secondary ID (or DBN - w/o parity)
AJAAncillaryData_HDR_HLG()
My default constructor.
virtual void Clear(void)
Frees my allocated memory, if any, and resets my members to their default values.
#define AJAAncillaryData_HDR_HLG_PayloadSize
AJAAncillaryData & operator=(const AJAAncillaryData &inRHS)
AJAAncDataLoc & SetDataLink(const AJAAncDataLink inLink)
Sets my data link value to the given value (if valid).
@ AJAAncDataCoding_Digital
The ancillary data is in the form of a SMPTE-291 Ancillary Packet.
virtual std::ostream & Print(std::ostream &inOutStream, const bool inDetailed=false) const
Streams a human-readable representation of me to the given output stream.
AJAAncDataLoc & SetDataChannel(const AJAAncDataChannel inChannel)
Sets my data video stream value to the given value (if valid).
AJAAncDataType m_ancType
One of a known set of ancillary data types (or "Custom" if not identified)
@ AJAAncDataLink_A
The ancillary data is associated with Link A of the video stream.
const uint8_t AJAAncillaryData_HDR_HLG_DID