AJA NTV2 SDK  17.1.1.1245
NTV2 SDK 17.1.1.1245
ntv2formatdescriptor.cpp File Reference

Implementation of the NTV2FormatDescriptor class. More...

#include "ntv2formatdescriptor.h"
#include "ntv2utils.h"
#include <sstream>
#include <iomanip>
Include dependency graph for ntv2formatdescriptor.cpp:

Go to the source code of this file.

Macros

#define AJA_FD_BEGIN   NTV2FormatDescriptor (
 
#define AJA_FD_END   0)
 
#define AJA_FD_NOTSUPPORTED   NTV2FormatDescriptor ()
 
#define AJA_FD_TBD   NTV2FormatDescriptor ()
 
#define AsConstUBytePtr(_x_)   reinterpret_cast<const UByte*>(_x_)
 
#define AsUBytePtr(_x_)   reinterpret_cast<UByte*>(_x_)
 

Functions

ostream & NTV2PrintRasterLineOffsets (const NTV2RasterLineOffsets &inObj, ostream &inOutStream)
 

Variables

static const string gPlaneLabels [NTV2_FBF_NUMFRAMEBUFFERFORMATS][4]
 
static const uint8_t gBitsPerComponent [NTV2_FBF_NUMFRAMEBUFFERFORMATS][3]
 
const static NTV2FormatDescriptor formatDescriptorTable [NTV2_NUM_STANDARDS][NTV2_FBF_NUMFRAMEBUFFERFORMATS]
 
static const ULWord LineNumbersF1 [] = { 21, 26, 21, 23, 42, 211, 42, 21, 42, 42, 42, 42, 42, 42, 0 }
 
static const ULWord LineNumbersF2 [] = { 584, 27, 283, 336, 43, 1201, 43, 584, 43, 43, 43, 43, 43, 43, 0 }
 
static const ULWord LineNumbersF1t [] = { 5, 6, 10, 12, 10, 211, 10, 5, 10, 10, 10, 10, 10, 10, 0 }
 
static const ULWord LineNumbersF2t [] = { 568, 7, 272, 325, 11, 1201, 11, 568, 11, 11, 11, 11, 11, 11, 0 }
 
static const ULWord LineNumbersF1tt [] = { 4, 6, 7, 5, 8, 211, 8, 4, 8, 8, 8, 8, 8, 8, 0 }
 
static const ULWord LineNumbersF2tt [] = { 567, 7, 269, 318, 9, 1201, 9, 567, 9, 9, 9, 9, 9, 9, 0 }
 
static const ULWord LineNumbersF1Last [] = { 560, 745, 263, 310, 1121, 0, 1121, 0, 2201, 2201, 2201, 2201, 4361, 4361, 0 }
 
static const ULWord LineNumbersF2Last [] = { 1123, 745, 525, 623, 1121, 0, 1121, 0, 0, 0, 0, 0, 0, 0, 0 }
 

Detailed Description

Implementation of the NTV2FormatDescriptor class.

Definition in file ntv2formatdescriptor.cpp.

Macro Definition Documentation

◆ AJA_FD_BEGIN

#define AJA_FD_BEGIN   NTV2FormatDescriptor (

Definition at line 19 of file ntv2formatdescriptor.cpp.

◆ AJA_FD_END

#define AJA_FD_END   0)

Definition at line 20 of file ntv2formatdescriptor.cpp.

◆ AJA_FD_NOTSUPPORTED

#define AJA_FD_NOTSUPPORTED   NTV2FormatDescriptor ()

Definition at line 21 of file ntv2formatdescriptor.cpp.

◆ AJA_FD_TBD

#define AJA_FD_TBD   NTV2FormatDescriptor ()

Definition at line 22 of file ntv2formatdescriptor.cpp.

◆ AsConstUBytePtr

#define AsConstUBytePtr (   _x_)    reinterpret_cast<const UByte*>(_x_)

Definition at line 24 of file ntv2formatdescriptor.cpp.

◆ AsUBytePtr

#define AsUBytePtr (   _x_)    reinterpret_cast<UByte*>(_x_)

Definition at line 25 of file ntv2formatdescriptor.cpp.

Function Documentation

◆ NTV2PrintRasterLineOffsets()

ostream& NTV2PrintRasterLineOffsets ( const NTV2RasterLineOffsets inObj,
ostream &  inOutStream 
)

Definition at line 1308 of file ntv2formatdescriptor.cpp.

Variable Documentation

◆ formatDescriptorTable

const static NTV2FormatDescriptor formatDescriptorTable[NTV2_NUM_STANDARDS][NTV2_FBF_NUMFRAMEBUFFERFORMATS]
static

Definition at line 102 of file ntv2formatdescriptor.cpp.

◆ gBitsPerComponent

const uint8_t gBitsPerComponent[NTV2_FBF_NUMFRAMEBUFFERFORMATS][3]
static

Definition at line 65 of file ntv2formatdescriptor.cpp.

◆ gPlaneLabels

const string gPlaneLabels[NTV2_FBF_NUMFRAMEBUFFERFORMATS][4]
static

Definition at line 28 of file ntv2formatdescriptor.cpp.

◆ LineNumbersF1

const ULWord LineNumbersF1[] = { 21, 26, 21, 23, 42, 211, 42, 21, 42, 42, 42, 42, 42, 42, 0 }
static

Definition at line 1155 of file ntv2formatdescriptor.cpp.

◆ LineNumbersF1Last

const ULWord LineNumbersF1Last[] = { 560, 745, 263, 310, 1121, 0, 1121, 0, 2201, 2201, 2201, 2201, 4361, 4361, 0 }
static

Definition at line 1164 of file ntv2formatdescriptor.cpp.

◆ LineNumbersF1t

const ULWord LineNumbersF1t[] = { 5, 6, 10, 12, 10, 211, 10, 5, 10, 10, 10, 10, 10, 10, 0 }
static

Definition at line 1158 of file ntv2formatdescriptor.cpp.

◆ LineNumbersF1tt

const ULWord LineNumbersF1tt[] = { 4, 6, 7, 5, 8, 211, 8, 4, 8, 8, 8, 8, 8, 8, 0 }
static

Definition at line 1161 of file ntv2formatdescriptor.cpp.

◆ LineNumbersF2

const ULWord LineNumbersF2[] = { 584, 27, 283, 336, 43, 1201, 43, 584, 43, 43, 43, 43, 43, 43, 0 }
static

Definition at line 1156 of file ntv2formatdescriptor.cpp.

◆ LineNumbersF2Last

const ULWord LineNumbersF2Last[] = { 1123, 745, 525, 623, 1121, 0, 1121, 0, 0, 0, 0, 0, 0, 0, 0 }
static

Definition at line 1165 of file ntv2formatdescriptor.cpp.

◆ LineNumbersF2t

const ULWord LineNumbersF2t[] = { 568, 7, 272, 325, 11, 1201, 11, 568, 11, 11, 11, 11, 11, 11, 0 }
static

Definition at line 1159 of file ntv2formatdescriptor.cpp.

◆ LineNumbersF2tt

const ULWord LineNumbersF2tt[] = { 567, 7, 269, 318, 9, 1201, 9, 567, 9, 9, 9, 9, 9, 9, 0 }
static

Definition at line 1162 of file ntv2formatdescriptor.cpp.