NVIDIA Corporation
Quadro FX 4800/5800 and Quadro CX SDI User’s Guide
– Version 1.0
75
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.
NV_CTRL_GVO Attributes
The
NV_CTRL_GVO*
integer
attributes
are
used
to
configure
GVO
(graphics
to
video
out)
functionality
on
the
Quadro
FX
4800/5800
SDI
graphics
board.
The
following
is
a
typical
usage
pattern
for
the
GVO
attributes:
•
Query
to
determine
if
the
X
screen
supports
GV0.
•
Specify
(either
FREE_RUNNING,
GENLOCK,
or