Lines Matching refs:surfaces
56 int num_surfaces, VASurfaceID *surfaces) in vlVaCreateSurfaces() argument
58 return vlVaCreateSurfaces2(ctx, format, width, height, surfaces, num_surfaces, in vlVaCreateSurfaces()
596 struct pipe_surface **surfaces; in vlVaHandleSurfaceAllocate() local
603 surfaces = surface->buffer->get_surfaces(surface->buffer); in vlVaHandleSurfaceAllocate()
607 if (!surfaces[i]) in vlVaHandleSurfaceAllocate()
613 drv->pipe->clear_render_target(drv->pipe, surfaces[i], &c, 0, 0, in vlVaHandleSurfaceAllocate()
614 surfaces[i]->width, surfaces[i]->height, in vlVaHandleSurfaceAllocate()
625 VASurfaceID *surfaces, unsigned int num_surfaces, in vlVaCreateSurfaces2() argument
741 memset(surfaces, VA_INVALID_ID, num_surfaces * sizeof(VASurfaceID)); in vlVaCreateSurfaces2()
779 surfaces[i] = handle_table_add(drv->htab, surf); in vlVaCreateSurfaces2()
780 if (!surfaces[i]) { in vlVaCreateSurfaces2()
798 vlVaDestroySurfaces(ctx, surfaces, i); in vlVaCreateSurfaces2()
936 struct pipe_surface **surfaces; in vlVaExportSurfaceHandle() local
984 surfaces = surf->buffer->get_surfaces(surf->buffer); in vlVaExportSurfaceHandle()
1001 if (!surfaces[p]) in vlVaExportSurfaceHandle()
1004 resource = surfaces[p]->texture; in vlVaExportSurfaceHandle()