|
AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Implements most of CNTV2Card's register-based functions.
More...
#include "ntv2card.h"
#include "ntv2devicefeatures.h"
#include "ntv2utils.h"
#include "ntv2registerexpert.h"
#include "ntv2endian.h"
#include "ntv2registersmb.h"
#include "ntv2konaflashprogram.h"
#include "ntv2vpid.h"
#include "ajabase/system/debug.h"
#include <math.h>
#include <assert.h>
Go to the source code of this file.
|
static const ULWord | gChannelToGlobalControlRegNum [] |
|
static const ULWord | gChannelToSDIOutControlRegNum [] |
|
static const ULWord | gChannelToControlRegNum [] |
|
static const ULWord | gChannelToOutputFrameRegNum [] |
|
static const ULWord | gChannelToInputFrameRegNum [] |
|
static const ULWord | gChannelToPCIAccessFrameRegNum [] |
|
static const ULWord | gChannelToRS422ControlRegNum [] = { kRegRS422Control, kRegRS4222Control, 0} |
|
static const ULWord | gChannelToOutputTimingCtrlRegNum [] |
|
static const ULWord | gChannelToSDIInput3GStatusRegNum [] |
|
static const ULWord | gChannelToSDIIn3GbModeMask [] |
|
static const ULWord | gChannelToSDIIn3GbModeShift [] |
|
static const ULWord | gIndexToVidProcControlRegNum [] = { kRegVidProc1Control, kRegVidProc2Control, kRegVidProc3Control, kRegVidProc4Control, 0} |
|
static const ULWord | gIndexToVidProcMixCoeffRegNum [] = { kRegMixer1Coefficient, kRegMixer2Coefficient, kRegMixer3Coefficient, kRegMixer4Coefficient, 0} |
|
static const ULWord | gChannelToRP188ModeGCRegisterNum [] |
|
static const ULWord | gChannelToRP188ModeMasks [] |
|
static const ULWord | gChannelToRP188ModeShifts [] |
|
static const ULWord | gChlToRP188DBBRegNum [] |
|
static const ULWord | gChlToRP188Bits031RegNum [] |
|
static const ULWord | gChlToRP188Bits3263RegNum [] |
|
static const ULWord | gChannelToRXSDIStatusRegs [] = { kRegRXSDI1Status, kRegRXSDI2Status, kRegRXSDI3Status, kRegRXSDI4Status, kRegRXSDI5Status, kRegRXSDI6Status, kRegRXSDI7Status, kRegRXSDI8Status, 0} |
|
static const ULWord | gChannelToRXSDICRCErrorCountRegs [] = { kRegRXSDI1CRCErrorCount, kRegRXSDI2CRCErrorCount, kRegRXSDI3CRCErrorCount, kRegRXSDI4CRCErrorCount, kRegRXSDI5CRCErrorCount, kRegRXSDI6CRCErrorCount, kRegRXSDI7CRCErrorCount, kRegRXSDI8CRCErrorCount, 0 } |
|
static const ULWord | gChannelToSmpte372RegisterNum [] |
|
static const ULWord | gChannelToSmpte372Masks [] |
|
static const ULWord | gChannelToSmpte372Shifts [] |
|
static const ULWord | gChannelToSDIIn3GModeMask [] |
|
static const ULWord | gChannelToSDIIn3GModeShift [] |
|
static const ULWord | gChannelToSDIIn6GModeMask [] |
|
static const ULWord | gChannelToSDIIn6GModeShift [] |
|
static const ULWord | gChannelToSDIIn12GModeMask [] |
|
static const ULWord | gChannelToSDIIn12GModeShift [] |
|
static const ULWord | gChannelToSDIInputStatusRegNum [] |
|
static const ULWord | gChannelToSDIInputRateMask [] |
|
static const ULWord | gChannelToSDIInputRateHighMask [] |
|
static const ULWord | gChannelToSDIInputRateShift [] |
|
static const ULWord | gChannelToSDIInputRateHighShift [] |
|
static const ULWord | gChannelToSDIInputGeometryMask [] |
|
static const ULWord | gChannelToSDIInputGeometryHighMask [] |
|
static const ULWord | gChannelToSDIInputGeometryShift [] |
|
static const ULWord | gChannelToSDIInputGeometryHighShift [] |
|
static const ULWord | gChannelToSDIInputProgressiveMask [] |
|
static const ULWord | gChannelToSDIInputProgressiveShift [] |
|
static const ULWord | gSDIOutToRP188Input [] = { 0, 2, 1, 3, 0, 2, 1, 3, 0 } |
|
static const ULWord | gMatteColorRegs [] = { kRegFlatMatteValue , kRegFlatMatte2Value , kRegFlatMatte3Value , kRegFlatMatte4Value , 0, 0, 0, 0} |
|
static const ULWord | sSDIXmitEnableMasks [] |
|
static const ULWord | sSDIXmitEnableShifts [] |
|
Implements most of CNTV2Card's register-based functions.
- Copyright
- (C) 2004-2022 AJA Video Systems, Inc.
Definition in file ntv2register.cpp.
◆ CVIDDBG
◆ CVIDFAIL
◆ CVIDINFO
◆ CVIDNOTE
◆ CVIDWARN
◆ HEX16
#define HEX16 |
( |
|
__x__ | ) |
"0x" << hex << setw(16) << setfill('0') << uint64_t(__x__) << dec |
◆ INSTP
#define INSTP |
( |
|
_p_ | ) |
HEX16(uint64_t(_p_)) |
◆ K2_MAX_H
◆ K2_MAX_V
◆ K2_MIN_H
◆ K2_MIN_V
◆ K2_NOMINAL_H
#define K2_NOMINAL_H 0x1000 |
◆ K2_NOMINAL_V
#define K2_NOMINAL_V 0x0800 |
◆ KLS_MAX_525_H
#define KLS_MAX_525_H 0x06B3 |
◆ KLS_MAX_525_V
#define KLS_MAX_525_V 0x020D |
◆ KLS_MAX_625_H
#define KLS_MAX_625_H 0x06BF |
◆ KLS_MAX_625_V
#define KLS_MAX_625_V 0x0271 |
◆ KLS_MIN_525_H
#define KLS_MIN_525_H 0x0000 |
◆ KLS_MIN_525_V
#define KLS_MIN_525_V 0x0001 |
◆ KLS_MIN_625_H
#define KLS_MIN_625_H 0x0000 |
◆ KLS_MIN_625_V
#define KLS_MIN_625_V 0x0001 |
◆ KLS_NOMINAL_525_H
#define KLS_NOMINAL_525_H 0x0640 |
◆ KLS_NOMINAL_525_V
#define KLS_NOMINAL_525_V 0x010A |
◆ KLS_NOMINAL_625_H
#define KLS_NOMINAL_625_H 0x0638 |
◆ KLS_NOMINAL_625_V
#define KLS_NOMINAL_625_V 0x0139 |
◆ MAX_H
◆ MAX_V
◆ MIN_H
◆ MIN_V
◆ NOMINAL_H
◆ NOMINAL_V
◆ WriteWatchdogControlBit()
◆ gChannelToControlRegNum
const ULWord gChannelToControlRegNum[] |
|
static |
◆ gChannelToGlobalControlRegNum
const ULWord gChannelToGlobalControlRegNum[] |
|
static |
◆ gChannelToInputFrameRegNum
const ULWord gChannelToInputFrameRegNum[] |
|
static |
◆ gChannelToOutputFrameRegNum
const ULWord gChannelToOutputFrameRegNum[] |
|
static |
◆ gChannelToOutputTimingCtrlRegNum
const ULWord gChannelToOutputTimingCtrlRegNum[] |
|
static |
◆ gChannelToPCIAccessFrameRegNum
const ULWord gChannelToPCIAccessFrameRegNum[] |
|
static |
◆ gChannelToRP188ModeGCRegisterNum
const ULWord gChannelToRP188ModeGCRegisterNum[] |
|
static |
◆ gChannelToRP188ModeMasks
const ULWord gChannelToRP188ModeMasks[] |
|
static |
◆ gChannelToRP188ModeShifts
const ULWord gChannelToRP188ModeShifts[] |
|
static |
◆ gChannelToRS422ControlRegNum
◆ gChannelToRXSDICRCErrorCountRegs
◆ gChannelToRXSDIStatusRegs
◆ gChannelToSDIIn12GModeMask
const ULWord gChannelToSDIIn12GModeMask[] |
|
static |
◆ gChannelToSDIIn12GModeShift
const ULWord gChannelToSDIIn12GModeShift[] |
|
static |
◆ gChannelToSDIIn3GbModeMask
const ULWord gChannelToSDIIn3GbModeMask[] |
|
static |
◆ gChannelToSDIIn3GbModeShift
const ULWord gChannelToSDIIn3GbModeShift[] |
|
static |
◆ gChannelToSDIIn3GModeMask
const ULWord gChannelToSDIIn3GModeMask[] |
|
static |
◆ gChannelToSDIIn3GModeShift
const ULWord gChannelToSDIIn3GModeShift[] |
|
static |
◆ gChannelToSDIIn6GModeMask
const ULWord gChannelToSDIIn6GModeMask[] |
|
static |
◆ gChannelToSDIIn6GModeShift
const ULWord gChannelToSDIIn6GModeShift[] |
|
static |
◆ gChannelToSDIInput3GStatusRegNum
const ULWord gChannelToSDIInput3GStatusRegNum[] |
|
static |
◆ gChannelToSDIInputGeometryHighMask
const ULWord gChannelToSDIInputGeometryHighMask[] |
|
static |
◆ gChannelToSDIInputGeometryHighShift
const ULWord gChannelToSDIInputGeometryHighShift[] |
|
static |
◆ gChannelToSDIInputGeometryMask
const ULWord gChannelToSDIInputGeometryMask[] |
|
static |
◆ gChannelToSDIInputGeometryShift
const ULWord gChannelToSDIInputGeometryShift[] |
|
static |
◆ gChannelToSDIInputProgressiveMask
const ULWord gChannelToSDIInputProgressiveMask[] |
|
static |
◆ gChannelToSDIInputProgressiveShift
const ULWord gChannelToSDIInputProgressiveShift[] |
|
static |
◆ gChannelToSDIInputRateHighMask
const ULWord gChannelToSDIInputRateHighMask[] |
|
static |
◆ gChannelToSDIInputRateHighShift
const ULWord gChannelToSDIInputRateHighShift[] |
|
static |
◆ gChannelToSDIInputRateMask
const ULWord gChannelToSDIInputRateMask[] |
|
static |
◆ gChannelToSDIInputRateShift
const ULWord gChannelToSDIInputRateShift[] |
|
static |
◆ gChannelToSDIInputStatusRegNum
const ULWord gChannelToSDIInputStatusRegNum[] |
|
static |
◆ gChannelToSDIOutControlRegNum
const ULWord gChannelToSDIOutControlRegNum[] |
|
static |
◆ gChannelToSmpte372Masks
const ULWord gChannelToSmpte372Masks[] |
|
static |
◆ gChannelToSmpte372RegisterNum
const ULWord gChannelToSmpte372RegisterNum[] |
|
static |
◆ gChannelToSmpte372Shifts
const ULWord gChannelToSmpte372Shifts[] |
|
static |
◆ gChlToRP188Bits031RegNum
const ULWord gChlToRP188Bits031RegNum[] |
|
static |
◆ gChlToRP188Bits3263RegNum
const ULWord gChlToRP188Bits3263RegNum[] |
|
static |
◆ gChlToRP188DBBRegNum
const ULWord gChlToRP188DBBRegNum[] |
|
static |
◆ gIndexToVidProcControlRegNum
◆ gIndexToVidProcMixCoeffRegNum
◆ gMatteColorRegs
◆ gSDIOutToRP188Input
const ULWord gSDIOutToRP188Input[] = { 0, 2, 1, 3, 0, 2, 1, 3, 0 } |
|
static |
◆ sSDIXmitEnableMasks
const ULWord sSDIXmitEnableMasks[] |
|
static |
◆ sSDIXmitEnableShifts
const ULWord sSDIXmitEnableShifts[] |
|
static |
@ kRegMaskSDIIn43GbpsMode
@ kRegShiftInput1Geometry
@ kRegMaskSDIIn33GbpsSMPTELevelBMode
@ kRegShiftSDIIn612GbpsMode
@ kRegOutputTimingControlch6
@ kRegRP188InOut2Bits0_31
@ kRegMaskSDIIn23GbpsMode
@ kRegMaskInput2FrameRate
@ kRegRP188InOut1Bits0_31
@ kRegRP188InOut7Bits32_63
@ kRegShiftSDIIn16GbpsMode
@ kRegMaskSDIIn86GbpsMode
@ kRegOutputTimingControlch7
@ kRegMaskSDIIn612GbpsMode
@ kRegShiftInput2FrameRate
@ kRegMaskSDIIn43GbpsSMPTELevelBMode
@ kRegMaskSDIIn53GbpsSMPTELevelBMode
@ kRegShiftSDIIn312GbpsMode
@ kRegRP188InOut6Bits0_31
@ kRegMaskInput2GeometryHigh
@ kRegMaskSDIIn16GbpsMode
@ kRegOutputTimingControlch3
@ kRegShiftSDIIn23GbpsMode
@ kRegShiftSDIIn73GbpsSMPTELevelBMode
@ kRegRP188InOut4Bits0_31
@ kRegShiftSDIIn53GbpsMode
@ kRegShiftInput1FrameRateHigh
@ kRegMaskInput2FrameRateHigh
@ kRegMaskSDIIn312GbpsMode
@ kRegMaskSDIIn63GbpsSMPTELevelBMode
@ kRegShiftInput2FrameRateHigh
@ kRegRP188InOut3Bits0_31
@ kRegShiftSDIIn3GbpsMode
@ kRegShiftSDIIn53GbpsSMPTELevelBMode
@ kRegMaskSDIIn76GbpsMode
@ kRegShiftInput2GeometryHigh
@ kRegRP188InOut4Bits32_63
@ kRegShiftSDIIn66GbpsMode
@ kRegMaskSDIIn63GbpsMode
@ kRegMaskInput1FrameRate
@ kRegShiftInput1FrameRate
@ kRegShiftSDIIn46GbpsMode
@ kRegMaskSDIIn112GbpsMode
@ kRegRP188InOut6Bits32_63
@ kRegShiftSDIIn63GbpsSMPTELevelBMode
@ kRegOutputTimingControlch5
@ kRegShiftInput2Geometry
@ kRegShiftSDIIn36GbpsMode
@ kRegShiftSDIIn712GbpsMode
@ kRegRP188InOut8Bits32_63
@ kRegRP188InOut5Bits32_63
@ kRegMaskSDIIn73GbpsSMPTELevelBMode
@ kRegMaskSDIIn46GbpsMode
@ kRegShiftInput1GeometryHigh
@ kRegRP188InOut1Bits32_63
@ kRegShiftSDIIn3GbpsSMPTELevelBMode
@ kRegShiftSDIIn412GbpsMode
@ kRegShiftSDIIn73GbpsMode
@ kRegMaskInput1FrameRateHigh
@ kRegMaskSDIIn23GbpsSMPTELevelBMode
@ kRegShiftSDIIn76GbpsMode
@ kRegMaskSmpte372Enable4
@ kRegRP188InOut7Bits0_31
@ kRegShiftInput2Progressive
@ kRegOutputTimingControlch8
@ kRegShiftSDIIn86GbpsMode
@ kRegMaskSDIIn812GbpsMode
@ kRegShiftSDIIn812GbpsMode
@ kRegShiftSDIIn56GbpsMode
@ kRegMaskSDIIn36GbpsMode
@ kRegMaskSDIIn512GbpsMode
@ kRegShiftSDIIn23GbpsSMPTELevelBMode
@ kRegShiftSDIIn33GbpsSMPTELevelBMode
@ kRegOutputTimingControlch4
@ kRegMaskSDIIn33GbpsMode
@ kRegShiftSDIIn512GbpsMode
@ kRegShiftSDIIn26GbpsMode
@ kRegMaskSDIIn56GbpsMode
@ kRegMaskSmpte372Enable6
@ kRegSDI5678Input3GStatus
@ kRegOutputTimingControlch2
@ kRegShiftSmpte372Enable6
@ kRegRP188InOut2Bits32_63
@ kRegMaskInput1Progressive
@ kRegMaskSDIIn53GbpsMode
@ kRegShiftSDIIn33GbpsMode
@ kRegMaskSDIIn73GbpsMode
@ kRegShiftSDIIn43GbpsMode
@ kRegShiftSmpte372Enable4
@ kRegMaskSDIIn26GbpsMode
@ kRegMaskSmpte372Enable8
@ kRegMaskInput1GeometryHigh
@ kRegRP188InOut5Bits0_31
@ kRegMaskInput2Progressive
@ kRegMaskSDIIn712GbpsMode
@ kRegMaskSDIIn212GbpsMode
@ kRegRP188InOut3Bits32_63
@ kRegShiftSDIIn43GbpsSMPTELevelBMode
@ kRegOutputTimingControl
@ kRegShiftSDIIn83GbpsSMPTELevelBMode
@ kRegShiftSDIIn63GbpsMode
@ kRegMaskSDIIn83GbpsMode
@ kRegShiftSDIIn112GbpsMode
@ kRegMaskSDIIn3GbpsSMPTELevelBMode
@ kRegShiftSmpte372Enable8
@ kRegRP188InOut8Bits0_31
@ kRegShiftSDIIn83GbpsMode
@ kRegMaskSDIIn412GbpsMode
@ kRegShiftSDIIn212GbpsMode
@ kRegMaskSDIIn66GbpsMode
@ kRegShiftInput1Progressive
@ kRegMaskSDIIn83GbpsSMPTELevelBMode