Home
last modified time | relevance | path

Searched refs:device_priv (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavutil/
Dhwcontext_vdpau.c222 VDPAUDeviceContext *device_priv = ctx->device_ctx->internal->priv; in vdpau_buffer_free() local
225 device_priv->surf_destroy(surf); in vdpau_buffer_free()
233 VDPAUDeviceContext *device_priv = ctx->device_ctx->internal->priv; in vdpau_pool_alloc() local
239 err = device_priv->surf_create(device_hwctx->device, priv->chroma_type, in vdpau_pool_alloc()
249 device_priv->surf_destroy(surf); in vdpau_pool_alloc()
258 VDPAUDeviceContext *device_priv = ctx->device_ctx->internal->priv; in vdpau_frames_init() local
267 priv->pix_fmts = device_priv->pix_fmts[i]; in vdpau_frames_init()
268 priv->nb_pix_fmts = device_priv->nb_pix_fmts[i]; in vdpau_frames_init()
285 priv->get_data = device_priv->get_data; in vdpau_frames_init()
286 priv->put_data = device_priv->put_data; in vdpau_frames_init()
Dhwcontext_qsv.c216 QSVDeviceContext *device_priv = ctx->device_ctx->internal->priv; in qsv_init_child_ctx() local
226 if (!device_priv->handle) { in qsv_init_child_ctx()
233 child_device_ref = av_hwdevice_ctx_alloc(device_priv->child_device_type); in qsv_init_child_ctx()
241 child_device_hwctx->display = (VADisplay)device_priv->handle; in qsv_init_child_ctx()
247 child_device_hwctx->devmgr = (IDirect3DDeviceManager9*)device_priv->handle; in qsv_init_child_ctx()
264 child_frames_ctx->format = device_priv->child_pix_fmt; in qsv_init_child_ctx()
445 QSVDeviceContext *device_priv = ctx->device_ctx->internal->priv; in qsv_init_internal_session() local
460 err = MFXInit(device_priv->impl, &device_priv->ver, session); in qsv_init_internal_session()
466 if (device_priv->handle) { in qsv_init_internal_session()
467 err = MFXVideoCORE_SetHandle(*session, device_priv->handle_type, in qsv_init_internal_session()
[all …]
Dhwcontext_opencl.c2204 OpenCLDeviceContext *device_priv = dst_fc->device_ctx->internal->priv; in opencl_unmap_from_qsv() local
2212 cle = device_priv->clEnqueueReleaseVA_APIMediaSurfacesINTEL( in opencl_unmap_from_qsv()
2240 OpenCLDeviceContext *device_priv = dst_fc->device_ctx->internal->priv; in opencl_map_from_qsv() local
2278 device_priv->clCreateFromVA_APIMediaSurfaceINTEL( in opencl_map_from_qsv()
2291 cle = device_priv->clEnqueueAcquireVA_APIMediaSurfacesINTEL( in opencl_map_from_qsv()
2331 OpenCLDeviceContext *device_priv = dst_fc->device_ctx->internal->priv; in opencl_unmap_from_dxva2() local
2338 cle = device_priv->clEnqueueReleaseDX9MediaSurfacesKHR( in opencl_unmap_from_dxva2()
2356 OpenCLDeviceContext *device_priv = dst_fc->device_ctx->internal->priv; in opencl_map_from_dxva2() local
2378 cle = device_priv->clEnqueueAcquireDX9MediaSurfacesKHR( in opencl_map_from_dxva2()
2405 cle = device_priv->clEnqueueReleaseDX9MediaSurfacesKHR( in opencl_map_from_dxva2()
[all …]