MAN page from Mandriva 2010 libxv1-devel-1.0.4-3mdv2010.0.i586.rpm
Section: C Library Functions (3)
Updated: libXv 1.0.4Index
XvQueryBestSize - determine the optimum drawable region size
XvQueryBestSize(Display *dpy, XvPort port, Bool motion, unsigned int vw, unsigned int vh, unsigned int dw, unsigned int dh, unsigned int *p_dw, unsigned int *p_dh);
- Specifies the connection to the X server.
- 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 supportfull motion, and False if the destination size need onlysupport 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 arereturned.
Some ports may be able to scale incoming or outgoing video. XvQueryBestSize
(3) returns the size of the closest destinationregion that is supported by the adaptor. The returned size isguaranteed to be smaller than the requested size if a smaller size is supported.
- Returned if XvQueryBestSize(3) completed successfully.
- Returned if the Xv extension is unavailable.
- Returned if XvQueryBestSize(3) failed to allocate memory to processthe request.
- Generated if the requested port does not exist.
- Returned Values
This document was created byman2html,using the manual pages.