AJA NTV2 SDK  17.1.1.1245
NTV2 SDK 17.1.1.1245
ntv2smpteancdata.h File Reference

Declares the CNTV2SMPTEAncData class. More...

#include "ntv2utils.h"
#include "ntv2formatdescriptor.h"
#include <vector>
#include <iostream>
Include dependency graph for ntv2smpteancdata.h:

Go to the source code of this file.

Classes

struct  NTV2_SMPTEAncHeader
 
struct  NTV2_SMPTEAncFooter
 
class  CNTV2SMPTEAncData
 

Typedefs

typedef struct NTV2_SMPTEAncHeader NTV2_SMPTEAncHeader
 
typedef struct NTV2_SMPTEAncHeaderNTV2_SMPTEAncHeaderPtr
 
typedef struct NTV2_SMPTEAncFooter NTV2_SMPTEAncFooter
 
typedef struct NTV2_SMPTEAncFooterNTV2_SMPTEAncFooterPtr
 
typedef enum NTV2_SMPTEAncChannelSelect NTV2_SMPTEAncChannelSelect
 
typedef UWordSequence UWordVANCPacket
 A UWordVANCPacket is identical to a UWordSequence. More...
 
typedef std::vector< UWordVANCPacketUWordVANCPacketList
 An ordered sequence of zero or more UWordVANCPacket elements. More...
 
typedef UWordVANCPacketList::const_iterator UWordVANCPacketListConstIter
 
typedef UWordVANCPacketList::iterator UWordVANCPacketListIter
 

Enumerations

enum  NTV2_SMPTEAncChannelSelect { kNTV2SMPTEAncChannel_Y, kNTV2SMPTEAncChannel_C, kNTV2SMPTEAncChannel_Both }
 

Functions

std::string NTV2SMPTEAncChannelSelectToString (const NTV2_SMPTEAncChannelSelect inChanSelect, const bool inCompactForm=true)
 
std::ostream & operator<< (std::ostream &inOutStream, const UWordVANCPacketList &inData)
 

Variables

const typedef UByteUByteConstPtr
 
const UByte NTV2_SMPTEAncRP334DID = 0x61
 
const UByte NTV2_SMPTEAncRP334SDID = 0x01
 
const UWord NTV2_WildCardDID = 0x2FF
 
const UWord NTV2_WildCardSDID = 0x2FF
 
const UWord kAncHeaderSize = sizeof (NTV2_SMPTEAncHeader) / sizeof (UWord)
 
const UWord kAncFooterSize = sizeof (NTV2_SMPTEAncFooter) / sizeof (UWord)
 
const ULWord kMaxAncPacketSize = kAncHeaderSize + 255 + kAncFooterSize
 

Detailed Description

Declares the CNTV2SMPTEAncData class.

Definition in file ntv2smpteancdata.h.

Typedef Documentation

◆ NTV2_SMPTEAncChannelSelect

◆ NTV2_SMPTEAncFooter

◆ NTV2_SMPTEAncFooterPtr

◆ NTV2_SMPTEAncHeader

◆ NTV2_SMPTEAncHeaderPtr

◆ UWordVANCPacket

A UWordVANCPacket is identical to a UWordSequence.

Definition at line 87 of file ntv2smpteancdata.h.

◆ UWordVANCPacketList

typedef std::vector<UWordVANCPacket> UWordVANCPacketList

An ordered sequence of zero or more UWordVANCPacket elements.

Definition at line 92 of file ntv2smpteancdata.h.

◆ UWordVANCPacketListConstIter

typedef UWordVANCPacketList::const_iterator UWordVANCPacketListConstIter

Definition at line 93 of file ntv2smpteancdata.h.

◆ UWordVANCPacketListIter

typedef UWordVANCPacketList::iterator UWordVANCPacketListIter

Definition at line 94 of file ntv2smpteancdata.h.

Enumeration Type Documentation

◆ NTV2_SMPTEAncChannelSelect

Enumerator
kNTV2SMPTEAncChannel_Y 
kNTV2SMPTEAncChannel_C 

Only look in luma samples.

kNTV2SMPTEAncChannel_Both 

Only look in chroma samples.

Look both luma and chroma samples

Definition at line 70 of file ntv2smpteancdata.h.

Function Documentation

◆ NTV2SMPTEAncChannelSelectToString()

std::string NTV2SMPTEAncChannelSelectToString ( const NTV2_SMPTEAncChannelSelect  inChanSelect,
const bool  inCompactForm = true 
)

◆ operator<<()

std::ostream& operator<< ( std::ostream &  inOutStream,
const UWordVANCPacketList inData 
)

Variable Documentation

◆ kAncFooterSize

const UWord kAncFooterSize = sizeof (NTV2_SMPTEAncFooter) / sizeof (UWord)

Definition at line 65 of file ntv2smpteancdata.h.

◆ kAncHeaderSize

const UWord kAncHeaderSize = sizeof (NTV2_SMPTEAncHeader) / sizeof (UWord)

Definition at line 55 of file ntv2smpteancdata.h.

◆ kMaxAncPacketSize

const ULWord kMaxAncPacketSize = kAncHeaderSize + 255 + kAncFooterSize

Definition at line 66 of file ntv2smpteancdata.h.

◆ NTV2_SMPTEAncRP334DID

const UByte NTV2_SMPTEAncRP334DID = 0x61

Definition at line 20 of file ntv2smpteancdata.h.

◆ NTV2_SMPTEAncRP334SDID

const UByte NTV2_SMPTEAncRP334SDID = 0x01

Definition at line 21 of file ntv2smpteancdata.h.

◆ NTV2_WildCardDID

const UWord NTV2_WildCardDID = 0x2FF

Definition at line 22 of file ntv2smpteancdata.h.

◆ NTV2_WildCardSDID

const UWord NTV2_WildCardSDID = 0x2FF

Definition at line 23 of file ntv2smpteancdata.h.

◆ UByteConstPtr

const typedef UByte* UByteConstPtr

Definition at line 82 of file ntv2smpteancdata.h.