XvQueryBestSize man page on Peanut

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
Peanut logo
[printable version]

XvQueryBestSize(3)					    XvQueryBestSize(3)

Name
       XvQueryBestSize - determine the optimum drawable region size

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

Arguments
       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 calculated.

       motion	      Specifies True if the destination size needs to  support
		      full motion, and False if the destination 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 sup‐
		      ported by the server are returned.

Description
       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.

Returned Values
       [Success]
	       Returned if XvQueryBestSize(3) completed successfully.

       [XvBadExtension]
	       Returned if the Xv extension is unavailable.

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

Diagnostics
       [XvBadPort]
	       Generated if the requested port does not exist.

X Version 11			  libXv 1.0.4		    XvQueryBestSize(3)
[top]

List of man pages available for Peanut

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net