/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:__anon13075 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:__anon23542 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. */
|