Lines Matching defs:surf
40 vlVaRegionDefault(const VARectangle *region, vlVaSurface *surf,
48 def->width = surf->templat.width;
49 def->height = surf->templat.height;
213 vlVaSurface *surf;
215 surf = handle_table_get(drv->htab, context->target_id);
216 surf->templat.interlaced = false;
219 if (vlVaHandleSurfaceAllocate(drv, surf, &surf->templat, NULL, 0) != VA_STATUS_SUCCESS)
222 dst = context->target = surf->buffer;
393 vlVaSurface *surf;
395 surf = handle_table_get(drv->htab, context->target_id);
396 surf->templat.interlaced = src_surface->templat.interlaced;
397 surf->templat.buffer_format = src_surface->templat.buffer_format;
398 surf->buffer->destroy(surf->buffer);
400 if (vlVaHandleSurfaceAllocate(drv, surf, &surf->templat, NULL, 0) != VA_STATUS_SUCCESS)
403 pipe_resource_reference(&(((struct vl_video_buffer *)(surf->buffer))->resources[0]), ((struct vl_video_buffer *)(src_surface->buffer))->resources[0]);
404 context->target = surf->buffer;
418 vlVaSurface *surf;
419 surf = dst_surface;
420 surf->templat.interlaced = false;
423 if (vlVaHandleSurfaceAllocate(drv, surf, &surf->templat, NULL, 0) != VA_STATUS_SUCCESS)
426 dst = context->target = surf->buffer;