|
AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Go to the documentation of this file.
15 #define AJAAncillaryData_FrameStatusInfo5251_PayloadSize 0x08
60 m_IsRecording =
false;
61 m_IsValidFrame =
true;
81 m_IsRecording = rhs.m_IsRecording;
82 m_IsValidFrame = rhs.m_IsValidFrame;
100 m_IsRecording = (((
m_payload[0] & 0x60) == 0x20) ?
true :
false);
105 m_IsValidFrame = (((
m_payload[0] & 0x80) == 0x00) ?
true :
false);
127 <<
"Recording: " << (m_IsRecording ?
"Active" :
"Inactive");
#define AJAAncillaryData_FrameStatusInfo5251_PayloadSize
virtual AJAAncillaryData_FrameStatusInfo5251 & operator=(const AJAAncillaryData_FrameStatusInfo5251 &inRHS)
Assignment operator – replaces my contents with the right-hand-side value.
uint8_t m_DID
Official SMPTE ancillary packet ID (w/o parity)
@ AJAAncDataType_Unknown
Includes data that is valid, but we don't recognize.
Declares the AJAAncillaryData_FrameStatusInfo5251 class.
virtual void Clear(void)
Frees my allocated memory, if any, and resets my members to their default values.
AJAAncDataType
Identifies the ancillary data types that are known to this module.
static AJAAncDataType RecognizeThisAncillaryData(const AJAAncillaryData *pInAncData)
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.
virtual std::ostream & Print(std::ostream &inOutStream, const bool inDetailed=false) const
Streams a human-readable representation of me to the given output stream.
I am the principal class that stores a single SMPTE-291 SDI ancillary data packet OR the digitized co...
virtual ~AJAAncillaryData_FrameStatusInfo5251()
My destructor.
const uint8_t AJAAncillaryData_FrameStatusInfo5251_DID
AJAAncDataCoding m_coding
Analog or digital data.
bool m_rcvDataValid
This is set true (or not) by ParsePayloadData()
uint8_t m_SID
Official SMPTE secondary ID (or DBN - w/o parity)
@ AJAAncDataType_FrameStatusInfo5251
Frame Status Information, such as Active Frame flag.
ByteVector m_payload
My payload data (DC = size)
virtual void Clear(void)
Frees my allocated memory, if any, and resets my members to their default values.
AJAAncillaryData & operator=(const AJAAncillaryData &inRHS)
@ AJAAncDataCoding_Digital
The ancillary data is in the form of a SMPTE-291 Ancillary Packet.
AJAAncDataType m_ancType
One of a known set of ancillary data types (or "Custom" if not identified)
AJAAncillaryData_FrameStatusInfo5251()
My default constructor.
const uint8_t AJAAncillaryData_FrameStatusInfo5251_SID
virtual AJAStatus ParsePayloadData(void)
Parses out (interprets) the "local" ancillary data from my payload data.