NVIDIA Corporation
Quadro FX 4800/5800 and Quadro CX SDI User’s Guide
– Version 1.0
67
C
HAPTER
5
API Control
NVGVOCONFIG_ALPHAKEYCOMPOSITE | \
NVGVOCONFIG_COMPOSITE_Y | \
NVGVOCONFIG_COMPOSITE_CR | \
NVGVOCONFIG_COMPOSITE_CB)
Color Conversion Structure
struct NVGVOCOLORCONVERSION // Color conversion:
{ //
NVFLOAT colorMatrix[3][3]; // Output[n] =
NVFLOAT colorOffset[3]; // Input[0] * colorMatrix[n][0] +
NVFLOAT colorScale[3]; // Input[1] * colorMatrix[n][1] +
// Input[2] * colorMatrix[n][2] +
// OutputRange * colorOffset[n]
// where OutputRange is the standard
// magnitude of Output[n][n] and
// colorMatrix and colorOffset values
// are within the range -1.0 to +1.0
BOOL bCompositeSafe; // bCompositeSafe constrains luminance
// range when using composite output
};
Composite Range Structure
#define MAX_NUM_COMPOSITE_RANGE 2 // maximum number of ranges per channel
typedef struct tagNVGVOCOMPOSITERANGE
{
DWORD dwRange;
BOOL bEnabled;
DWORD dwMin;
DWORD dwMax;
} NVGVOCOMPOSITERANGE;