AJA NTV2 SDK  17.0.1.1246
NTV2 SDK 17.0.1.1246
ntv2cscmatrix.h File Reference

Declares the utility class for abstract color space matrix operations. More...

#include "ajatypes.h"
#include "ajaexport.h"
#include "ntv2enums.h"
#include "ntv2card.h"
Include dependency graph for ntv2cscmatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CNTV2CSCMatrix
 This class supports the color space conversion matrix described below. More...
 

Typedefs

typedef enum NTV2CSCCoeff NTV2CSCCoeffIndex
 
typedef enum NTV2CSCOffset NTV2CSCOffsetIndex
 

Enumerations

enum  NTV2CSCCoeff {
  NTV2CSCCoeffIndex_A0, NTV2CSCCoeffIndex_A1, NTV2CSCCoeffIndex_A2, NTV2CSCCoeffIndex_B0,
  NTV2CSCCoeffIndex_B1, NTV2CSCCoeffIndex_B2, NTV2CSCCoeffIndex_C0, NTV2CSCCoeffIndex_C1,
  NTV2CSCCoeffIndex_C2
}
 
enum  NTV2CSCOffset {
  NTV2CSCOffsetIndex_Pre0, NTV2CSCOffsetIndex_Pre1, NTV2CSCOffsetIndex_Pre2, NTV2CSCOffsetIndex_PostA,
  NTV2CSCOffsetIndex_PostB, NTV2CSCOffsetIndex_PostC
}
 

Variables

const int16_t NTV2_CSCMatrix_ZeroOffset = 0x0000
 
const int16_t NTV2_CSCMatrix_SMPTEYOffset = 0x0800
 
const int16_t NTV2_CSCMatrix_SMPTECOffset = 0x4000
 
const double NTV2CSCMatrix_MaxCoeffDiff = (1.0 / 4096.0)
 This is used to compare CSC Matrix coefficients – the default amount by which they can differ and still be considered "equal". More...
 

Detailed Description

Declares the utility class for abstract color space matrix operations.

Definition in file ntv2cscmatrix.h.

Typedef Documentation

◆ NTV2CSCCoeffIndex

◆ NTV2CSCOffsetIndex

Enumeration Type Documentation

◆ NTV2CSCCoeff

Enumerator
NTV2CSCCoeffIndex_A0 

Proportion of input component 0 applied to A output.

NTV2CSCCoeffIndex_A1 

Proportion of input component 1 applied to A output.

NTV2CSCCoeffIndex_A2 

Proportion of input component 2 applied to A output.

NTV2CSCCoeffIndex_B0 

Proportion of input component 0 applied to B output.

NTV2CSCCoeffIndex_B1 

Proportion of input component 1 applied to B output.

NTV2CSCCoeffIndex_B2 

Proportion of input component 2 applied to B output.

NTV2CSCCoeffIndex_C0 

Proportion of input component 0 applied to C output.

NTV2CSCCoeffIndex_C1 

Proportion of input component 1 applied to C output.

NTV2CSCCoeffIndex_C2 

Proportion of input component 2 applied to C output.

Definition at line 23 of file ntv2cscmatrix.h.

◆ NTV2CSCOffset

Enumerator
NTV2CSCOffsetIndex_Pre0 
NTV2CSCOffsetIndex_Pre1 
NTV2CSCOffsetIndex_Pre2 
NTV2CSCOffsetIndex_PostA 
NTV2CSCOffsetIndex_PostB 
NTV2CSCOffsetIndex_PostC 

Definition at line 39 of file ntv2cscmatrix.h.

Variable Documentation

◆ NTV2_CSCMatrix_SMPTECOffset

const int16_t NTV2_CSCMatrix_SMPTECOffset = 0x4000

Definition at line 20 of file ntv2cscmatrix.h.

◆ NTV2_CSCMatrix_SMPTEYOffset

const int16_t NTV2_CSCMatrix_SMPTEYOffset = 0x0800

Definition at line 19 of file ntv2cscmatrix.h.

◆ NTV2_CSCMatrix_ZeroOffset

const int16_t NTV2_CSCMatrix_ZeroOffset = 0x0000

Definition at line 18 of file ntv2cscmatrix.h.

◆ NTV2CSCMatrix_MaxCoeffDiff

const double NTV2CSCMatrix_MaxCoeffDiff = (1.0 / 4096.0)

This is used to compare CSC Matrix coefficients – the default amount by which they can differ and still be considered "equal".

Definition at line 55 of file ntv2cscmatrix.h.