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

Implementations of HDMI aux-centric CNTV2Card methods. More...

#include "ntv2card.h"
#include "ntv2devicefeatures.h"
#include "ntv2formatdescriptor.h"
#include "ntv2utils.h"
Include dependency graph for ntv2aux.cpp:

Go to the source code of this file.

Classes

struct  AUXExtractorInitParams
 

Typedefs

typedef struct AUXExtractorInitParams AUXExtractorInitParams
 

Functions

static const ULWord kNumDIDRegisters (regAuxExtPacketMask_Last - regAuxExtPacketMask_First+1)
 
static ULWord AuxExtRegNum (const UWord inHDMIInput, const AUXExtRegisters inReg)
 
static bool GetAuxOffsets (CNTV2Card &inDevice, ULWord &outF1Offset, ULWord &outF2Offset)
 
static bool SetAuxExtProgressive (CNTV2Card &inDevice, const UWord inHDMIInput, bool bEnable)
 
static bool IsAuxExtProgressive (CNTV2DriverInterface &inDevice, const UWord inHDMIInput, bool &outIsProgressive)
 
static bool SetAuxExtFilterMode (CNTV2Card &inDevice, const UWord inHDMIInput, bool bInclude)
 
static bool IsAuxExtFilterModeInclude (CNTV2DriverInterface &inDevice, const UWord inHDMIInput, bool &outIsInclude)
 
static bool SetAuxExtSynchro (CNTV2Card &inDevice, const UWord inHDMIInput)
 
static bool GetAuxExtField1StartAddr (CNTV2Card &inDevice, const UWord inHDMIInput, uint32_t &outAddr)
 
static bool SetAuxExtField1StartAddr (CNTV2Card &inDevice, const UWord inHDMIInput, uint32_t addr)
 
static bool GetAuxExtField1EndAddr (CNTV2Card &inDevice, const UWord inHDMIInput, uint32_t &outAddr)
 
static bool SetAuxExtField1EndAddr (CNTV2Card &inDevice, const UWord inHDMIInput, uint32_t addr)
 
static bool GetAuxExtField2StartAddr (CNTV2Card &inDevice, const UWord inHDMIInput, uint32_t &outAddr)
 
static bool SetAuxExtField2StartAddr (CNTV2Card &inDevice, const UWord inHDMIInput, uint32_t addr)
 
static bool GetAuxExtField1Status (CNTV2DriverInterface &inDevice, const UWord inHDMIInput, ULWord &outF1Status)
 
static bool GetAuxExtField2Status (CNTV2DriverInterface &inDevice, const UWord inHDMIInput, ULWord &outF2Status)
 
static bool IsAuxExtOverrun (CNTV2DriverInterface &inDevice, const UWord inHDMIInput, bool &outIsOverrun)
 
static bool SetAuxExtField1StartLine (CNTV2Card &inDevice, const UWord inHDMIInput, uint32_t lineNumber)
 
static bool SetAuxExtField2StartLine (CNTV2Card &inDevice, const UWord inHDMIInput, uint32_t lineNumber)
 
static bool SetAuxExtTotalFrameLines (CNTV2Card &inDevice, const UWord inHDMIInput, uint32_t totalFrameLines)
 
static bool SetAuxExtFidLow (CNTV2Card &inDevice, const UWord inHDMIInput, uint32_t lineNumber)
 
static bool SetAuxExtFidHi (CNTV2Card &inDevice, const UWord inHDMIInput, uint32_t lineNumber)
 

Variables

static const ULWord sAuxExtBaseRegNum [] = { 7616, 7680, 7744, 7808 }
 
const static AUXExtractorInitParams extractorInitParamsTable [NTV2_NUM_STANDARDS]
 

Detailed Description

Implementations of HDMI aux-centric CNTV2Card methods.

Definition in file ntv2aux.cpp.

Typedef Documentation

◆ AUXExtractorInitParams

Function Documentation

◆ AuxExtRegNum()

static ULWord AuxExtRegNum ( const UWord  inHDMIInput,
const AUXExtRegisters  inReg 
)
inlinestatic

Definition at line 37 of file ntv2aux.cpp.

◆ GetAuxExtField1EndAddr()

static bool GetAuxExtField1EndAddr ( CNTV2Card inDevice,
const UWord  inHDMIInput,
uint32_t &  outAddr 
)
static

Definition at line 610 of file ntv2aux.cpp.

◆ GetAuxExtField1StartAddr()

static bool GetAuxExtField1StartAddr ( CNTV2Card inDevice,
const UWord  inHDMIInput,
uint32_t &  outAddr 
)
static

Definition at line 600 of file ntv2aux.cpp.

◆ GetAuxExtField1Status()

static bool GetAuxExtField1Status ( CNTV2DriverInterface inDevice,
const UWord  inHDMIInput,
ULWord outF1Status 
)
static

Definition at line 630 of file ntv2aux.cpp.

◆ GetAuxExtField2StartAddr()

static bool GetAuxExtField2StartAddr ( CNTV2Card inDevice,
const UWord  inHDMIInput,
uint32_t &  outAddr 
)
static

Definition at line 620 of file ntv2aux.cpp.

◆ GetAuxExtField2Status()

static bool GetAuxExtField2Status ( CNTV2DriverInterface inDevice,
const UWord  inHDMIInput,
ULWord outF2Status 
)
static

Definition at line 635 of file ntv2aux.cpp.

◆ GetAuxOffsets()

static bool GetAuxOffsets ( CNTV2Card inDevice,
ULWord outF1Offset,
ULWord outF2Offset 
)
static

Definition at line 135 of file ntv2aux.cpp.

◆ IsAuxExtFilterModeInclude()

static bool IsAuxExtFilterModeInclude ( CNTV2DriverInterface inDevice,
const UWord  inHDMIInput,
bool &  outIsInclude 
)
static

Definition at line 590 of file ntv2aux.cpp.

◆ IsAuxExtOverrun()

static bool IsAuxExtOverrun ( CNTV2DriverInterface inDevice,
const UWord  inHDMIInput,
bool &  outIsOverrun 
)
static

Definition at line 640 of file ntv2aux.cpp.

◆ IsAuxExtProgressive()

static bool IsAuxExtProgressive ( CNTV2DriverInterface inDevice,
const UWord  inHDMIInput,
bool &  outIsProgressive 
)
static

Definition at line 580 of file ntv2aux.cpp.

◆ kNumDIDRegisters()

static const ULWord kNumDIDRegisters ( regAuxExtPacketMask_Last - regAuxExtPacketMask_First 1)
static

◆ SetAuxExtFidHi()

static bool SetAuxExtFidHi ( CNTV2Card inDevice,
const UWord  inHDMIInput,
uint32_t  lineNumber 
)
static

Definition at line 665 of file ntv2aux.cpp.

◆ SetAuxExtFidLow()

static bool SetAuxExtFidLow ( CNTV2Card inDevice,
const UWord  inHDMIInput,
uint32_t  lineNumber 
)
static

Definition at line 660 of file ntv2aux.cpp.

◆ SetAuxExtField1EndAddr()

static bool SetAuxExtField1EndAddr ( CNTV2Card inDevice,
const UWord  inHDMIInput,
uint32_t  addr 
)
static

Definition at line 615 of file ntv2aux.cpp.

◆ SetAuxExtField1StartAddr()

static bool SetAuxExtField1StartAddr ( CNTV2Card inDevice,
const UWord  inHDMIInput,
uint32_t  addr 
)
static

Definition at line 605 of file ntv2aux.cpp.

◆ SetAuxExtField1StartLine()

static bool SetAuxExtField1StartLine ( CNTV2Card inDevice,
const UWord  inHDMIInput,
uint32_t  lineNumber 
)
static

Definition at line 645 of file ntv2aux.cpp.

◆ SetAuxExtField2StartAddr()

static bool SetAuxExtField2StartAddr ( CNTV2Card inDevice,
const UWord  inHDMIInput,
uint32_t  addr 
)
static

Definition at line 625 of file ntv2aux.cpp.

◆ SetAuxExtField2StartLine()

static bool SetAuxExtField2StartLine ( CNTV2Card inDevice,
const UWord  inHDMIInput,
uint32_t  lineNumber 
)
static

Definition at line 650 of file ntv2aux.cpp.

◆ SetAuxExtFilterMode()

static bool SetAuxExtFilterMode ( CNTV2Card inDevice,
const UWord  inHDMIInput,
bool  bInclude 
)
static

Definition at line 585 of file ntv2aux.cpp.

◆ SetAuxExtProgressive()

static bool SetAuxExtProgressive ( CNTV2Card inDevice,
const UWord  inHDMIInput,
bool  bEnable 
)
static

Definition at line 575 of file ntv2aux.cpp.

◆ SetAuxExtSynchro()

static bool SetAuxExtSynchro ( CNTV2Card inDevice,
const UWord  inHDMIInput 
)
static

Definition at line 595 of file ntv2aux.cpp.

◆ SetAuxExtTotalFrameLines()

static bool SetAuxExtTotalFrameLines ( CNTV2Card inDevice,
const UWord  inHDMIInput,
uint32_t  totalFrameLines 
)
static

Definition at line 655 of file ntv2aux.cpp.

Variable Documentation

◆ extractorInitParamsTable

const static AUXExtractorInitParams extractorInitParamsTable[NTV2_NUM_STANDARDS]
static
Initial value:
= {
{ 561, 26, 1124, 588, 1125, 1125, 563, 7, 569, 0, 0, 0, 0, 0, 0, 0x07800000 },
{ 746, 745, 0, 0, 750, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0x05000000 },
{ 264, 30, 1, 293, 525, 3, 265, 10, 273, 4, 266, 0x20000, 0x40000, 0, 0, 0x02D00000 },
{ 311, 33, 1, 346, 625, 625, 312, 6, 319, 5, 318, 0x10000, 0x10000, 0, 0, 0x02D00000 },
{ 1122, 1125, 0, 0, 1125, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0x07800000 },
{ 1122, 1125, 0, 0, 1125, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0x07800000 },
{ 1122, 1125, 0, 0, 1125, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0x07800000 },
{ 561, 26, 1124, 588, 1125, 1125, 563, 7, 569, 0, 0, 0, 0, 0, 0, 0x07800000 },
{ 1122, 1125, 0, 0, 1125, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0x07800000 },
{ 1122, 1125, 0, 0, 1125, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0x07800000 },
{ 1122, 1125, 0, 0, 1125, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0x07800000 },
{ 1122, 1125, 0, 0, 1125, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0x07800000 },
}

Definition at line 107 of file ntv2aux.cpp.

◆ sAuxExtBaseRegNum

const ULWord sAuxExtBaseRegNum[] = { 7616, 7680, 7744, 7808 }
static

Definition at line 28 of file ntv2aux.cpp.