Home Man
Today's Posts

Linux & Unix Commands - Search Man Pages

X11R7.4 - man page for xvquerybestsize (x11r4 section 3)

XvQueryBestSize(3)			       Library Functions Manual 			   XvQueryBestSize(3)

       XvQueryBestSize - determine the optimum drawable region size

       #include <X11/extensions/Xvlib.h>

       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);

       dpy	      Specifies the connection to the X server.

       port	      Defines  the  port  associated with the display and adaptor for which the optimum size is to be

       motion	      Specifies True if the destination size needs to support full motion, and False if the  destina-
		      tion size need only support still images.

       vw,vh	      Specifies the size of the source video region desired.

       dw,dh	      Specifies the size of the destination drawable region desired.

       p_dw,p_dh      Pointers to where the closest destination sizes supported by the server are returned.

       Some  ports may be able to scale incoming or outgoing video.  XvQueryBestSize(3) returns the size of the clos-
       est 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 Values
	       Returned if XvQueryBestSize(3) completed successfully.

	       Returned if the Xv extension is unavailable.

	       Returned if XvQueryBestSize(3) failed to allocate memory to process the request.

	       Generated if the requested port does not exist.

X Version 11					     libXv 1.0.4				   XvQueryBestSize(3)

All times are GMT -4. The time now is 07:27 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password