Lines Matching refs:templat

527                             unsigned index, struct pipe_video_buffer *templat)  in suface_from_external_memory()  argument
543 if (surface->templat.width != memory_attibute->width || in suface_from_external_memory()
544 surface->templat.height != memory_attibute->height || in suface_from_external_memory()
567 res_templ.format = surface->templat.buffer_format; in suface_from_external_memory()
585 surface->buffer = vl_video_buffer_create_ex2(drv->pipe, templat, resources); in suface_from_external_memory()
594 struct pipe_video_buffer *templat) in vlVaHandleSurfaceAllocate() argument
599 surface->buffer = drv->pipe->create_video_buffer(drv->pipe, templat); in vlVaHandleSurfaceAllocate()
630 struct pipe_video_buffer templat; in vlVaCreateSurfaces2() local
712 memset(&templat, 0, sizeof(templat)); in vlVaCreateSurfaces2()
714 templat.buffer_format = pscreen->get_video_param( in vlVaCreateSurfaces2()
720 templat.interlaced = pscreen->get_video_param( in vlVaCreateSurfaces2()
730 if (expected_format != templat.buffer_format || memory_attibute) in vlVaCreateSurfaces2()
731 templat.interlaced = 0; in vlVaCreateSurfaces2()
733 templat.buffer_format = expected_format; in vlVaCreateSurfaces2()
736 templat.chroma_format = ChromaToPipe(format); in vlVaCreateSurfaces2()
738 templat.width = width; in vlVaCreateSurfaces2()
739 templat.height = height; in vlVaCreateSurfaces2()
751 surf->templat = templat; in vlVaCreateSurfaces2()
761 templat.bind = PIPE_BIND_LINEAR | PIPE_BIND_SHARED; in vlVaCreateSurfaces2()
763 vaStatus = vlVaHandleSurfaceAllocate(drv, surf, &templat); in vlVaCreateSurfaces2()
769 vaStatus = suface_from_external_memory(ctx, surf, memory_attibute, i, &templat); in vlVaCreateSurfaces2()
963 surf->templat.interlaced = false; in vlVaExportSurfaceHandle()
965 ret = vlVaHandleSurfaceAllocate(drv, surf, &surf->templat); in vlVaExportSurfaceHandle()
973 src_rect.x1 = dst_rect.x1 = surf->templat.width; in vlVaExportSurfaceHandle()
974 src_rect.y1 = dst_rect.y1 = surf->templat.height; in vlVaExportSurfaceHandle()