|
AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Go to the documentation of this file.
15 #define AJAAncillaryData_HDR_HDR10_PayloadSize 0x1D
61 uint8_t payload[29] = {0x08,0x02,0x00,0xC2,0x33,0xC4,0x86,0x4C,0x1D,0xB8,0x0B,0xD0,0x84,0x80,0x3E,0x13,0x3D,0x42,0x40,0xE8,0x03,0x05,0x00,0xE8,0x03,0x90,0x01,0x00,0x00};
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.
virtual std::ostream & Print(std::ostream &inOutStream, const bool inDetailed=false) const
Streams a human-readable representation of me to the given output stream.
This class handles "5251" Frame Status Information packets.
#define AJAAncillaryData_HDR_HDR10_PayloadSize
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.
AJAAncillaryData_HDR_HDR10()
My default constructor.
AJAAncDataCoding m_coding
Analog or digital data.
virtual AJAStatus SetPayloadData(const uint8_t *pInData, const uint32_t inByteCount)
Copy data from external memory into my local payload memory.
const uint8_t AJAAncillaryData_HDR_HDR10_DID
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)
virtual void Clear(void)
Frees my allocated memory, if any, and resets my members to their default values.
Declares the AJAAncillaryData_HDR_HDR10 class.
virtual void Clear(void)
Frees my allocated memory, if any, and resets my members to their default values.
AJAAncillaryData & operator=(const AJAAncillaryData &inRHS)
virtual ~AJAAncillaryData_HDR_HDR10()
My destructor.
AJAAncDataLoc & SetDataLink(const AJAAncDataLink inLink)
Sets my data link value to the given value (if valid).
const uint8_t AJAAncillaryData_HDR_HDR10_SID
@ AJAAncDataCoding_Digital
The ancillary data is in the form of a SMPTE-291 Ancillary Packet.
static AJAAncDataType RecognizeThisAncillaryData(const AJAAncillaryData *pInAncData)
AJAAncDataLoc & SetDataChannel(const AJAAncDataChannel inChannel)
Sets my data video stream value to the given value (if valid).
virtual AJAStatus ParsePayloadData(void)
Parses out (interprets) the "local" ancillary data from my payload data.
AJAAncDataType m_ancType
One of a known set of ancillary data types (or "Custom" if not identified)
virtual AJAAncillaryData_HDR_HDR10 & operator=(const AJAAncillaryData_HDR_HDR10 &inRHS)
Assignment operator – replaces my contents with the right-hand-side value.
@ AJAAncDataLink_A
The ancillary data is associated with Link A of the video stream.
@ AJAAncDataType_HDR_HDR10