Scroll to navigation

XvQueryAdaptors(3X) XvQueryAdaptors(3X)

̾??

XvQueryAdaptors - ?????꡼???ˤĤ??ƤΥ????ץ????????֤?

????

#include <X11/extensions/Xvlib.h>

XvQueryAdaptors(dpy, win, p_num_adaptors, pp_adaptor_info)

Display *dpy;
Drawable draw;
int *p_num_adaptors;
XvAdaptorInfo **pp_adaptor_info;

??????

Xv ?????Ф? Xv ???饤?????Ȥ????Υꥯ?????Ȥ??????դ????ǥ????ץ쥤???? ?????ꤹ?롣?ǥ????ץ쥤?????ꤹ?륪?ץ????󤬻??ꤵ???Ƥ??ʤ????С?Xv ?? DISPLAY ?Ķ??ѿ??ǻ??ꤵ???Ƥ????ǥ????ץ쥤???Ȥ????ǥ????ץ쥤 ???ꥪ?ץ??????ϡ֥ۥ???̾:?ֹ??פȤ????????Ǥ??롣?????? 1 ??(:)?Ǥ? ?????????? 2 ??(::)???Ȥä??????ˤϡ??ȥ??󥹥ݡ????ؤ? DECnet ???Ȥ? ???Ȥ????ꤵ???롣
?????ץ????????׵ᤵ???륹???꡼???Υɥ??????֥??????ꤹ?롣
???ꤵ?줿?????꡼?????Ф??륢???ץ??ο??ؤΥݥ??󥿤??֤????롣
?֤??줿?????ץ??????Υꥹ?ȤؤΥݥ??󥿤??֤????롣

????

XvQueryAdaptors(3X) ?ϡ????ꤵ?줿?ɥ??????֥??Υ????꡼?????Ф????ӥ? ???????ץ??ξ??????֤???XvAdaptorInfo ?????Ƥϰʲ??Ǥ???:


typedef struct {
XvPortID base_id;
unsigned long num_ports;
char type;
char *name;
unsigned long num_formats;
XvFormat *formats;
unsigned long num_adaptors;
} XvAdaptorInfo;
?ǽ??Υ????ץ??ݡ??ȤΥ꥽???? ID.
?????ץ??????ݡ??Ȥ??Ƥ????ݡ??ȿ???
?ӥåȥޥ??????????ץ????ӥǥ????Ϥ򥵥ݡ??Ȥ??Ƥ????С?XvInputMask ?? ?ӥåȤ?Ω?????????ץ????ӥǥ????Ϥ򥵥ݡ??Ȥ??Ƥ????С?XvOutputMask ?ΥӥåȤ?Ω?ġ?
?????ץ??????̤????٥?????ͭ??̾?Ρ?
?????ץ??????ݡ??Ȥ??Ƥ??뿼??/?ӥ??奢?? ID ?????μ????ο???
XvFormat ??¤?Τ??????ؤΥݥ??󥿡?

XvFormat ??¤?Τ????Ƥϰʲ??Ǥ???:


typedef struct {
char depth;
unsigned long visual_id;
} XvFormat;
?????ץ??????ݡ??Ȥ??Ƥ????ɥ??????֥??ο?????
?????ץ??????ꤵ?줿?????ˤ????ƥ??ݡ??Ȥ??Ƥ????ӥ??奢?? ID.

?֤???

[Success]
XvQueryAdaptors(3X) ???????˽?λ???????֤????롣
[XvBadExtension]
Xv ??ǽ??ĥ?????ѤǤ??ʤ???
[XvBadAlloc]
XvQueryAdaptors(3X) ?????ꥯ?????Ȥ????????뤿???Υ??????γ??????Ƥ˼? ?Ԥ??????????֤????롣

????

[Drawable]
?׵ᤵ?줿?ɥ??????֥뤬¸?ߤ??ʤ????????֤????롣

??Ϣ????

XvFreeAdaptorInfo(3X)

Version 4.1.0 XFree86