NVIDIA Corporation
Quadro FX 4800/5800 and Quadro CX SDI User’s Guide
– Version 1.0
63
C
HAPTER
5
API Control
Output Region Structure
struct NVGVOOUTPUTREGION
{
WORD x; // Horizontal origin in pixels
WORD y; // Vertical origin in pixels
WORD width; // Width of region in pixels
WORD height; // Height of region in pixels
};
Gamma Ramp (8-bit Index) Structure
typedef struct NVGAMMARAMP8
{
WORD cbSize; // Caller sets to sizeof(NVGAMMARAMP8)
WORD wRed[256]; // Red channel gamma ramp
(8-bit index, 16-bit values)
WORD wGreen[256]; // Green channel gamma ramp
(8-bit index, 16-bit values)
WORD wBlue[256]; // Blue channel gamma ramp
(8-bit index, 16-bit values)
} NVGAMMARAMP8;
Gamma Ramp (10-bit Index) Structure
typedef struct NVGAMMARAMP10
{
WORD cbSize; // Caller sets to sizeof(NVGAMMARAMP10)
WORD wRed[1024]; // Red channel gamma ramp
(10-bit index, 16-bit values)
WORD wGreen[1024]; // Green channel gamma ramp
(10-bit index, 16-bit values)
WORD wBlue[1024]; // Blue channel gamma ramp
(10-bit index, 16-bit values)
} NVGAMMARAMP10;
Sync Delay Structure
typedef struct tagNVGVOSYNCDELAY
{
WORD wHorizontalDelay; // Horizontal delay in pixels
WORD wVerticalDelay; // Vertical delay in lines