| XvQueryBestSize(3) | libXv Functions | XvQueryBestSize(3) |
XvQueryBestSize - determine the optimum drawable region size
#include <X11/extensions/Xvlib.h>
int 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);
Some ports may be able to scale incoming or outgoing video. XvQueryBestSize(3) 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.
| libXv 1.0.11 | X Version 11 |