Scroll to navigation

XvQueryBestSize(3X) XvQueryBestSize(3X)

̾??

XvQueryBestSize - ?ɥ??????֥??ΰ??κ?Ŭ???礭??????????

????

#include <X11/extensions/Xvlib.h>

XvQueryBestSize(dpy, port, motion, vw, vh, dw, dh, p_dw, p_dh)

Display *dpy;
XvPortID port;
Bool motion;
unsigned int vw, vh;
unsigned int dw, dh;
unsigned int *p_dw, *p_dh;

??????

Xv ?????Ф? Xv ???饤?????Ȥ????Υꥯ?????Ȥ??????դ????ǥ????ץ쥤???? ?????ꤹ?롣?ǥ????ץ쥤?????ꤹ?륪?ץ????󤬻??ꤵ???Ƥ??ʤ????С?Xv ?? DISPLAY ?Ķ??ѿ??ǻ??ꤵ???Ƥ????ǥ????ץ쥤???Ȥ????ǥ????ץ쥤 ???ꥪ?ץ??????ϡ֥ۥ???̾:?ֹ??פȤ????????Ǥ??롣?????? 1 ??(:)?Ǥ? ?????????? 2 ??(::)???Ȥä??????ˤϡ??ȥ??󥹥ݡ????ؤ? DECnet ???Ȥ? ???Ȥ????ꤵ???롣
??Ŭ?????????׻??????ǥ????ץ쥤?ȥ????ץ????б??????ݡ??Ȥ????????롣
???????Υ??????ǥե??⡼???????򥵥ݡ??Ȥ???ɬ?פ??????ʤ??? True ?????ꤹ?롣?Ż߲褷?????ݡ??Ȥ???ɬ?פ??ʤ????? False ?????ꤹ?롣
???????Ȥ??ƻȤ????Ȥ??Ƥ????ӥǥ??ΰ??Υ??????????ꤹ?롣
???????Ȥ??ƻȤ????Ȥ??Ƥ????ɥ??????֥??ΰ??Υ??????????ꤹ?롣
?????Ф????ݡ??Ȥ??Ƥ??????ǺǤ??ᤤ?????襵?????ؤΥݥ??󥿤??֤????롣

????

?ݡ??Ȥˤ??äƤϡ????Ϥ??뤤?Ͻ??ϤΥӥǥ????礭?????Ѥ??뤳?Ȥ??Ǥ??? ???⤷???ʤ??? XvQueryBestSize(3X) ?ϡ??????ץ??????ݡ??Ȥ??Ƥ??????ǺǤ??ᤤ???????? ?襵???????֤????롣?֤??????ͤϡ??׵ᤵ?줿???????????⾮???????Ȥ??? ?ڤ?????(???????????ξ??????ͤ????ݡ??Ȥ????Ƥ???????)??

?֤???

[Success]
XvQueryBestSize(3X) ?????ェλ???????????֤????롣
[XvBadExtension]
Xv ??ǽ??ĥ???Ȥ??ʤ????????֤????롣
[XvBadAlloc]
XvQueryBestSize(3X) ???ꥯ?????Ȥ????????뤿???Υ??????γ??????Ƥ˼??? ???????????֤????롣

????

[XvBadPort]
?׵ᤵ?줿?ݡ??Ȥ?¸?ߤ??ʤ????????????????롣
Version 4.1.0 XFree86