|
AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Go to the documentation of this file.
8 #ifndef NTV2_CSCMATRIX_H
9 #define NTV2_CSCMATRIX_H
134 virtual void SetCoefficient (
const NTV2CSCCoeffIndex inCoeffIndex,
const double inCoefficient);
150 virtual void SetOffset (
const NTV2CSCOffsetIndex inOffsetIndex,
const int16_t inOffset);
164 virtual void PostMultiply (
const CNTV2CSCMatrix & inPostInstance);
173 virtual void SetGain (
const double inGain0,
const double inGain1,
const double inGain2);
181 virtual void SetHueRotate (
const double inDegrees);
190 virtual void SetPreOffsets (
const int16_t inOffset0,
const int16_t inOffset1,
const int16_t inOffset2);
199 virtual void AddPreOffsets (
const int16_t inIncrement0,
const int16_t inIncrement1,
const int16_t inIncrement2);
208 virtual void SetPostOffsets (
const int16_t inOffsetA,
const int16_t inOffsetB,
const int16_t inOffsetC);
217 virtual void AddPostOffsets (
const int16_t inIncrementA,
const int16_t inIncrementB,
const int16_t inIncrementC);
225 virtual bool IsUnityMatrix (
void);
259 virtual bool CoeffEqual (
const double inCoeff1,
const double inCoeff2,
const double inMaxDiff);
280 int16_t mPostOffsetA;
281 int16_t mPostOffsetB;
282 int16_t mPostOffsetC;
288 #endif // NTV2_CSCMATRIX_H
Defines the import/export macros for producing DLLs or LIBs.
@ NTV2CSCCoeffIndex_A0
Proportion of input component 0 applied to A output.
@ NTV2CSCOffsetIndex_Pre1
@ NTV2CSCOffsetIndex_PostC
This class supports the color space conversion matrix described below.
virtual ~CNTV2CSCMatrix()
My destructor.
bool operator==(const json_pointer< RefStringTypeLhs > &lhs, const json_pointer< RefStringTypeRhs > &rhs) noexcept
@ NTV2CSCCoeffIndex_C0
Proportion of input component 0 applied to C output.
const int16_t NTV2_CSCMatrix_SMPTECOffset
const double NTV2CSCMatrix_MaxCoeffDiff
This is used to compare CSC Matrix coefficients – the default amount by which they can differ and sti...
Declares the most fundamental data types used by NTV2. Since Windows NT was the first principal devel...
@ NTV2CSCOffsetIndex_PostA
const int16_t NTV2_CSCMatrix_SMPTEYOffset
Declares the CNTV2Card class.
const int16_t NTV2_CSCMatrix_ZeroOffset
@ NTV2CSCCoeffIndex_B0
Proportion of input component 0 applied to B output.
Enumerations for controlling NTV2 devices.
enum NTV2CSCCoeff NTV2CSCCoeffIndex
@ NTV2CSCCoeffIndex_C2
Proportion of input component 2 applied to C output.
@ NTV2CSCCoeffIndex_C1
Proportion of input component 1 applied to C output.
enum NTV2CSCOffset NTV2CSCOffsetIndex
@ NTV2CSCOffsetIndex_Pre0
bool operator!=(const json_pointer< RefStringTypeLhs > &lhs, const json_pointer< RefStringTypeRhs > &rhs) noexcept
@ NTV2CSCOffsetIndex_Pre2
@ NTV2CSCCoeffIndex_B2
Proportion of input component 2 applied to B output.
@ NTV2CSCCoeffIndex_A2
Proportion of input component 2 applied to A output.
@ NTV2CSCCoeffIndex_A1
Proportion of input component 1 applied to A output.
@ NTV2CSCCoeffIndex_B1
Proportion of input component 1 applied to B output.
@ NTV2CSCOffsetIndex_PostB