NVIDIA FX5500 User Guide - Page 67

Device Configuration Structure, Output[n][n] and colorMatrix and colorOffset values are

Page 67 highlights

CHAPTER 5 API Control Device Configuration Structure typedef struct tagNVGVOCONFIG { WORD cbSize; DWORD fields to use dwFields; // Caller sets to sizeof(NVGVOCONFIG) // Caller sets to NVGVOCONFIG_* mask for NVGVOSIGNALFORMAT signalFormat; NVGVODATAFORMAT dataFormat; NVGVOOUTPUTREGION outputRegion; mode) NVGVOOUTPUTAREA outputArea; (safe area) // Signal format for video output // Data format for video output // Region for video output (Desktop // Usable resolution for video output struct // Color conversion: // Output[n] = Input[0] * colorMatrix[n][0] + // 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 { // NVFLOAT colorMatrix[3][3]; NVFLOAT colorOffset[3]; // NVFLOAT colorScale[3]; // // // BOOL bCompositeSafe; // bCompositeSafe constrains luminance range when using composite output } colorConversion; // union // Gamma correction: { // cbSize field in gammaRamp describes type NVGAMMARAMP8 gammaRamp8; // Gamma ramp (8-bit index, 16-bit values) NVGAMMARAMP10 gammaRamp10; // Gamma ramp (10-bit index, 16-bit values) } gammaCorrection; BOOL NVGVOSYNCSOURCE NVGVOSYNCDELAY syncEnable; syncSource; syncDelay; // Sync enable (TRUE to use syncSource) // Sync source // Sync delay NVIDIA Corporation Quadro FX 4500/5500 SDI User's Guide - Version 2.0 63

  • 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

NVIDIA Corporation
Quadro FX 4500/5500 SDI User’s Guide
– Version 2.0
63
C
HAPTER
5
API Control
Device Configuration Structure
typedef struct tagNVGVOCONFIG
{
WORD
cbSize;
// Caller sets to sizeof(NVGVOCONFIG)
DWORD
dwFields;
// Caller sets to NVGVOCONFIG_* mask for
fields to use
NVGVOSIGNALFORMAT signalFormat;
// Signal format for video output
NVGVODATAFORMAT
dataFormat;
// Data format for video output
NVGVOOUTPUTREGION outputRegion;
// Region for video output (Desktop
mode)
NVGVOOUTPUTAREA
outputArea;
// Usable resolution for video output
(safe area)
struct
//
Color conversion:
//
Output[n] = Input[0] * colorMatrix[n][0] +
//
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
{
//
NVFLOAT
colorMatrix[3][3];
NVFLOAT
colorOffset[3];
//
NVFLOAT
colorScale[3];
//
//
//
BOOL
bCompositeSafe;
//
bCompositeSafe constrains luminance
range when using composite output
} colorConversion;
//
union
// Gamma correction:
{
//
cbSize field in gammaRamp describes type
NVGAMMARAMP8
gammaRamp8;
//
Gamma ramp (8-bit index, 16-bit values)
NVGAMMARAMP10 gammaRamp10;
//
Gamma ramp (10-bit index, 16-bit values)
} gammaCorrection;
BOOL
syncEnable;
// Sync enable (TRUE to use syncSource)
NVGVOSYNCSOURCE
syncSource;
// Sync source
NVGVOSYNCDELAY
syncDelay;
// Sync delay