Home
last modified time | relevance | path

Searched refs:adaptor_info (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/
Dtestlib.c57 XvAdaptorInfo *adaptor_info; in GetPort() local
65 if (XvQueryAdaptors(display, XDefaultRootWindow(display), &num_adaptors, &adaptor_info) != Success) in GetPort()
70 if (adaptor_info[i].type & XvImageMask) in GetPort()
72 …XvMCSurfaceInfo *surface_info = XvMCListSurfaceTypes(display, adaptor_info[i].base_id, &num_types); in GetPort()
89 for (l = 0; l < adaptor_info[i].num_ports && !found_port; ++l) in GetPort()
91 if (XvGrabPort(display, adaptor_info[i].base_id + l, CurrentTime) == Success) in GetPort()
93 *port_id = adaptor_info[i].base_id + l; in GetPort()
110 XvFreeAdaptorInfo(adaptor_info); in GetPort()
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dtestlib.c57 XvAdaptorInfo *adaptor_info; in GetPort() local
65 if (XvQueryAdaptors(display, XDefaultRootWindow(display), &num_adaptors, &adaptor_info) != Success) in GetPort()
70 if (adaptor_info[i].type & XvImageMask) in GetPort()
72 …XvMCSurfaceInfo *surface_info = XvMCListSurfaceTypes(display, adaptor_info[i].base_id, &num_types); in GetPort()
89 for (l = 0; l < adaptor_info[i].num_ports && !found_port; ++l) in GetPort()
91 if (XvGrabPort(display, adaptor_info[i].base_id + l, CurrentTime) == Success) in GetPort()
93 *port_id = adaptor_info[i].base_id + l; in GetPort()
110 XvFreeAdaptorInfo(adaptor_info); in GetPort()
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dcontext.c53 XvAdaptorInfo *adaptor_info; in Validate() local
71 ret = XvQueryAdaptors(dpy, XRootWindow(dpy, i), &num_adaptors, &adaptor_info); in Validate()
76 for (unsigned int k = 0; k < adaptor_info[j].num_ports && !*found_port; ++k) { in Validate()
79 if (adaptor_info[j].base_id + k != port) in Validate()
84 surface_info = XvMCListSurfaceTypes(dpy, adaptor_info[j].base_id, &num_types); in Validate()
86 XvFreeAdaptorInfo(adaptor_info); in Validate()
120 XvFreeAdaptorInfo(adaptor_info); in Validate()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/
Dcontext.c53 XvAdaptorInfo *adaptor_info; in Validate() local
71 ret = XvQueryAdaptors(dpy, XRootWindow(dpy, i), &num_adaptors, &adaptor_info); in Validate()
76 for (unsigned int k = 0; k < adaptor_info[j].num_ports && !*found_port; ++k) { in Validate()
79 if (adaptor_info[j].base_id + k != port) in Validate()
84 surface_info = XvMCListSurfaceTypes(dpy, adaptor_info[j].base_id, &num_types); in Validate()
86 XvFreeAdaptorInfo(adaptor_info); in Validate()
120 XvFreeAdaptorInfo(adaptor_info); in Validate()