NVIDIA FX5500 User Guide - Page 85

XNVCTRLQueryGvoColorConversion() - fx 5500 video driver

Page 85 highlights

CHAPTER 5 API Control • Cr = colorOffset[1] + colorScale[1] * (R * colorMatrix[1][0] + G * colorMatrix[1][1] + B * colorMatrix[1][2]); • Cb = colorOffset[2] + colorScale[2] * (R * colorMatrix[2][0] + G * colorMatrix[2][1] + B * colorMatrix[2][2]); Possible errors: • BadMatch - The NVIDIA driver is not present on that screen. • BadImplementation - GVO is not available on that screen. XNVCTRLQueryGvoColorConversion() Bool XNVCTRLQueryGvoColorConversion ( Display *dpy, int screen, float colorMatrix[3][3], float colorOffset[3], float colorScale[3] ); This function retrieves the color conversion matrix and color offset that are currently being used for GVO (Graphic to Video Out). The values are ordered within the arrays according to the comments for XNVCTRLSetGvoColorConversion(). Possible errors: • BadMatch - The NVIDIA driver is not present on that screen. • BadImplementation - GVO is not available on that screen. NVIDIA Corporation Quadro FX 4500/5500 SDI User's Guide - Version 2.0 81

  • 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
81
C
HAPTER
5
API Control
Cr =
colorOffset[1] + colorScale[1] *
(R * colorMatrix[1][0] + G * colorMatrix[1][1] + B * colorMatrix[1][2]);
Cb =
colorOffset[2] + colorScale[2] *
(R * colorMatrix[2][0] + G * colorMatrix[2][1] + B * colorMatrix[2][2]);
Possible errors:
BadMatch - The NVIDIA driver is not present on that screen.
BadImplementation - GVO is not available on that screen.
XNVCTRLQueryGvoColorConversion()
Bool XNVCTRLQueryGvoColorConversion (
Display *dpy,
int screen,
float colorMatrix[3][3],
float colorOffset[3],
float colorScale[3]
);
This function retrieves the color conversion matrix and color offset that are currently
being used for GVO (Graphic to Video Out). The values are ordered within the arrays
according to the comments
for XNVCTRLSetGvoColorConversion().
Possible errors:
BadMatch - The NVIDIA driver is not present on that screen.
BadImplementation - GVO is not available on that screen.