• Home
  • Raw
  • Download

Lines Matching refs:vdctx

141     VDPAUContext *vdctx = avctx->internal->hwaccel_priv_data;  in ff_vdpau_common_init()  local
156 vdctx->width = UINT32_MAX; in ff_vdpau_common_init()
157 vdctx->height = UINT32_MAX; in ff_vdpau_common_init()
166 vdctx->decoder = hwctx->context.decoder; in ff_vdpau_common_init()
167 vdctx->render = hwctx->context.render; in ff_vdpau_common_init()
168 vdctx->device = VDP_INVALID_HANDLE; in ff_vdpau_common_init()
172 vdctx->device = hwctx->device; in ff_vdpau_common_init()
173 vdctx->get_proc_address = hwctx->get_proc_address; in ff_vdpau_common_init()
192 vdctx->device = dev_ctx->device; in ff_vdpau_common_init()
193 vdctx->get_proc_address = dev_ctx->get_proc_address; in ff_vdpau_common_init()
202 status = vdctx->get_proc_address(vdctx->device, in ff_vdpau_common_init()
223 status = vdctx->get_proc_address(vdctx->device, in ff_vdpau_common_init()
231 status = surface_query_caps(vdctx->device, type, &supported, in ff_vdpau_common_init()
239 status = vdctx->get_proc_address(vdctx->device, in ff_vdpau_common_init()
247 status = decoder_query_caps(vdctx->device, profile, &supported, &max_level, in ff_vdpau_common_init()
252 status = decoder_query_caps(vdctx->device, profile, &supported, in ff_vdpau_common_init()
264 status = vdctx->get_proc_address(vdctx->device, VDP_FUNC_ID_DECODER_CREATE, in ff_vdpau_common_init()
271 status = vdctx->get_proc_address(vdctx->device, VDP_FUNC_ID_DECODER_RENDER, in ff_vdpau_common_init()
276 vdctx->render = func; in ff_vdpau_common_init()
278 status = create(vdctx->device, profile, width, height, avctx->refs, in ff_vdpau_common_init()
279 &vdctx->decoder); in ff_vdpau_common_init()
281 vdctx->width = avctx->coded_width; in ff_vdpau_common_init()
282 vdctx->height = avctx->coded_height; in ff_vdpau_common_init()
290 VDPAUContext *vdctx = avctx->internal->hwaccel_priv_data; in ff_vdpau_common_uninit() local
295 if (vdctx->device == VDP_INVALID_HANDLE) in ff_vdpau_common_uninit()
297 if (vdctx->width == UINT32_MAX && vdctx->height == UINT32_MAX) in ff_vdpau_common_uninit()
300 status = vdctx->get_proc_address(vdctx->device, in ff_vdpau_common_uninit()
307 status = destroy(vdctx->decoder); in ff_vdpau_common_uninit()
314 VDPAUContext *vdctx = avctx->internal->hwaccel_priv_data; in ff_vdpau_common_reinit() local
316 if (vdctx->device == VDP_INVALID_HANDLE) in ff_vdpau_common_reinit()
318 if (avctx->coded_width == vdctx->width && in ff_vdpau_common_reinit()
319 avctx->coded_height == vdctx->height && (!hwctx || !hwctx->reset)) in ff_vdpau_common_reinit()
339 VDPAUContext *vdctx = avctx->internal->hwaccel_priv_data; in ff_vdpau_common_end_frame() local
353 status = vdctx->render(vdctx->decoder, surf, &pic_ctx->info, in ff_vdpau_common_end_frame()