Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dtest_subpicture.c69 XvImageFormatValues *subpics; in main() local
103 subpics = XvMCListSubpictureTypes(display, port_num, surface_type_id, &num_subpics); in main()
104 assert((subpics && num_subpics) > 0 || (!subpics && num_subpics == 0)); in main()
109 printf("\tid: 0x%08x\n", subpics[i].id); in main()
110 …printf("\ttype: %s\n", subpics[i].type == XvRGB ? "XvRGB" : (subpics[i].type == XvYUV ? "XvYUV" : … in main()
111 …printf("\tbyte_order: %s\n", subpics[i].byte_order == LSBFirst ? "LSB First" : (subpics[i].byte_or… in main()
112 PrintGUID(subpics[i].guid); in main()
113 printf("\tbpp: %u\n", subpics[i].bits_per_pixel); in main()
114 …printf("\tformat: %s\n", subpics[i].format == XvPacked ? "XvPacked" : (subpics[i].format == XvPlan… in main()
115 printf("\tnum_planes: %u\n", subpics[i].num_planes); in main()
[all …]
/external/mesa3d/src/gallium/state_trackers/va/
Dsubpicture.c239 util_dynarray_append(&surf->subpics, vlVaSubpicture *, sub); in vlVaAssociateSubpicture()
274 array = surf->subpics.data; in vlVaDeassociateSubpicture()
278 for (j = 0; j < surf->subpics.size/sizeof(vlVaSubpicture *); j++) { in vlVaDeassociateSubpicture()
283 while (surf->subpics.size && util_dynarray_top(&surf->subpics, vlVaSubpicture *) == NULL) in vlVaDeassociateSubpicture()
284 (void)util_dynarray_pop(&surf->subpics, vlVaSubpicture *); in vlVaDeassociateSubpicture()
Dsurface.c81 util_dynarray_fini(&surf->subpics); in vlVaDestroySurfaces()
189 if (!(surf->subpics.data || surf->subpics.size)) in vlVaPutSubpictures()
192 for (i = 0; i < surf->subpics.size/sizeof(vlVaSubpicture *); i++) { in vlVaPutSubpictures()
200 sub = ((vlVaSubpicture **)surf->subpics.data)[i]; in vlVaPutSubpictures()
778 util_dynarray_init(&surf->subpics, NULL); in vlVaCreateSurfaces2()
Dva_private.h305 struct util_dynarray subpics; /* vlVaSubpicture */ member