NVIDIA FX4500 User Guide - Page 73

Color Conversion Structure, Composite Range Structure, define MAX_NUM_COMPOSITE_RANGE

Page 73 highlights

Chapter 05 : API Control Color Conversion Structure NVGVOCONFIG_COMPOSITE | \ NVGVOCONFIG_ALPHAKEYCOMPOSITE | \ NVGVOCONFIG_COMPOSITE_Y | \ NVGVOCONFIG_COMPOSITE_CR | \ NVGVOCONFIG_COMPOSITE_CB) 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 values // colorMatrix and colorOffset +1.0 // are within the range -1.0 to BOOL luminance bCompositeSafe; // bCompositeSafe constrains // range when using composite output }; Composite Range Structure #define MAX_NUM_COMPOSITE_RANGE 2 channel typedef struct tagNVGVOCOMPOSITERANGE { DWORD dwRange; BOOL bEnabled; // maximum number of ranges per Quadro 4000/5000/6000 SDI DU-05337-001_v01 | 69

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96

Quadro 4000/5000/6000 SDI
DU-05337-001_v01
|
69
Chapter 05 : API Control
NVGVOCONFIG_COMPOSITE
| \
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;