Section: Misc. Reference Manual Pages (3x)
Updated: libXv 1.0.1
Return to Main Contents
XvQueryBestSize - determine the optimum drawable region size
XvQueryBestSize(dpy, port, motion, vw, vh, dw, dh, p_dw, p_dh)
int vw, vh;
unsigned int dw, dh;
unsigned int *p_dw, *p_dh;
Specifies the display screen on which the
Xv Server is to accept requests from Xv clients. If the
display option is not specified, Xv uses the display screen
specified by your DISPLAY environment variable. The display
option has the format hostname:number. Using two colons
(::) instead of one (:) indicates that DECnet is to be used
Defines the port associated with the display and adaptor for which
the optimum size is to be calculated.
Specifies True if the destination size needs to support
full motion, and False if the destination size need only
support still images.
Specifies the size of the source video region desired.
Specifies the size of the destination drawable region desired.
Pointers to where the closest destination sizes supported by the server are
Some ports may be able to scale incoming or outgoing video.
XvQueryBestSize(3x) returns the size of the closest destination
region that is supported by the adaptor. The returned size is
guaranteed to be smaller than the requested size if a smaller
size is supported.
Returned if XvQueryBestSize(3x) completed successfully.
Returned if the Xv extension is unavailable.
Returned if XvQueryBestSize(3x) failed to allocate memory to process
Generated if the requested port does not exist.
- Returned Values
linux.jgfs.net manual pages