Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/frontends/xvmc/tests/
Dtestlib.c58 XvAdaptorInfo *adaptor_info; in GetPort() local
66 if (XvQueryAdaptors(display, XDefaultRootWindow(display), &num_adaptors, &adaptor_info) != Success) in GetPort()
71 if (adaptor_info[i].type & XvImageMask) in GetPort()
73 …XvMCSurfaceInfo *surface_info = XvMCListSurfaceTypes(display, adaptor_info[i].base_id, &num_types); in GetPort()
90 for (l = 0; l < adaptor_info[i].num_ports && !found_port; ++l) in GetPort()
92 if (XvGrabPort(display, adaptor_info[i].base_id + l, CurrentTime) == Success) in GetPort()
94 *port_id = adaptor_info[i].base_id + l; in GetPort()
111 XvFreeAdaptorInfo(adaptor_info); in GetPort()
/external/mesa3d/src/gallium/frontends/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()