Nvidia 5500 User Manual

Page of 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.