Lines Matching defs:vdctx

146     VDPAUContext *vdctx = avctx->internal->hwaccel_priv_data;
161 vdctx->width = UINT32_MAX;
162 vdctx->height = UINT32_MAX;
171 vdctx->decoder = hwctx->context.decoder;
172 vdctx->render = hwctx->context.render;
173 vdctx->device = VDP_INVALID_HANDLE;
177 vdctx->device = hwctx->device;
178 vdctx->get_proc_address = hwctx->get_proc_address;
197 vdctx->device = dev_ctx->device;
198 vdctx->get_proc_address = dev_ctx->get_proc_address;
207 status = vdctx->get_proc_address(vdctx->device,
228 status = vdctx->get_proc_address(vdctx->device,
236 status = surface_query_caps(vdctx->device, type, &supported,
244 status = vdctx->get_proc_address(vdctx->device,
252 status = decoder_query_caps(vdctx->device, profile, &supported, &max_level,
257 status = decoder_query_caps(vdctx->device, profile, &supported,
269 status = vdctx->get_proc_address(vdctx->device, VDP_FUNC_ID_DECODER_CREATE,
276 status = vdctx->get_proc_address(vdctx->device, VDP_FUNC_ID_DECODER_RENDER,
281 vdctx->render = func;
283 status = create(vdctx->device, profile, width, height, avctx->refs,
284 &vdctx->decoder);
286 vdctx->width = avctx->coded_width;
287 vdctx->height = avctx->coded_height;
295 VDPAUContext *vdctx = avctx->internal->hwaccel_priv_data;
300 if (vdctx->device == VDP_INVALID_HANDLE)
302 if (vdctx->width == UINT32_MAX && vdctx->height == UINT32_MAX)
305 status = vdctx->get_proc_address(vdctx->device,
312 status = destroy(vdctx->decoder);
319 VDPAUContext *vdctx = avctx->internal->hwaccel_priv_data;
321 if (vdctx->device == VDP_INVALID_HANDLE)
323 if (avctx->coded_width == vdctx->width &&
324 avctx->coded_height == vdctx->height && (!hwctx || !hwctx->reset))
344 VDPAUContext *vdctx = avctx->internal->hwaccel_priv_data;
358 status = vdctx->render(vdctx->decoder, surf, &pic_ctx->info,