AJA NTV2 SDK  17.0.1.1246
NTV2 SDK 17.0.1.1246
ntv2ccgrabber.cpp File Reference

Implementation of NTV2CCGrabber class. More...

#include "ntv2ccgrabber.h"
#include "ntv2captionrenderer.h"
#include "ntv2line21captioner.h"
#include "ajaanc/includes/ancillarylist.h"
#include "ajaanc/includes/ancillarydata_cea608_line21.h"
#include "ajaanc/includes/ancillarydata_cea608_vanc.h"
#include "ajaanc/includes/ancillarydata_cea708.h"
#include "ntv2debug.h"
#include "ntv2transcode.h"
#include "ajabase/common/types.h"
#include "ajabase/system/memory.h"
#include <iostream>
#include <iomanip>
#include <utility>
#include <algorithm>
#include <iterator>
Include dependency graph for ntv2ccgrabber.cpp:

Go to the source code of this file.

Macros

#define AsConstUBytePtr(__p__)   reinterpret_cast<const UByte*>(__p__)
 
#define AsConstULWordPtr(__p__)   reinterpret_cast<const ULWord*>(__p__)
 
#define AsULWordPtr(__p__)   reinterpret_cast<ULWord*>(__p__)
 
#define AsUBytePtr(__p__)   reinterpret_cast<UByte*>(__p__)
 

Functions

static const ULWord kAppSignature ((((uint32_t)( 'C'))<< 24)|(((uint32_t)( 'C'))<< 16)|(((uint32_t)( 'G'))<< 8)|(((uint32_t)( 'R'))<< 0))
 
static const uint32_t MAX_ACCUM_FRAME_COUNT (30)
 
std::ostream & operator<< (std::ostream &ioStrm, const CCGrabberConfig &inObj)
 

Variables

static const NTV2Line21Attributes kRedOnTransparentBG (NTV2_CC608_Red, NTV2_CC608_Blue, NTV2_CC608_Transparent)
 
static const NTV2Line21Attributes kGreenOnTransparentBG (NTV2_CC608_Green, NTV2_CC608_Blue, NTV2_CC608_Transparent)
 
static const NTV2WidgetID gSDIOutputs []
 
static const NTV2WidgetID g3GSDIOutputs []
 
static const UWord gMixerNums [] = {0, 0, 1, 1, 2, 2, 3, 3}
 

Detailed Description

Implementation of NTV2CCGrabber class.

Definition in file ntv2ccgrabber.cpp.

Macro Definition Documentation

◆ AsConstUBytePtr

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

Definition at line 28 of file ntv2ccgrabber.cpp.

◆ AsConstULWordPtr

#define AsConstULWordPtr (   __p__)    reinterpret_cast<const ULWord*>(__p__)

Definition at line 29 of file ntv2ccgrabber.cpp.

◆ AsUBytePtr

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

Definition at line 31 of file ntv2ccgrabber.cpp.

◆ AsULWordPtr

#define AsULWordPtr (   __p__)    reinterpret_cast<ULWord*>(__p__)

Definition at line 30 of file ntv2ccgrabber.cpp.

Function Documentation

◆ kAppSignature()

static const ULWord kAppSignature ( (((uint32_t)('C'))<< 24)|(((uint32_t)('C'))<< 16)|(((uint32_t)('G'))<< 8)|(((uint32_t)('R'))<< 0)  )
static

◆ MAX_ACCUM_FRAME_COUNT()

static const uint32_t MAX_ACCUM_FRAME_COUNT ( 30  )
static

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ioStrm,
const CCGrabberConfig inObj 
)

Definition at line 1694 of file ntv2ccgrabber.cpp.

Variable Documentation

◆ g3GSDIOutputs

◆ gMixerNums

const UWord gMixerNums[] = {0, 0, 1, 1, 2, 2, 3, 3}
static

Definition at line 1288 of file ntv2ccgrabber.cpp.

◆ gSDIOutputs

◆ kGreenOnTransparentBG

◆ kRedOnTransparentBG

NTV2_WgtSDIOut2
@ NTV2_WgtSDIOut2
Definition: ntv2enums.h:2861
NTV2_Wgt3GSDIOut3
@ NTV2_Wgt3GSDIOut3
Definition: ntv2enums.h:2866
NTV2_Wgt3GSDIOut7
@ NTV2_Wgt3GSDIOut7
Definition: ntv2enums.h:2915
NTV2_WgtSDIOut4
@ NTV2_WgtSDIOut4
Definition: ntv2enums.h:2863
NTV2_Wgt3GSDIOut1
@ NTV2_Wgt3GSDIOut1
Definition: ntv2enums.h:2864
NTV2_Wgt3GSDIOut8
@ NTV2_Wgt3GSDIOut8
Definition: ntv2enums.h:2916
NTV2_Wgt3GSDIOut5
@ NTV2_Wgt3GSDIOut5
Definition: ntv2enums.h:2913
NTV2_WgtSDIOut1
@ NTV2_WgtSDIOut1
Definition: ntv2enums.h:2860
NTV2_Wgt3GSDIOut2
@ NTV2_Wgt3GSDIOut2
Definition: ntv2enums.h:2865
NTV2_Wgt3GSDIOut4
@ NTV2_Wgt3GSDIOut4
Definition: ntv2enums.h:2867
NTV2_Wgt3GSDIOut6
@ NTV2_Wgt3GSDIOut6
Definition: ntv2enums.h:2914
NTV2_WgtSDIOut3
@ NTV2_WgtSDIOut3
Definition: ntv2enums.h:2862