Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/frontends/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 …]
/third_party/mesa3d/src/gallium/frontends/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.c82 util_dynarray_fini(&surf->subpics); in vlVaDestroySurfaces()
223 if (!(surf->subpics.data || surf->subpics.size)) in vlVaPutSubpictures()
226 for (i = 0; i < surf->subpics.size/sizeof(vlVaSubpicture *); i++) { in vlVaPutSubpictures()
234 sub = ((vlVaSubpicture **)surf->subpics.data)[i]; in vlVaPutSubpictures()
1031 util_dynarray_init(&surf->subpics, NULL); in vlVaCreateSurfaces2()
Dva_private.h335 struct util_dynarray subpics; /* vlVaSubpicture */ member