Lines Matching refs:hwctx
157 AVOpenCLDeviceContext *hwctx = hwdev->hwctx; in opencl_device_free() local
160 cle = clReleaseContext(hwctx->context); in opencl_device_free()
273 AVOpenCLDeviceContext *hwctx = hwdev->hwctx; in opencl_check_extension() local
282 if (opencl_check_device_extension(hwctx->device_id, name)) { in opencl_check_extension()
496 AVOpenCLDeviceContext *hwctx = hwdev->hwctx; in opencl_device_create_internal() local
573 hwctx->device_id = devices[d]; in opencl_device_create_internal()
600 hwctx->context = clCreateContext(props, 1, &hwctx->device_id, in opencl_device_create_internal()
602 if (!hwctx->context) { in opencl_device_create_internal()
655 AVOpenCLDeviceContext *hwctx = hwdev->hwctx; in opencl_device_init() local
659 if (hwctx->command_queue) { in opencl_device_init()
660 cle = clRetainCommandQueue(hwctx->command_queue); in opencl_device_init()
666 priv->command_queue = hwctx->command_queue; in opencl_device_init()
668 priv->command_queue = clCreateCommandQueue(hwctx->context, in opencl_device_init()
669 hwctx->device_id, in opencl_device_init()
678 cle = clGetDeviceInfo(hwctx->device_id, CL_DEVICE_PLATFORM, in opencl_device_init()
733 cle = clGetContextInfo(hwctx->context, CL_CONTEXT_PROPERTIES, in opencl_device_init()
751 cle = clGetContextInfo(hwctx->context, CL_CONTEXT_PROPERTIES, in opencl_device_init()
1238 AVVAAPIDeviceContext *src_hwctx = src_ctx->hwctx; in opencl_device_derive()
1266 AVDXVA2DeviceContext *src_hwctx = src_ctx->hwctx; in opencl_device_derive()
1320 AVD3D11VADeviceContext *src_hwctx = src_ctx->hwctx; in opencl_device_derive()
1479 AVOpenCLDeviceContext *hwctx = hwdev->hwctx; in opencl_frames_get_constraints() local
1487 cle = clGetDeviceInfo(hwctx->device_id, CL_DEVICE_IMAGE2D_MAX_WIDTH, in opencl_frames_get_constraints()
1495 cle = clGetDeviceInfo(hwctx->device_id, CL_DEVICE_IMAGE2D_MAX_HEIGHT, in opencl_frames_get_constraints()
1506 cle = clGetSupportedImageFormats(hwctx->context, in opencl_frames_get_constraints()
1530 cle = clGetSupportedImageFormats(hwctx->context, in opencl_frames_get_constraints()
1623 AVOpenCLDeviceContext *hwctx = hwfc->device_ctx->hwctx; in opencl_pool_alloc() local
1649 image = clCreateImage(hwctx->context, CL_MEM_READ_WRITE, in opencl_pool_alloc()
1678 AVOpenCLFramesContext *hwctx = hwfc->hwctx; in opencl_frames_init_command_queue() local
1683 priv->command_queue = hwctx->command_queue ? hwctx->command_queue in opencl_frames_init_command_queue()
2073 AVOpenCLDeviceContext *hwctx = dst_fc->device_ctx->hwctx; in opencl_map_from_drm_beignet() local
2117 priv->clCreateImageFromFdINTEL(hwctx->context, in opencl_map_from_drm_beignet()
2239 AVOpenCLDeviceContext *dst_dev = dst_fc->device_ctx->hwctx; in opencl_map_from_qsv()
2355 AVDXVA2FramesContext *src_hwctx = src_fc->hwctx; in opencl_map_from_dxva2()
2416 AVOpenCLDeviceContext *dst_dev = dst_fc->device_ctx->hwctx; in opencl_frames_derive_from_dxva2()
2417 AVDXVA2FramesContext *src_hwctx = src_fc->hwctx; in opencl_frames_derive_from_dxva2()
2571 AVOpenCLDeviceContext *dst_dev = dst_fc->device_ctx->hwctx; in opencl_frames_derive_from_d3d11()
2572 AVD3D11VAFramesContext *src_hwctx = src_fc->hwctx; in opencl_frames_derive_from_d3d11()
2671 AVOpenCLDeviceContext *dst_dev = dst_fc->device_ctx->hwctx; in opencl_map_from_drm_arm()