Lines Matching refs:hwctx
163 AVOpenCLDeviceContext *hwctx = hwdev->hwctx;
166 cle = clReleaseContext(hwctx->context);
279 AVOpenCLDeviceContext *hwctx = hwdev->hwctx;
288 if (opencl_check_device_extension(hwctx->device_id, name)) {
502 AVOpenCLDeviceContext *hwctx = hwdev->hwctx;
579 hwctx->device_id = devices[d];
606 hwctx->context = clCreateContext(props, 1, &hwctx->device_id,
608 if (!hwctx->context) {
661 AVOpenCLDeviceContext *hwctx = hwdev->hwctx;
665 if (hwctx->command_queue) {
666 cle = clRetainCommandQueue(hwctx->command_queue);
672 priv->command_queue = hwctx->command_queue;
674 priv->command_queue = clCreateCommandQueue(hwctx->context,
675 hwctx->device_id,
684 cle = clGetDeviceInfo(hwctx->device_id, CL_DEVICE_PLATFORM,
739 cle = clGetContextInfo(hwctx->context, CL_CONTEXT_PROPERTIES,
757 cle = clGetContextInfo(hwctx->context, CL_CONTEXT_PROPERTIES,
1244 AVVAAPIDeviceContext *src_hwctx = src_ctx->hwctx;
1272 AVDXVA2DeviceContext *src_hwctx = src_ctx->hwctx;
1326 AVD3D11VADeviceContext *src_hwctx = src_ctx->hwctx;
1488 AVOpenCLDeviceContext *hwctx = hwdev->hwctx;
1496 cle = clGetDeviceInfo(hwctx->device_id, CL_DEVICE_IMAGE2D_MAX_WIDTH,
1504 cle = clGetDeviceInfo(hwctx->device_id, CL_DEVICE_IMAGE2D_MAX_HEIGHT,
1515 cle = clGetSupportedImageFormats(hwctx->context,
1539 cle = clGetSupportedImageFormats(hwctx->context,
1632 AVOpenCLDeviceContext *hwctx = hwfc->device_ctx->hwctx;
1658 image = clCreateImage(hwctx->context, CL_MEM_READ_WRITE,
1687 AVOpenCLFramesContext *hwctx = hwfc->hwctx;
1692 priv->command_queue = hwctx->command_queue ? hwctx->command_queue
2082 AVOpenCLDeviceContext *hwctx = dst_fc->device_ctx->hwctx;
2126 priv->clCreateImageFromFdINTEL(hwctx->context,
2249 AVOpenCLDeviceContext *dst_dev = dst_fc->device_ctx->hwctx;
2372 AVDXVA2FramesContext *src_hwctx = src_fc->hwctx;
2434 AVOpenCLDeviceContext *dst_dev = dst_fc->device_ctx->hwctx;
2435 AVDXVA2FramesContext *src_hwctx = src_fc->hwctx;
2590 AVOpenCLDeviceContext *dst_dev = dst_fc->device_ctx->hwctx;
2591 AVD3D11VAFramesContext *src_hwctx = src_fc->hwctx;
2690 AVOpenCLDeviceContext *dst_dev = dst_fc->device_ctx->hwctx;