AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Implements most of CNTV2Card's CSC/LUT-related functions. More...
#include "ntv2card.h"
#include "ntv2devicefeatures.h"
#include "ntv2utils.h"
#include "ntv2registerexpert.h"
#include "ajabase/system/debug.h"
#include <math.h>
#include <assert.h>
#include <deque>
Go to the source code of this file.
Macros | |
#define | HEX16(__x__) "0x" << hex << setw(16) << setfill('0') << uint64_t(__x__) << dec |
#define | INSTP(_p_) HEX16(uint64_t(_p_)) |
#define | CSCFAIL(__x__) AJA_sERROR (AJA_DebugUnit_CSC, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
#define | CSCWARN(__x__) AJA_sWARNING(AJA_DebugUnit_CSC, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
#define | CSCNOTE(__x__) AJA_sNOTICE (AJA_DebugUnit_CSC, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
#define | CSCINFO(__x__) AJA_sINFO (AJA_DebugUnit_CSC, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
#define | CSCDBG(__x__) AJA_sDEBUG (AJA_DebugUnit_CSC, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
#define | LUTFAIL(__x__) AJA_sERROR (AJA_DebugUnit_LUT, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
#define | LUTWARN(__x__) AJA_sWARNING(AJA_DebugUnit_LUT, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
#define | LUTNOTE(__x__) AJA_sNOTICE (AJA_DebugUnit_LUT, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
#define | LUTINFO(__x__) AJA_sINFO (AJA_DebugUnit_LUT, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
#define | LUTDBG(__x__) AJA_sDEBUG (AJA_DebugUnit_LUT, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Functions | |
static ULWord | intClamp (const int inMin, const int inValue, const int inMax) |
static const size_t | kLUTArraySize ((512) *2) |
static const size_t | k12BitLUTArraySize ((2048) *2) |
Variables | |
static const ULWord | gChannelToEnhancedCSCRegNum [] |
static const ULWord | gChannelToCSCoeff12RegNum [] |
static const ULWord | gChannelToCSCoeff34RegNum [] |
static const ULWord | gChannelToCSCoeff56RegNum [] |
static const ULWord | gChannelToCSCoeff78RegNum [] |
static const ULWord | gChannelToCSCoeff910RegNum [] |
static const ULWord | gChannelTo1DLutControlRegNum [] |
static const NTV2ColorCorrectionHostAccessBank | gLUTBank0 [] |
Implements most of CNTV2Card's CSC/LUT-related functions.
Definition in file ntv2csclut.cpp.
#define CSCDBG | ( | __x__ | ) | AJA_sDEBUG (AJA_DebugUnit_CSC, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 28 of file ntv2csclut.cpp.
#define CSCFAIL | ( | __x__ | ) | AJA_sERROR (AJA_DebugUnit_CSC, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 24 of file ntv2csclut.cpp.
#define CSCINFO | ( | __x__ | ) | AJA_sINFO (AJA_DebugUnit_CSC, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 27 of file ntv2csclut.cpp.
#define CSCNOTE | ( | __x__ | ) | AJA_sNOTICE (AJA_DebugUnit_CSC, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 26 of file ntv2csclut.cpp.
#define CSCWARN | ( | __x__ | ) | AJA_sWARNING(AJA_DebugUnit_CSC, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 25 of file ntv2csclut.cpp.
#define HEX16 | ( | __x__ | ) | "0x" << hex << setw(16) << setfill('0') << uint64_t(__x__) << dec |
Definition at line 22 of file ntv2csclut.cpp.
#define INSTP | ( | _p_ | ) | HEX16(uint64_t(_p_)) |
Definition at line 23 of file ntv2csclut.cpp.
#define LUTDBG | ( | __x__ | ) | AJA_sDEBUG (AJA_DebugUnit_LUT, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 34 of file ntv2csclut.cpp.
#define LUTFAIL | ( | __x__ | ) | AJA_sERROR (AJA_DebugUnit_LUT, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 30 of file ntv2csclut.cpp.
#define LUTINFO | ( | __x__ | ) | AJA_sINFO (AJA_DebugUnit_LUT, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 33 of file ntv2csclut.cpp.
#define LUTNOTE | ( | __x__ | ) | AJA_sNOTICE (AJA_DebugUnit_LUT, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 32 of file ntv2csclut.cpp.
#define LUTWARN | ( | __x__ | ) | AJA_sWARNING(AJA_DebugUnit_LUT, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 31 of file ntv2csclut.cpp.
|
inlinestatic |
Definition at line 656 of file ntv2csclut.cpp.
|
static |
|
static |
|
static |
Definition at line 61 of file ntv2csclut.cpp.
|
static |
Definition at line 46 of file ntv2csclut.cpp.
|
static |
Definition at line 49 of file ntv2csclut.cpp.
|
static |
Definition at line 52 of file ntv2csclut.cpp.
|
static |
Definition at line 55 of file ntv2csclut.cpp.
|
static |
Definition at line 58 of file ntv2csclut.cpp.
|
static |
Definition at line 43 of file ntv2csclut.cpp.
|
static |
Definition at line 683 of file ntv2csclut.cpp.