AJA NTV2 SDK
17.0.1.1246
NTV2 SDK 17.0.1.1246
|
Implementation of the AJAAncillaryData class. More...
#include "ntv2publicinterface.h"
#include "ancillarydata.h"
#include "ajabase/system/debug.h"
#include "ajabase/system/atomic.h"
#include <ios>
Go to the source code of this file.
Functions | |
const size_t | sENDL (1) |
static uint32_t | ENDIAN_32NtoH (const uint32_t inValue) |
static uint32_t | ENDIAN_32HtoN (const uint32_t inValue) |
const string & | AJAAncDataLinkToString (const AJAAncDataLink inValue, const bool inCompact) |
const string & | AJAAncDataStreamToString (const AJAAncDataStream inValue, const bool inCompact) |
const string & | AJAAncDataChannelToString (const AJAAncDataChannel inValue, const bool inCompact) |
const string & | AJAAncDataSpaceToString (const AJAAncDataSpace inValue, const bool inCompact) |
string | AJAAncLineNumberToString (const uint16_t inValue) |
string | AJAAncHorizOffsetToString (const uint16_t inValue) |
string | AJAAncDataLocToString (const AJAAncDataLoc &inValue, const bool inCompact) |
ostream & | operator<< (ostream &inOutStream, const AJAAncDataLoc &inValue) |
const string & | AJAAncDataCodingToString (const AJAAncDataCoding inValue, const bool inCompact) |
const string & | AJAAncBufferFormatToString (const AJAAncBufferFormat inValue, const bool inCompact) |
const string & | AJAAncDataTypeToString (const AJAAncDataType inValue, const bool inCompact) |
ostream & | operator<< (ostream &inOutStream, const AJAAncDIDSIDPair &inData) |
string | AncChannelSearchSelectToString (const AncChannelSearchSelect inSelect, const bool inCompact) |
static bool | CheckAncParityAndChecksum (const AJAAncillaryData::U16Packet &inYUV16Line, const uint16_t inStartIndex, const uint16_t inTotalCount, const uint16_t inIncrement=2) |
Variables | |
const uint32_t | AJAAncillaryDataWrapperSize = 7 |
static const size_t | gIndexes [] = { 0,1,2,3, 3,4,5,6, 6,7,8,9, 9,10,11,12, 12,13,14,15 } |
static const unsigned | gShifts [] = { 22,12,2,8, 24,14,4,6, 26,16,6,4, 28,18,8,2, 30,20,10,0 } |
static const uint32_t | gMasks [] |
static const string | gEmptyString |
Implementation of the AJAAncillaryData class.
Definition in file ancillarydata.cpp.
#define AJA_ENDIAN_16HtoN | ( | __val__ | ) | AJA_ENDIAN_SWAP16(__val__) |
Definition at line 63 of file ancillarydata.cpp.
#define AJA_ENDIAN_16NtoH | ( | __val__ | ) | AJA_ENDIAN_SWAP16(__val__) |
Definition at line 62 of file ancillarydata.cpp.
#define AJA_ENDIAN_32HtoN | ( | __val__ | ) | AJA_ENDIAN_SWAP32(__val__) |
Definition at line 65 of file ancillarydata.cpp.
#define AJA_ENDIAN_32NtoH | ( | __val__ | ) | AJA_ENDIAN_SWAP32(__val__) |
Definition at line 64 of file ancillarydata.cpp.
#define AJA_ENDIAN_64HtoN | ( | __val__ | ) | AJA_ENDIAN_SWAP64(__val__) |
Definition at line 67 of file ancillarydata.cpp.
#define AJA_ENDIAN_64NtoH | ( | __val__ | ) | AJA_ENDIAN_SWAP64(__val__) |
Definition at line 66 of file ancillarydata.cpp.
#define LOGMYDEBUG | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_AJAAncData, AJA_DebugSeverity_Debug, AJAFUNC << ": " << __x__) |
Definition at line 24 of file ancillarydata.cpp.
#define LOGMYERROR | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_AJAAncData, AJA_DebugSeverity_Error, AJAFUNC << ": " << __x__) |
Definition at line 20 of file ancillarydata.cpp.
#define LOGMYINFO | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_AJAAncData, AJA_DebugSeverity_Info, AJAFUNC << ": " << __x__) |
Definition at line 23 of file ancillarydata.cpp.
#define LOGMYNOTE | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_AJAAncData, AJA_DebugSeverity_Notice, AJAFUNC << ": " << __x__) |
Definition at line 22 of file ancillarydata.cpp.
#define LOGMYWARN | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_AJAAncData, AJA_DebugSeverity_Warning, AJAFUNC << ": " << __x__) |
Definition at line 21 of file ancillarydata.cpp.
#define RCV2110DBG | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_Anc2110Rcv, AJA_DebugSeverity_Debug, AJAFUNC << ": " << __x__) |
Definition at line 30 of file ancillarydata.cpp.
#define RCV2110DDBG | ( | __x__ | ) |
Definition at line 48 of file ancillarydata.cpp.
#define RCV2110ERR | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_Anc2110Rcv, AJA_DebugSeverity_Error, AJAFUNC << ": " << __x__) |
Definition at line 26 of file ancillarydata.cpp.
#define RCV2110INFO | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_Anc2110Rcv, AJA_DebugSeverity_Info, AJAFUNC << ": " << __x__) |
Definition at line 29 of file ancillarydata.cpp.
#define RCV2110NOTE | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_Anc2110Rcv, AJA_DebugSeverity_Notice, AJAFUNC << ": " << __x__) |
Definition at line 28 of file ancillarydata.cpp.
#define RCV2110WARN | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_Anc2110Rcv, AJA_DebugSeverity_Warning, AJAFUNC << ": " << __x__) |
Definition at line 27 of file ancillarydata.cpp.
#define XMT2110DBG | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_Anc2110Xmit, AJA_DebugSeverity_Debug, AJAFUNC << ": " << __x__) |
Definition at line 36 of file ancillarydata.cpp.
#define XMT2110DDBG | ( | __x__ | ) |
Definition at line 49 of file ancillarydata.cpp.
#define XMT2110ERR | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_Anc2110Xmit, AJA_DebugSeverity_Error, AJAFUNC << ": " << __x__) |
Definition at line 32 of file ancillarydata.cpp.
#define XMT2110INFO | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_Anc2110Xmit, AJA_DebugSeverity_Info, AJAFUNC << ": " << __x__) |
Definition at line 35 of file ancillarydata.cpp.
#define XMT2110NOTE | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_Anc2110Xmit, AJA_DebugSeverity_Notice, AJAFUNC << ": " << __x__) |
Definition at line 34 of file ancillarydata.cpp.
#define XMT2110WARN | ( | __x__ | ) | AJA_sREPORT(AJA_DebugUnit_Anc2110Xmit, AJA_DebugSeverity_Warning, AJAFUNC << ": " << __x__) |
Definition at line 33 of file ancillarydata.cpp.
const string& AJAAncBufferFormatToString | ( | const AJAAncBufferFormat | inValue, |
const bool | inCompact = true |
||
) |
[in] | inValue | Specifies the AJAAncBufferFormat to be converted. |
[in] | inCompact | If true (the default), returns the compact representation; otherwise use the longer symbolic format. |
Definition at line 1279 of file ancillarydata.cpp.
const string& AJAAncDataChannelToString | ( | const AJAAncDataChannel | inValue, |
const bool | inCompact = true |
||
) |
[in] | inValue | Specifies the AJAAncDataChannel value to be converted. |
[in] | inCompact | If true (the default), returns the compact representation; otherwise use the longer symbolic format. |
Definition at line 1151 of file ancillarydata.cpp.
const string& AJAAncDataCodingToString | ( | const AJAAncDataCoding | inValue, |
const bool | inCompact = true |
||
) |
[in] | inValue | Specifies the AJAAncDataCoding to be converted. |
[in] | inCompact | If true (the default), returns the compact representation; otherwise use the longer symbolic format. |
Definition at line 1270 of file ancillarydata.cpp.
const string& AJAAncDataLinkToString | ( | const AJAAncDataLink | inValue, |
const bool | inCompact = true |
||
) |
[in] | inValue | Specifies the AJAAncDataLink value to be converted. |
[in] | inCompact | If true (the default), returns the compact representation; otherwise use the longer symbolic format. |
Definition at line 1132 of file ancillarydata.cpp.
string AJAAncDataLocToString | ( | const AJAAncDataLoc & | inValue, |
const bool | inCompact = true |
||
) |
[in] | inValue | Specifies the AJAAncDataLoc to be converted. |
[in] | inCompact | If true (the default), returns the compact representation; otherwise use the longer symbolic format. |
Definition at line 1257 of file ancillarydata.cpp.
const string& AJAAncDataSpaceToString | ( | const AJAAncDataSpace | inValue, |
const bool | inCompact = true |
||
) |
[in] | inValue | Specifies the AJAAncDataSpace value to be converted. |
[in] | inCompact | If true (the default), returns the compact representation; otherwise use the longer symbolic format. |
Definition at line 1160 of file ancillarydata.cpp.
const string& AJAAncDataStreamToString | ( | const AJAAncDataStream | inValue, |
const bool | inCompact = true |
||
) |
[in] | inValue | Specifies the AJAAncDataStream value to be converted. |
[in] | inCompact | If true (the default), returns the compact representation; otherwise use the longer symbolic format. |
Definition at line 1141 of file ancillarydata.cpp.
const string& AJAAncDataTypeToString | ( | const AJAAncDataType | inValue, |
const bool | inCompact = true |
||
) |
[in] | inValue | Specifies the AJAAncDataType value to be converted. |
[in] | inCompact | If true (the default), returns the compact representation; otherwise use the longer symbolic format. |
Definition at line 1289 of file ancillarydata.cpp.
string AJAAncHorizOffsetToString | ( | const uint16_t | inValue | ) |
[in] | inValue | Specifies the horizontal offset location value to be converted. |
Definition at line 1186 of file ancillarydata.cpp.
string AJAAncLineNumberToString | ( | const uint16_t | inValue | ) |
Definition at line 1169 of file ancillarydata.cpp.
string AncChannelSearchSelectToString | ( | const AncChannelSearchSelect | inSelect, |
const bool | inCompact = true |
||
) |
[in] | inSelect | Specifies the AncChannelSearchSelect value to be converted. |
[in] | inCompact | If true (the default), returns the compact representation; otherwise returns the longer symbolic format. |
Definition at line 1533 of file ancillarydata.cpp.
|
static |
Definition at line 1546 of file ancillarydata.cpp.
|
inlinestatic |
Definition at line 72 of file ancillarydata.cpp.
|
inlinestatic |
Definition at line 71 of file ancillarydata.cpp.
ostream& operator<< | ( | ostream & | inOutStream, |
const AJAAncDataLoc & | inValue | ||
) |
Definition at line 1264 of file ancillarydata.cpp.
ostream& operator<< | ( | ostream & | inOutStream, |
const AJAAncDIDSIDPair & | inData | ||
) |
Definition at line 1363 of file ancillarydata.cpp.
const size_t sENDL | ( | 1 | ) |
const uint32_t AJAAncillaryDataWrapperSize = 7 |
Definition at line 75 of file ancillarydata.cpp.
|
static |
Definition at line 1129 of file ancillarydata.cpp.
|
static |
Definition at line 822 of file ancillarydata.cpp.
|
static |
Definition at line 824 of file ancillarydata.cpp.
|
static |
Definition at line 823 of file ancillarydata.cpp.