Implements the CNTV2RegisterExpert class.
More...
#include "ntv2registerexpert.h"
#include "ntv2devicefeatures.hh"
#include "ntv2utils.h"
#include "ntv2debug.h"
#include "ntv2endian.h"
#include "ntv2vpid.h"
#include "ntv2bitfile.h"
#include "ntv2signalrouter.h"
#include "ajabase/common/common.h"
#include "ajabase/system/lock.h"
#include "ajabase/common/ajarefptr.h"
#include "ajabase/system/debug.h"
#include <algorithm>
#include <sstream>
#include <iterator>
#include <iomanip>
#include <map>
#include <math.h>
#include <ctype.h>
#include <unistd.h>
Go to the source code of this file.
|
#define | LOGGING_MAPPINGS (AJADebug::IsActive(AJA_DebugUnit_Enumeration)) |
|
#define | HEX16(__x__) "0x" << hex << setw(16) << setfill('0') << uint64_t(__x__) << dec |
|
#define | INSTP(_p_) HEX16(uint64_t(_p_)) |
|
#define | REiFAIL(__x__) AJA_sERROR (AJA_DebugUnit_Enumeration, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
|
#define | REiWARN(__x__) AJA_sWARNING(AJA_DebugUnit_Enumeration, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
|
#define | REiNOTE(__x__) AJA_sNOTICE (AJA_DebugUnit_Enumeration, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
|
#define | REiINFO(__x__) AJA_sINFO (AJA_DebugUnit_Enumeration, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
|
#define | REiDBG(__x__) AJA_sDEBUG (AJA_DebugUnit_Enumeration, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
|
#define | DEF_REGNAME(_num_) DefineRegName(_num_, #_num_) |
|
#define | DEF_REG(_num_, _dec_, _rw_, _c1_, _c2_, _c3_) DefineRegister((_num_), #_num_, _dec_, _rw_, _c1_, _c2_, _c3_) |
|
|
enum | NTV4FrameStoreRegs {
regNTV4FS_FIRST,
regNTV4FS_LineLengthPitch = regNTV4FS_FIRST,
regNTV4FS_ROIVHSize,
regNTV4FS_ROIF1StartAddr,
regNTV4FS_ROIF2StartAddr,
regNTV4FS_ROIF1VHOffsets,
regNTV4FS_ROIF2VHOffsets,
regNTV4FS_DisplayHorzPixelsPerLine,
regNTV4FS_DisplayFID,
regNTV4FS_F1ActiveLines,
regNTV4FS_F2ActiveLines,
regNTV4FS_RasterControl,
regNTV4FS_RasterPixelSkip,
regNTV4FS_RasterVideoFill_YCb_GB,
regNTV4FS_RasterVideoFill_Cr_AR,
regNTV4FS_RasterROIFillAlpha,
regNTV4FS_Status,
regNTV4FS_RasterOutputTimingPreset,
regNTV4FS_RasterVTotalLines,
regNTV4FS_RasterSmpteFramePulse,
regNTV4FS_RasterOddLineStartAddress,
regNTV4FS_RasterOffsetBlue,
regNTV4FS_RasterOffsetRed,
regNTV4FS_RasterOffsetAlpha,
regNTV4FS_InputSourceSelect = 63,
regNTV4FS_LAST = regNTV4FS_InputSourceSelect,
regNTV4FS_REGISTER_COUNT
} |
|
Implements the CNTV2RegisterExpert class.
- Copyright
- (C) 2016-2022 AJA Video Systems, Inc.
Definition in file ntv2registerexpert.cpp.
◆ DEF_REG
#define DEF_REG |
( |
|
_num_, |
|
|
|
_dec_, |
|
|
|
_rw_, |
|
|
|
_c1_, |
|
|
|
_c2_, |
|
|
|
_c3_ |
|
) |
| DefineRegister((_num_), #_num_, _dec_, _rw_, _c1_, _c2_, _c3_) |
◆ DEF_REGNAME
#define DEF_REGNAME |
( |
|
_num_ | ) |
DefineRegName(_num_, #_num_) |
◆ HEX16
#define HEX16 |
( |
|
__x__ | ) |
"0x" << hex << setw(16) << setfill('0') << uint64_t(__x__) << dec |
◆ INSTP
#define INSTP |
( |
|
_p_ | ) |
HEX16(uint64_t(_p_)) |
◆ LOGGING_MAPPINGS
◆ REiDBG
◆ REiFAIL
◆ REiINFO
◆ REiNOTE
◆ REiWARN
◆ RegisterExpertPtr
◆ NTV4FrameStoreRegs
Enumerator |
---|
regNTV4FS_FIRST | |
regNTV4FS_LineLengthPitch | |
regNTV4FS_ROIVHSize | |
regNTV4FS_ROIF1StartAddr | |
regNTV4FS_ROIF2StartAddr | |
regNTV4FS_ROIF1VHOffsets | |
regNTV4FS_ROIF2VHOffsets | |
regNTV4FS_DisplayHorzPixelsPerLine | |
regNTV4FS_DisplayFID | |
regNTV4FS_F1ActiveLines | |
regNTV4FS_F2ActiveLines | |
regNTV4FS_RasterControl | |
regNTV4FS_RasterPixelSkip | |
regNTV4FS_RasterVideoFill_YCb_GB | |
regNTV4FS_RasterVideoFill_Cr_AR | |
regNTV4FS_RasterROIFillAlpha | |
regNTV4FS_Status | |
regNTV4FS_RasterOutputTimingPreset | |
regNTV4FS_RasterVTotalLines | |
regNTV4FS_RasterSmpteFramePulse | |
regNTV4FS_RasterOddLineStartAddress | |
regNTV4FS_RasterOffsetBlue | |
regNTV4FS_RasterOffsetRed | |
regNTV4FS_RasterOffsetAlpha | |
regNTV4FS_InputSourceSelect | |
regNTV4FS_LAST | |
regNTV4FS_REGISTER_COUNT | |
Definition at line 51 of file ntv2registerexpert.cpp.
◆ gInstanceTally()
static uint32_t gInstanceTally |
( |
0 |
| ) |
|
|
static |
◆ gLivingInstances()
static uint32_t gLivingInstances |
( |
0 |
| ) |
|
|
static |
◆ kNTV4FrameStoreFirstRegNum()
static const ULWord kNTV4FrameStoreFirstRegNum |
( |
0x0000D000/ |
sizeofULWord | ) |
|
|
static |
◆ kNumNTV4FrameStoreRegisters()
◆ sSpace()
static const string sSpace |
( |
" " |
| ) |
|
|
static |
◆ gChlClasses
const string gChlClasses[] |
|
static |
Initial value:= { std::string ("kRegClass_Channel1") , std::string ("kRegClass_Channel2") , std::string ("kRegClass_Channel3") , std::string ("kRegClass_Channel4") ,
std::string ("kRegClass_Channel5") , std::string ("kRegClass_Channel6") , std::string ("kRegClass_Channel7") , std::string ("kRegClass_Channel8") }
Definition at line 46 of file ntv2registerexpert.cpp.
◆ gpRegExpert
◆ gRegExpertGuardMutex
◆ sNTV4FrameStoreRegNames
const std::string sNTV4FrameStoreRegNames[] |
|
static |
Initial value:= { "LineLengthPitch",
"ROIVHSize",
"ROIF1StartAddr",
"ROIF2StartAddr",
"ROIF1VHOffsets",
"ROIF2VHOffsets",
"DisplayHorzPixelsPerLine",
"DisplayFID",
"F1ActiveLines",
"F2ActiveLines",
"RasterControl",
"RasterPixelSkip",
"RasterVideoFill_YCb_GB",
"RasterVideoFill_Cr_AR",
"RasterROIFillAlpha",
"Status",
"RasterOutputTimingPreset",
"RasterVTotalLines",
"RasterSmpteFramePulse",
"RasterOddLineStartAddress",
"RasterOffsetBlue",
"RasterOffsetRed",
"RasterOffsetAlpha"}
Definition at line 82 of file ntv2registerexpert.cpp.
◆ sNull