NVIDIA FX4500 User Guide - Page 68

Gamma Ramp (10-bit Index) Structure, Sync Delay Structure, Video Mode Information Structure

Page 68 highlights

Chapter 05 : API Control WORD wGreen[256]; // Green channel gamma ramp WORD } NVGAMMARAMP8; wBlue[256]; (8-bit index, 16-bit values) // Blue channel gamma ramp (8-bit index, 16-bit values) Gamma Ramp (10-bit Index) Structure typedef struct NVGAMMARAMP10 { WORD cbSize; sizeof(NVGAMMARAMP10) WORD wRed[1024]; WORD wGreen[1024]; WORD wBlue[1024]; } NVGAMMARAMP10; Sync Delay Structure // Caller sets to // Red channel gamma ramp (10-bit index, 16-bit values) // Green channel gamma ramp (10-bit index, 16-bit values) // Blue channel gamma ramp (10-bit index, 16-bit values) typedef struct tagNVGVOSYNCDELAY { WORD wHorizontalDelay; WORD wVerticalDelay; } NVGVOSYNCDELAY; Video Mode Information Structure // Horizontal delay in pixels // Vertical delay in lines typedef struct NVVIDEOMODE { DWORD pixels) dwHorizontalPixels; // Horizontal resolution (in DWORD lines) dwVerticalLines; // Vertical resolution for frame (in Quadro 4000/5000/6000 SDI DU-05337-001_v01 | 64

  • 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
|
64
Chapter 05 : API Control
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
} NVGVOSYNCDELAY;
Video Mode Information Structure
typedef struct NVVIDEOMODE
{
DWORD
dwHorizontalPixels;
// Horizontal resolution (in
pixels)
DWORD
dwVerticalLines; // Vertical resolution for frame (in
lines)