|
AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Go to the documentation of this file.
169 for (i = 0; i < 8; i++)
177 for (i = 8; i < 16; i++)
223 for (i = 0; i < 8; i++)
230 for (i = 8; i < 16; i++)
246 return SetDBB1(uint8_t(inType));
virtual AJAStatus SetLocationHorizOffset(const uint16_t inOffset)
Sets my ancillary data "location" horizontal offset.
This is the base class for the AJAAncillaryData_Timecode_ATC and AJAAncillaryData_Timecode_VITC class...
@ AJAAncillaryData_Timecode_ATC_DBB1PayloadType_VITC1
virtual AJAStatus SetSID(const uint8_t inSID)
Sets my Secondary Data ID (SID) - (aka the Data Block Number (DBN) for "Type 1" SMPTE-291 packets).
static AJAAncDataType RecognizeThisAncillaryData(const AJAAncillaryData *pInAncData)
uint8_t m_DID
Official SMPTE ancillary packet ID (w/o parity)
const uint8_t AJAAncillaryData_SMPTE12M_SID
AJAAncillaryData_Timecode_ATC_DBB1PayloadType
@ AJAAncDataType_Unknown
Includes data that is valid, but we don't recognize.
virtual void Clear(void)
Frees my allocated memory, if any, and resets my members to their default values.
@ AJAAncillaryData_Timecode_ATC_DBB1PayloadType_ReaderProdData
Declares the AJAAncillaryData_Timecode_ATC class.
AJAAncDataType
Identifies the ancillary data types that are known to this module.
virtual AJAStatus GetDBB2(uint8_t &dbb2) const
virtual AJAStatus SetDID(const uint8_t inDataID)
Sets my Data ID (DID).
AJAStatus AllocDataMemory(const uint32_t inNumBytes)
virtual AJAStatus GetDBB1PayloadType(AJAAncillaryData_Timecode_ATC_DBB1PayloadType &outType) const
Answers with my current payload type.
@ AJAAncillaryData_Timecode_ATC_DBB1PayloadType_LTC
virtual AJAStatus SetBinaryGroupHexValue(uint8_t digitNum, uint8_t hexValue, uint8_t mask=0x0f)
Sets my raw "Binary Group" hex values.
virtual AJAStatus ParsePayloadData(void)
Parses out (interprets) the "local" ancillary data from my payload data.
virtual ~AJAAncillaryData_Timecode_ATC()
My destructor.
virtual AJAStatus SetTimeHexValue(const uint8_t inDigitNum, const uint8_t inHexValue, const uint8_t inMask=0x0f)
Sets my raw "time" hex values.
virtual void Clear(void)
Frees my allocated memory, if any, and resets my members to their default values.
@ AJAAncillaryData_Timecode_ATC_DBB1PayloadType_LocalFilmData
I am the principal class that stores a single SMPTE-291 SDI ancillary data packet OR the digitized co...
virtual AJAStatus GetDBB1(uint8_t &dbb1) const
@ AJAAncillaryData_Timecode_ATC_DBB1PayloadType_LocalProdData
AJAAncDataCoding m_coding
Analog or digital data.
uint8_t m_binaryGroup[kNumBinaryGroups]
virtual AJAStatus SetDBB1PayloadType(const AJAAncillaryData_Timecode_ATC_DBB1PayloadType inType)
Sets my payload type.
@ AJAAncillaryData_Timecode_ATC_DBB1PayloadType_VITC2
AJAAncillaryData_Timecode & operator=(const AJAAncillaryData_Timecode &inRHS)
Assignment operator – replaces my contents with the right-hand-side value.
virtual std::ostream & Print(std::ostream &inOutStream, const bool inDetailed=false) const
Streams a human-readable representation of me to the given output stream.
bool m_rcvDataValid
This is set true (or not) by ParsePayloadData()
#define AJAAncDataHorizOffset_AnyHanc
HANC – Packet placed/found in any legal area of raster line after EAV.
I am the ATC-specific (analog) subclass of the AJAAncillaryData_Timecode class.
virtual AJAStatus GetDBB(uint8_t &dbb1, uint8_t &dbb2) const
virtual std::ostream & Print(std::ostream &inOutStream, const bool inDetailed=false) const
Streams a human-readable representation of me to the given output stream.
@ AJAAncillaryData_Timecode_ATC_DBB1PayloadType_LocalVideoData
uint8_t m_SID
Official SMPTE secondary ID (or DBN - w/o parity)
virtual AJAStatus SetDBB2(uint8_t dbb2)
virtual AJAAncillaryData_Timecode_ATC & operator=(const AJAAncillaryData_Timecode_ATC &inRHS)
Assignment operator – replaces my contents with the right-hand-side value.
virtual uint8_t Calculate8BitChecksum(void) const
Generates an 8-bit checksum from the DID + SID + DC + payload data.
const uint32_t AJAAncillaryData_SMPTE12M_PayloadSize
virtual AJAStatus SetDBB(uint8_t dbb1, uint8_t dbb2)
@ AJAAncillaryData_Timecode_ATC_DBB1PayloadType_ReaderFilmData
virtual AJAStatus SetLocationLineNumber(const uint16_t inLineNum)
Sets my ancillary data "location" frame line number.
ByteVector m_payload
My payload data (DC = size)
virtual AJAStatus SetDBB1(uint8_t dbb1)
AJAAncillaryData_Timecode_ATC()
My default constructor.
@ AJAAncillaryData_Timecode_ATC_DBB1PayloadType_Unknown
const uint8_t AJAAncillaryData_SMPTE12M_DID
@ AJAAncDataCoding_Digital
The ancillary data is in the form of a SMPTE-291 Ancillary Packet.
virtual AJAStatus GeneratePayloadData(void)
Generate the payload data from the "local" ancillary data.
uint8_t m_timeDigits[kNumTimeDigits]
Declares enums and structs used by all platform drivers and the SDK.
AJAAncDataType m_ancType
One of a known set of ancillary data types (or "Custom" if not identified)
#define xHEX0N(__x__, __n__)
#define AJA_FAILURE(_status_)
@ AJAAncDataType_Timecode_ATC
SMPTE 12-M Ancillary Timecode (formerly known as "RP-188")
uint8_t m_checksum
My 8-bit checksum: DID + SID + DC + payload (w/o parity) [note: NOT the same as the 9-bit checksum in...