|
| AJAAncillaryData_Cea608 () |
| My default constructor. More...
|
|
| AJAAncillaryData_Cea608 (const AJAAncillaryData_Cea608 &inClone) |
| My copy constructor. More...
|
|
| AJAAncillaryData_Cea608 (const AJAAncillaryData_Cea608 *pInClone) |
| My copy constructor. More...
|
|
| AJAAncillaryData_Cea608 (const AJAAncillaryData *pInData) |
| My copy constructor. More...
|
|
virtual | ~AJAAncillaryData_Cea608 () |
| My destructor. More...
|
|
virtual void | Clear (void) |
| Frees my allocated memory, if any, and resets my members to their default values. More...
|
|
AJAAncillaryData_Cea608 & | operator= (const AJAAncillaryData_Cea608 &inRHS) |
| Assignment operator – replaces my contents with the right-hand-side value. More...
|
|
virtual AJAStatus | SetCEA608Bytes (const uint8_t inByte1, const uint8_t inByte2) |
| Set the CEA608 payload bytes. More...
|
|
virtual AJAStatus | GetCEA608Bytes (uint8_t &outByte1, uint8_t &outByte2, bool &outIsValid) const |
| Answers with the CEA608 payload bytes. More...
|
|
virtual AJAStatus | SetCEA608Characters (const uint8_t inChar1, const uint8_t inChar2) |
| Sets the CEA608 payload characters. Uses the least significant 7 bits of the input values and adds odd parity. More...
|
|
virtual AJAStatus | GetCEA608Characters (uint8_t &outChar1, uint8_t &outChar2, bool &outIsValid) const |
| Answers with the CEA608 payload characters. More...
|
|
virtual std::ostream & | Print (std::ostream &inOutStream, const bool inDetailed=false) const |
| Streams a human-readable representation of me to the given output stream. More...
|
|
| AJAAncillaryData () |
| My default constructor. More...
|
|
| AJAAncillaryData (const AJAAncillaryData &inClone) |
| My copy constructor (from reference). More...
|
|
| AJAAncillaryData (const AJAAncillaryData *pInClone) |
| My copy constructor (from pointer). More...
|
|
virtual | ~AJAAncillaryData () |
| My destructor. More...
|
|
virtual AJAAncillaryData * | Clone (void) const |
|
virtual uint16_t | GetStreamInfo (void) const |
|
virtual bool | HasStreamInfo (void) const |
|
virtual bool | isHDMIAuxInfoFrame (void) const |
| Returns whether or not this is an HDMI Aux Info Frame Packet. More...
|
|
virtual uint8_t | Calculate8BitChecksum (void) const |
| Generates an 8-bit checksum from the DID + SID + DC + payload data. More...
|
|
virtual uint16_t | Calculate9BitChecksum (void) const |
| Generates the official SMPTE 291 9-bit checksum from the DID + SID + DC + payload data. More...
|
|
virtual bool | ChecksumOK (void) const |
| Compares the received 8-bit checksum with a newly calculated 8-bit checksum. Returns 'true' if they match. More...
|
|
AJAAncillaryData & | operator= (const AJAAncillaryData &inRHS) |
|
virtual bool | operator== (const AJAAncillaryData &inRHS) const |
|
virtual bool | operator!= (const AJAAncillaryData &inRHS) const |
|
virtual AJAStatus | Compare (const AJAAncillaryData &inRHS, const bool inIgnoreLocation=true, const bool inIgnoreChecksum=true) const |
| Compares me with another packet. More...
|
|
virtual AJAStatus | SetDID (const uint8_t inDataID) |
| Sets my Data ID (DID). More...
|
|
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). More...
|
|
virtual AJAStatus | SetDIDSID (const AJAAncDIDSIDPair &inDIDSID) |
| Sets both my Data ID (DID) and Secondary Data ID (SID). More...
|
|
virtual AJAStatus | SetChecksum (const uint8_t inChecksum8, const bool inValidate=false) |
| Sets my 8-bit checksum. Note that it is not usually necessary to generate an 8-bit checksum, since the ANC Insertion hardware ignores this field and (for SMPTE-291 Anc packets) generates and inserts its own "proper" 9-bit SMPTE-291 checksum. More...
|
|
virtual AJAStatus | SetDataLocation (const AJAAncDataLoc &inLoc) |
| Sets my ancillary data "location" within the video stream. More...
|
|
virtual AJAStatus | SetLocationVideoLink (const AJAAncDataLink inLink) |
| Sets my ancillary data "location" within the video stream. More...
|
|
virtual AJAStatus | SetLocationDataStream (const AJAAncDataStream inStream) |
| Sets my ancillary data "location" data stream value (DS1,DS2...). More...
|
|
virtual AJAStatus | SetLocationDataChannel (const AJAAncDataChannel inChannel) |
| Sets my ancillary data "location" data channel value (Y or C). More...
|
|
virtual AJAStatus | SetLocationLineNumber (const uint16_t inLineNum) |
| Sets my ancillary data "location" frame line number. More...
|
|
virtual AJAStatus | SetLocationHorizOffset (const uint16_t inOffset) |
| Sets my ancillary data "location" horizontal offset. More...
|
|
virtual AJAStatus | SetDataCoding (const AJAAncDataCoding inCodingType) |
| Sets my ancillary data coding type (e.g. digital or analog/raw waveform). More...
|
|
virtual AJAAncillaryData & | SetFrameID (const uint32_t inFrameID) |
| Sets my originating frame identifier. More...
|
|
virtual AJAAncillaryData & | SetBufferFormat (const AJAAncBufferFormat inFmt) |
| Sets my originating buffer format. More...
|
|
virtual uint8_t | GetPayloadByteAtIndex (const uint32_t inIndex0) const |
|
virtual const uint8_t * | GetPayloadData (void) const |
|
virtual AJAStatus | GetPayloadData (uint8_t *pBuffer, const uint32_t inByteCapacity) const |
| Copies my payload data into an external buffer. More...
|
|
virtual AJAStatus | GetPayloadData (UWordSequence &outUDWs, const bool inAddParity=true) const |
| Appends my payload data onto the given UDW vector as 10-bit User Data Words (UDWs), adding parity as needed. More...
|
|
virtual AJAStatus | SetPayloadByteAtIndex (const uint8_t inDataByte, const uint32_t inIndex0) |
|
virtual AJAStatus | SetPayloadData (const uint8_t *pInData, const uint32_t inByteCount) |
| Copy data from external memory into my local payload memory. More...
|
|
virtual AJAStatus | AppendPayloadData (const uint8_t *pInBuffer, const uint32_t inByteCount) |
| Appends data from an external buffer onto the end of my existing payload. More...
|
|
virtual AJAStatus | AppendPayload (const AJAAncillaryData &inAncData) |
| Appends payload data from another AJAAncillaryData object to my existing payload. More...
|
|
virtual AJAStatus | AppendPayload (const AJAAncillaryData *pInAncData) |
|
virtual AJAStatus | SetFromSMPTE334 (const uint16_t *pInData, const uint32_t inNumWords, const AJAAncDataLoc &inLocInfo) |
| Copies payload data from an external 16-bit source into local payload memory. More...
|
|
virtual AJAStatus | ParsePayloadData (void) |
| Parses (interprets) the "local" ancillary data from my payload data. More...
|
|
virtual bool | GotValidReceiveData (void) const |
|
virtual AJAStatus | GeneratePayloadData (void) |
| Generates the payload data from the "local" ancillary data. More...
|
|
virtual AJAStatus | InitWithReceivedData (const uint8_t *pInData, const size_t inMaxBytes, const AJAAncDataLoc &inLocationInfo, uint32_t &outPacketByteCount) |
| Initializes me from "raw" ancillary data received from hardware (ingest) – see SDI Anc Buffer Data Format. More...
|
|
virtual AJAStatus | InitAuxWithReceivedData (const uint8_t *pInData, const size_t inMaxBytes, uint32_t &outPacketByteCount) |
| Initializes me from "raw" ancillary data received from hardware (ingest) – see SDI Anc Buffer Data Format. More...
|
|
virtual AJAStatus | InitWithReceivedData (const std::vector< uint8_t > &inData, const AJAAncDataLoc &inLocationInfo) |
| Initializes me from "raw" ancillary data received from hardware (ingest) – see SDI Anc Buffer Data Format. More...
|
|
virtual AJAStatus | InitWithReceivedData (const ULWordSequence &inData, uint16_t &inOutStartIndex, const bool inIgnoreChecksum=false) |
| Initializes me from the given 32-bit IP packet words received from hardware (ingest). More...
|
|
virtual AJAStatus | GetRawPacketSize (uint32_t &outPacketSize) const |
| Returns the number of "raw" ancillary data bytes that will be generated by AJAAncillaryData::GenerateTransmitData (for playback mode). More...
|
|
virtual AJAStatus | GenerateTransmitData (uint8_t *pBuffer, const size_t inMaxBytes, uint32_t &outPacketSize) |
| Generates "raw" ancillary data from my internal ancillary data (playback) – see SDI Anc Buffer Data Format. More...
|
|
virtual AJAStatus | GenerateTransmitData (UWordSequence &outData) |
| Generates "raw" 10-bit ancillary packet component data from my internal ancillary data (playback). More...
|
|
virtual AJAStatus | GenerateTransmitData (ULWordSequence &outData) |
| Generates the 32-bit IP packet words necessary for constructing an outgoing IP/RTP stream. More...
|
|
virtual std::ostream & | DumpPayload (std::ostream &inOutStream) const |
| Dumps a human-readable representation of my payload bytes into the given output stream. More...
|
|
virtual std::string | CompareWithInfo (const AJAAncillaryData &inRHS, const bool inIgnoreLocation=true, const bool inIgnoreChecksum=true) const |
| Compares me with another packet and returns a string that describes what's different. More...
|
|
virtual std::string | IDAsString (void) const |
|
virtual std::string | AsString (const uint16_t inDumpMaxBytes=0) const |
|
This is the base class for handling CEA-608 caption data packets.
Definition at line 18 of file ancillarydata_cea608.h.