/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/ |
test_subpicture.c | 69 XvMCSubpicture subpicture = {0}; local 105 printf("Subpicture %d:\n", i); 144 assert(XvMCCreateSubpicture(display, NULL, &subpicture, subpic_width, subpic_height, subpics[0].id) == XvMCBadContext); 145 /* Test NULL subpicture */ 147 /* Test invalid subpicture */ 148 assert(XvMCCreateSubpicture(display, &context, &subpicture, subpic_width, subpic_height, -1) == BadMatch); 150 assert(XvMCCreateSubpicture(display, &context, &subpicture, 16384, subpic_height, subpics[0].id) == BadValue); 152 assert(XvMCCreateSubpicture(display, &context, &subpicture, subpic_width, 16384, subpics[0].id) == BadValue); 154 assert(XvMCCreateSubpicture(display, &context, &subpicture, 16384, 16384, subpics[0].id) == BadValue); 158 assert(XvMCCreateSubpicture(display, &context, &subpicture, subpic_width, subpic_height, subpics[i].id) == Success) [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
test_subpicture.c | 69 XvMCSubpicture subpicture = {0}; local 105 printf("Subpicture %d:\n", i); 144 assert(XvMCCreateSubpicture(display, NULL, &subpicture, subpic_width, subpic_height, subpics[0].id) == XvMCBadContext); 145 /* Test NULL subpicture */ 147 /* Test invalid subpicture */ 148 assert(XvMCCreateSubpicture(display, &context, &subpicture, subpic_width, subpic_height, -1) == BadMatch); 150 assert(XvMCCreateSubpicture(display, &context, &subpicture, 16384, subpic_height, subpics[0].id) == BadValue); 152 assert(XvMCCreateSubpicture(display, &context, &subpicture, subpic_width, 16384, subpics[0].id) == BadValue); 154 assert(XvMCCreateSubpicture(display, &context, &subpicture, 16384, 16384, subpics[0].id) == BadValue); 158 assert(XvMCCreateSubpicture(display, &context, &subpicture, subpic_width, subpic_height, subpics[i].id) == Success) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/ |
xvmc_private.h | 78 /* The subpicture associated with this surface, if any. */ 79 XvMCSubpicture *subpicture; member in struct:__anon18864 90 /* optional palette for this subpicture */ 96 /* The surface this subpicture is currently associated with, if any. */ 99 /* Some XvMC functions take a subpicture but not a context, 100 so we keep track of which context each subpicture belongs to. */
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
xvmc_private.h | 78 /* The subpicture associated with this surface, if any. */ 79 XvMCSubpicture *subpicture; member in struct:__anon11348 90 /* optional palette for this subpicture */ 96 /* The surface this subpicture is currently associated with, if any. */ 99 /* Some XvMC functions take a subpicture but not a context, 100 so we keep track of which context each subpicture belongs to. */
|
/hardware/intel/img/psb_video/src/x11/ |
psb_coverlay.c | 385 PsbVASurfaceRec *subpicture, 401 struct _WsbmBufferObject *bo = subpicture->bo; 407 if (subpicture->fourcc != VA_FOURCC_RGBA) { 408 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s: Invalid image format, ONLY support RGBA subpicture now.\n", __func__); 412 for (i = 0; subpicture != NULL; subpicture = subpicture->next, i++) { 413 srcx = subpicture->subpic_srcx; 414 srcy = subpicture->subpic_srcy; 415 srcw = subpicture->subpic_srcw 851 PsbVASurfaceRec *subpicture = (PsbVASurfaceRec *)obj_surface->subpictures; local 1285 PsbVASurfaceRec *subpicture = (PsbVASurfaceRec *)obj_surface->subpictures; local [all...] |
/hardware/intel/img/psb_video/src/ |
psb_output.c | 64 /* surfaces link list associated with a subpicture */ 1549 VASubpictureID subpicture = obj_subpic->subpic_id; local [all...] |