Searched refs:src_hwctx (Results 1 – 4 of 4) sorted by relevance
/third_party/ffmpeg/libavutil/ |
D | hwcontext_qsv.c | 617 AVQSVFramesContext *src_hwctx = src_ctx->hwctx; in qsv_frames_derive_from() local 625 dst_hwctx->surface_ids = av_mallocz_array(src_hwctx->nb_surfaces, in qsv_frames_derive_from() 629 for (i = 0; i < src_hwctx->nb_surfaces; i++) in qsv_frames_derive_from() 631 *(VASurfaceID*)src_hwctx->surfaces[i].Data.MemId; in qsv_frames_derive_from() 632 dst_hwctx->nb_surfaces = src_hwctx->nb_surfaces; in qsv_frames_derive_from() 640 dst_hwctx->surfaces = av_mallocz_array(src_hwctx->nb_surfaces, in qsv_frames_derive_from() 644 for (i = 0; i < src_hwctx->nb_surfaces; i++) in qsv_frames_derive_from() 646 (IDirect3DSurface9*)src_hwctx->surfaces[i].Data.MemId; in qsv_frames_derive_from() 647 dst_hwctx->nb_surfaces = src_hwctx->nb_surfaces; in qsv_frames_derive_from() 648 if (src_hwctx->frame_type == MFX_MEMTYPE_VIDEO_MEMORY_DECODER_TARGET) in qsv_frames_derive_from() [all …]
|
D | hwcontext_opencl.c | 1238 AVVAAPIDeviceContext *src_hwctx = src_ctx->hwctx; in opencl_device_derive() local 1243 (intptr_t)src_hwctx->display, in opencl_device_derive() 1251 .context = src_hwctx->display, in opencl_device_derive() 1266 AVDXVA2DeviceContext *src_hwctx = src_ctx->hwctx; in opencl_device_derive() local 1271 hr = IDirect3DDeviceManager9_OpenDeviceHandle(src_hwctx->devmgr, in opencl_device_derive() 1280 hr = IDirect3DDeviceManager9_LockDevice(src_hwctx->devmgr, in opencl_device_derive() 1303 IDirect3DDeviceManager9_UnlockDevice(src_hwctx->devmgr, in opencl_device_derive() 1311 IDirect3DDeviceManager9_CloseDeviceHandle(src_hwctx->devmgr, in opencl_device_derive() 1320 AVD3D11VADeviceContext *src_hwctx = src_ctx->hwctx; in opencl_device_derive() local 1325 (intptr_t)src_hwctx->device, in opencl_device_derive() [all …]
|
D | hwcontext_vaapi.c | 1655 AVDRMDeviceContext *src_hwctx = src_ctx->hwctx; in vaapi_device_derive() local 1660 if (src_hwctx->fd < 0) { in vaapi_device_derive() 1668 int node_type = drmGetNodeTypeFromFd(src_hwctx->fd); in vaapi_device_derive() 1676 fd = src_hwctx->fd; in vaapi_device_derive() 1678 render_node = drmGetRenderDeviceNameFromFd(src_hwctx->fd); in vaapi_device_derive() 1683 fd = src_hwctx->fd; in vaapi_device_derive() 1690 fd = src_hwctx->fd; in vaapi_device_derive() 1701 fd = src_hwctx->fd; in vaapi_device_derive() 1706 if (fd != src_hwctx->fd) { in vaapi_device_derive() 1713 if (fd == src_hwctx->fd) { in vaapi_device_derive()
|
D | hwcontext_vulkan.c | 1198 AVVAAPIDeviceContext *src_hwctx = src_ctx->hwctx; in vulkan_device_derive() local 1200 const char *vendor = vaQueryVendorString(src_hwctx->display); in vulkan_device_derive() 1215 AVDRMDeviceContext *src_hwctx = src_ctx->hwctx; in vulkan_device_derive() local 1218 int err = drmGetDevice(src_hwctx->fd, &drm_dev_info); in vulkan_device_derive() 1235 AVCUDADeviceContext *src_hwctx = src_ctx->hwctx; in vulkan_device_derive() local 1236 AVCUDADeviceContextInternal *cu_internal = src_hwctx->internal; in vulkan_device_derive()
|