other sections
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;
??????¶
- dpy
- Xv ?????Ф? Xv ???饤?????Ȥ????Υꥯ?????Ȥ??????դ????ǥ????ץ쥤???? ?????ꤹ?롣?ǥ????ץ쥤?????ꤹ?륪?ץ??????ꤵ???Ƥ??ʤ????С?Xv ?? DISPLAY ?Ķ??ѿ??ǻ??ꤵ???Ƥ????ǥ????ץ쥤???Ȥ????ǥ????ץ쥤 ???ꥪ?ץ??????ϡ֥ۥ???̾:?ֹ??פȤ????????Ǥ??롣?????? 1 ??(:)?Ǥ? ?????????? 2 ??(::)???Ȥä??????ˤϡ??ȥ??ݡ????ؤ? DECnet ???Ȥ? ???Ȥ????ꤵ???롣
- draw
- ?????ץ????????ᤵ???륹??????Υɥ??????֥??????ꤹ?롣
- p_num_adaptors
- ???ꤵ?줿??????????Ф??륢???ץ??ο??ؤΥݥ????֤????롣
- pp_adaptor_info
- ?֤??줿?????ץ??????Υꥹ?ȤؤΥݥ????֤????롣
????¶
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;
- base_id
- ?ǽ??Υ????ץ??ݡ??ȤΥ???? ID.
- num_ports
- ?????ץ??????ݡ??Ȥ??Ƥ????ݡ??ȿ???
- type
- ?ӥåȥޥ??????????ץ????ӥǥ????Ϥݡ??Ȥ??Ƥ????С?XvInputMask ?? ?ӥåȤ?Ω?????????ץ????ӥǥ????Ϥݡ??Ȥ??Ƥ????С?XvOutputMask ?ΥӥåȤ?Ω?ġ?
- name
- ?????ץ??????̤????٥?????ͭ??̾?Ρ?
- num_formats
- ?????ץ??????ݡ??Ȥ??Ƥ??뿼??/?ӥ??奢?? ID ?????μ????ο???
- formats
- XvFormat ??¤?Τ??????ؤΥݥ???
XvFormat ??¤?Τ????Ƥϰʲ??Ǥ???:
typedef struct {
char depth;
unsigned long visual_id;
} XvFormat;
?֤???¶
- [Success]
- XvQueryAdaptors(3X) ???????˽?λ???????֤????롣
- [XvBadExtension]
- Xv ??ǽ??ĥ?????ѤǤ??ʤ???
- [XvBadAlloc]
- XvQueryAdaptors(3X) ?????ꥯ?????Ȥ????????뤿???Υ??????γ??????Ƥ˼? ?Ԥ??????????֤????롣
????¶
- [Drawable]
- ?ᤵ?줿?ɥ??????֥뤬¸?ߤ??ʤ????????֤????롣
??Ϣ????¶
XvFreeAdaptorInfo(3X)
Version 4.1.0 | XFree86 |