Scroll to navigation

XvGetVideo(3X) XvGetVideo(3X)

̾??

XvGetVideo - ?ɥ??????֥뤫??ư????????????

????

include Xvlib.h

XvGetVideo(dpy, port, d, gc, vx, vy, vw, vh, dx, dy, dw, dh)

register Display *dpy;
XvPortID port;
Drawable d;
GC gc;
int vx, vy, dx, dy;
unsigned int vw, vh;
unsigned int dw, dh;

??????

Xv ?????Ф? Xv ???饤?????Ȥ????Υꥯ?????Ȥ??????դ????ǥ????ץ쥤???? ?????ꤹ?롣?ǥ????ץ쥤?????ꤹ?륪?ץ????󤬻??ꤵ???Ƥ??ʤ????С?Xv ?? DISPLAY ?Ķ??ѿ??ǻ??ꤵ???Ƥ????ǥ????ץ쥤???Ȥ????ǥ????ץ쥤 ???ꥪ?ץ??????ϡ֥ۥ???̾:?ֹ??פȤ????????Ǥ??롣?????? 1 ??(:)?Ǥ? ?????????? 2 ??(::)???Ȥä??????ˤϡ??ȥ??󥹥ݡ????ؤ? DECnet ???Ȥ? ???Ȥ????ꤵ???롣
?ӥǥ????Ϥ??????????ݡ??Ȥ????????롣
?ӥǥ????Ϥ??????????ɥ??????֥?(???????ɥ?)?????????롣
?????ե??å????????ƥ?????(GC)?????????롣GC ?ι??????Ǥ? subwindow-mode, clip-x-origin, clip-y-origin, clip-mask ?Ǥ??롣
?񤭹??ߤ??Ԥ??????ӥǥ??ΰ??ΰ??֤??礭???????????롣 vx ?? vy ?ϥӥǥ??ΰ??κ??????? x ??ɸ?? y ??ɸ?????????롣 vw ?? vh ?ϥӥǥ??ΰ??ι⤵???????ԥ?????ñ?̤????????롣
?ӥǥ????᡼?????????????ɥ??????֥??ΰ??֤??礭???????????롣 dx ?? dy ?ϡ??ɥ??????֥??ΰ??κ??????? x ??ɸ?? y ??ɸ?????????롣 dw ?? dh ?ϡ??ɥ??????֥??ΰ??????ȹ⤵???ԥ?????ñ?̤????????롣

????

?ϥɥ??????֥뤫????????????ư???????Ϥ??롣???????ζ????ΰ??ΰ??֤? ?礭???? vx, vy, vw, vh ?ǻ??ꤹ?롣 ???????ζ????ΰ??ΰ??֤??礭???? dx, dy, dw dh ?ǻ??ꤹ?롣

?ɥ??????֥??ǡ????ϡ??ɥ??????֥??ζ????ǥ????åפ??졢 ?׵ᤵ?줿?ӥǥ??ΰ????礭??(???뤤?ϡ????ݡ??Ȥ????Ƥ??뤦???Ǥ????? ?Ǥ??ᤤ?礭??)?˳??硦?̾????졢?ӥǥ????󥳡??ǥ??󥰤ζ????ǥ????åפ????롣 ?ɥ??????֥??ǡ????ǹ??????ʤ??ä??ΰ??????Ƥ?̤?????Ǥ??롣

?ӥǥ??????ޤ????Ϥ????顢?ܺ????ƤȤ??? XvStarted ?????? XvVideoNotify ???٥??Ȥ????Υɥ??????֥????Ф????????????롣?ݡ??Ȥ??? ?˻??????ʤ??С????Υӥǥ???????̵???ˤ??졢?????˿??????ɥ??????֥? ???Ť??ɥ??????֥??Ȱۤʤ??????ˤϡ??ܺ????ƤȤ??? XvPreempted ?????? XvVideoNotify ???٥??Ȥ??Ť??ɥ??????֥????Ф????????????롣¾?? ???饤?????Ȥ??ݡ??Ȥ򥰥??֤??Ƥ????ȡ??ܺ????ƤȤ??? XvBusy ?????? XvVideoNotify ???٥??Ȥ????Υɥ??????֥????Ф????????????롣

?֤???

[Success]
XvGetVideo(3X) ???????˽?λ???????֤????롣
[XvBadExtension]
Xv ??ǽ??ĥ???Ȥ??ʤ????????֤????롣
[XvBadAlloc]
XvGetVideo(3X) ???ꥯ?????Ȥ????????뤿???˻Ȥ????????γ??????Ƥ˼??? ???????????֤????롣

????

[XvBadPort]
?׵ᤵ?줿?ݡ??Ȥ?¸?ߤ??ʤ????????????????롣
[BadGC]
?׵ᤵ?줿?????ե??å????????ƥ????Ȥ?¸?ߤ??ʤ????????????????롣
[BadDrawable]
?׵ᤵ?줿?ɥ??????֥뤬¸?ߤ??ʤ????????????????롣
[BadAlloc]
?ꥯ?????Ȥ????????뤿???λ񸻤??Խ?ʬ?ʾ??????????????롣

??Ϣ????

XvGetStill(3X), XvPutVideo(3X), XvVideoNotify(3X)

Version 4.1.0 XFree86