Lines Matching defs:resources
585 struct pipe_resource *resources[VL_NUM_COMPONENTS];
622 memset(resources, 0, sizeof resources);
643 resources[i] = pscreen->resource_from_handle(pscreen, &res_templ, &whandle,
645 if (!resources[i]) {
651 surface->buffer = vl_video_buffer_create_ex2(drv->pipe, templat, resources);
660 pipe_resource_reference(&resources[i], NULL);
673 struct pipe_resource *resources[VL_NUM_COMPONENTS];
736 memset(resources, 0, sizeof resources);
755 resources[plane] = pscreen->resource_from_handle(pscreen, &res_templ, &whandle,
757 if (!resources[plane]) {
766 pipe_resource_reference(&res_templ.next, resources[plane]);
771 surface->buffer = vl_video_buffer_create_ex2(drv->pipe, templat, resources);
781 pipe_resource_reference(&resources[i], NULL);