Lines Matching defs:drv

55 vlVaPostProcCompositor(vlVaDriver *drv, vlVaContext *context,
80 vl_compositor_clear_layers(&drv->cstate);
81 vl_compositor_set_buffer_layer(&drv->cstate, &drv->compositor, 0, src,
83 vl_compositor_set_layer_dst_area(&drv->cstate, 0, &dst_rect);
84 vl_compositor_render(&drv->cstate, &drv->compositor, surfaces[0], NULL, false);
86 drv->pipe->flush(drv->pipe, NULL, 0);
114 static VAStatus vlVaVidEngineBlit(vlVaDriver *drv, vlVaContext *context,
182 static VAStatus vlVaPostProcBlit(vlVaDriver *drv, vlVaContext *context,
215 surf = handle_table_get(drv->htab, context->target_id);
219 if (vlVaHandleSurfaceAllocate(drv, surf, &surf->templat, NULL, 0) != VA_STATUS_SUCCESS)
240 vl_compositor_convert_rgb_to_yuv(&drv->cstate, &drv->compositor, 0,
248 vl_compositor_yuv_deint_full(&drv->cstate, &drv->compositor,
294 if (drv->pipe->screen->get_param(drv->pipe->screen,
296 util_compute_blit(drv->pipe, &blit, &context->blit_cs, !drv->compositor.deinterlace);
298 drv->pipe->blit(drv->pipe, &blit);
302 drv->pipe->flush(drv->pipe, NULL, 0);
308 vlVaApplyDeint(vlVaDriver *drv, vlVaContext *context,
319 prevprev = handle_table_get(drv->htab, param->forward_references[1]);
320 prev = handle_table_get(drv->htab, param->forward_references[0]);
321 next = handle_table_get(drv->htab, param->backward_references[0]);
335 if (!vl_deint_filter_init(context->deint, drv->pipe, current->width,
353 vlVaHandleVAProcPipelineParameterBufferType(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf)
364 if (!drv || !context)
375 src_surface = handle_table_get(drv->htab, param->surface);
376 dst_surface = handle_table_get(drv->htab, context->target_id);
378 pscreen = drv->vscreen->pscreen;
395 surf = handle_table_get(drv->htab, context->target_id);
400 if (vlVaHandleSurfaceAllocate(drv, surf, &surf->templat, NULL, 0) != VA_STATUS_SUCCESS)
423 if (vlVaHandleSurfaceAllocate(drv, surf, &surf->templat, NULL, 0) != VA_STATUS_SUCCESS)
430 vlVaBuffer *buf = handle_table_get(drv->htab, param->filters[i]);
453 src = vlVaApplyDeint(drv, context, param, src,
461 drv->compositor.deinterlace = deinterlace;
481 context->decoder = drv->pipe->create_video_codec(drv->pipe, &context->templat);
487 if (VA_STATUS_SUCCESS == vlVaVidEngineBlit(drv, context, src_region, dst_region,
496 return vlVaPostProcCompositor(drv, context, src_region, dst_region,
499 return vlVaPostProcBlit(drv, context, src_region, dst_region,