XSGIvcSetOutputPhaseH(3)XSGIvcSetOutputPhaseH(3)
NAME
XSGIvcSetOutputPhaseH, XSGIvcQueryOutputPhaseH - Video
Horizontal Phase Operations
SYNOPSIS
#include <X11/extensions/XSGIvc.h>
void XSGIvcSetOutputPhaseH(Display *display,
int screen,
int channel,
int phaseH)
Status XSGIvcQueryOutputPhaseH(Display *display,
int screen,
int channel,
int *phaseHReturn)
PARAMETERS
display Specifies the connection to the X server.
screen Specifies the screen of the X server.
channel Specifies the channel number.
phaseH The value to which the horizontal phase should
be set.
phaseHReturn
Returns the value to which the horizontal phase
is set.
DESCRIPTION
These functions allow alteration and query of the horizontal
phase relationship to genlock input (also known as genlock
delay). This control is only active when the server is
locked to an external source. The units are specified in
terms of pixels, such that:
1 unit = 0.01 pixels
Accuracy is not guaranteed because of variations in
hardware, but will be close to the value you specify.
Precision depends upon server implementation and is not
guaranteed to be uniform across the full range. You should
get the current setting from the server after a set
operation to determine the value to which the server is set.
The function XSGIvcQueryChannelInfo returns the range of
values that are valid on this channel.
Note that this function is valid only when the server is
Page 1 (printed 7/20/06)
XSGIvcSetOutputPhaseH(3)XSGIvcSetOutputPhaseH(3)
genlocked to an external source; it is not valid when the
server is framelocked or is in frame reset mode.
XSGIvcSetOutputPhaseH sets the video horizontal phase of a
channel.
XSGIvcQueryOutputPhaseH returns the current settings of the
horizontal phase of a channel.
EVENTS
When this control is altered, the server generates a
OutputPhaseHNotify event.
RETURNED VALUE
XSGIvcQueryOutputPhaseH returns TRUE if successful, FALSE
upon failure. Parameter errors are reported via BadValue or
BadMatch.
SEE ALSO
XSGIvc(3), XSGIvcSetScreenInputSyncSource(3)
Page 2 (printed 7/20/06)