NVIDIA FX5500 User Guide - Page 63

Output Region Structure, Gamma Ramp (8-bit Index) Structure, Height of region in pixels

Page 63 highlights

CHAPTER 5 API Control NVGVOOWNERTYPE ownerType; // Owner type for video output (OpenGL application or Desktop mode) BOOL bframeLockEnable; // Framelock enable flag BOOL bOutputVideoLocked; // Output locked status int nDataIntegrityCheckErrorCount; // Data integrity check error count BOOL bDataIntegrityCheckEnabled; // Data integrity check status enabled BOOL bDataIntegrityCheckFailed; // Data integrity check status failed } NVGVOSTATUS; Output Region Structure typedef struct tagNVGVOOUTPUTREGION { WORD x; WORD y; WORD width; WORD height; } NVGVOOUTPUTREGION; // Horizontal origin in pixels // Vertical origin in pixels // Width of region in pixels // Height of region in pixels Gamma Ramp (8-bit Index) Structure typedef struct tagNVGAMMARAMP8 { WORD cbSize; WORD wRed[256]; WORD wGreen[256]; WORD wBlue[256]; } NVGAMMARAMP8; // Caller sets to sizeof(NVGAMMARAMP8) // Red channel gamma ramp (8-bit index, 16-bit values) // Green channel gamma ramp (8-bit index, 16-bit values) // Blue channel gamma ramp (8-bit index, 16-bit values) Gamma Ramp (10-bit Index) Structure typedef struct tagNVGAMMARAMP10 { WORD cbSize; WORD wRed[1024]; WORD wGreen[1024]; WORD wBlue[1024]; // Caller sets to sizeof(NVGAMMARAMP10) // Red channel gamma ramp (10-bit index, 16-bit values) // Green channel gamma ramp (10-bit index, 16-bit values) // Blue channel gamma ramp NVIDIA Corporation Quadro FX 4500/5500 SDI User's Guide - Version 2.0 59

  • 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
59
C
HAPTER
5
API Control
NVGVOOWNERTYPE
ownerType;
// Owner type for video output
(OpenGL application or Desktop mode)
BOOL
bframeLockEnable;
// Framelock enable flag
BOOL
bOutputVideoLocked;
// Output locked status
int
nDataIntegrityCheckErrorCount;
// Data integrity check error count
BOOL
bDataIntegrityCheckEnabled;
// Data integrity check status enabled
BOOL
bDataIntegrityCheckFailed;
// Data integrity check status failed
} NVGVOSTATUS;
Output Region Structure
typedef struct tagNVGVOOUTPUTREGION
{
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
} NVGVOOUTPUTREGION;
Gamma Ramp (8-bit Index) Structure
typedef struct tagNVGAMMARAMP8
{
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 tagNVGAMMARAMP10
{
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