/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
test_context.c | 39 int surface_type_id; local 55 &surface_type_id, 72 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, NULL) == XvMCBadContext); 75 assert(XvMCCreateContext(display, -1, surface_type_id, width, height, XVMC_DIRECT, &context) == XvBadPort); 79 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, -1, &context) == BadValue); 81 assert(XvMCCreateContext(display, port_num, surface_type_id, 16384, height, XVMC_DIRECT, &context) == BadValue); 83 assert(XvMCCreateContext(display, port_num, surface_type_id, width, 16384, XVMC_DIRECT, &context) == BadValue); 85 assert(XvMCCreateContext(display, port_num, surface_type_id, 16384, 16384, XVMC_DIRECT, &context) == BadValue); 87 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success); 91 assert(context.surface_type_id == surface_type_id) [all...] |
test_surface.c | 39 int surface_type_id; local 56 &surface_type_id, 71 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success); 84 assert(surface.surface_type_id == surface_type_id);
|
test_blocks.c | 40 int surface_type_id; local 59 &surface_type_id, 74 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success);
|
testlib.c | 51 int *surface_type_id, 94 *surface_type_id = surface_info[j].surface_type_id;
|
testlib.h | 47 * surface_type_id: OUT Your port's surface ID 60 int *surface_type_id,
|
test_subpicture.c | 63 int surface_type_id; local 83 &surface_type_id, 98 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success); 100 subpics = XvMCListSubpictureTypes(display, port_num, surface_type_id, &num_subpics);
|
test_rendering.c | 140 int surface_type_id; local 165 &surface_type_id, 183 assert(XvMCCreateContext(display, port_num, surface_type_id, INPUT_WIDTH, INPUT_HEIGHT, XVMC_DIRECT, &context) == Success);
|
xvmc_bench.c | 182 int surface_type_id; local 211 &surface_type_id, 229 assert(XvMCCreateContext(display, port_num, surface_type_id, config.input_width, config.input_height, XVMC_DIRECT, &context) == Success);
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
context.c | 45 static Status Validate(Display *dpy, XvPortID port, int surface_type_id, 91 if (surface_info[l].surface_type_id != surface_type_id) 112 i, port, surface_type_id, max_width, max_height, *chroma_format, 181 Status XvMCCreateContext(Display *dpy, XvPortID port, int surface_type_id, 204 ret = Validate(dpy, port, surface_type_id, width, height, flags, 302 context->surface_type_id = surface_type_id;
|
subpicture.c | 110 static Status Validate(Display *dpy, XvPortID port, int surface_type_id, int xvimage_id) 116 subpictures = XvMCListSubpictureTypes(dpy, port, surface_type_id, &num_subpics); 136 port, surface_type_id, xvimage_id, subpictures[i].type, subpictures[i].byte_order, 221 ret = Validate(dpy, context->port, context->surface_type_id, xvimage_id);
|
surface.c | 198 surface->surface_type_id = context->surface_type_id;
|