Lines Matching refs:devices
367 cl_device_id **devices,
375 av_log(hwdev, AV_LOG_DEBUG, "No devices found "
380 av_log(hwdev, AV_LOG_ERROR, "Failed to get number of devices "
384 av_log(hwdev, AV_LOG_DEBUG, "%u OpenCL devices found on "
387 *devices = av_malloc_array(*nb_devices, sizeof(**devices));
388 if (!*devices)
392 *nb_devices, *devices, NULL);
394 av_log(hwdev, AV_LOG_ERROR, "Failed to get list of devices "
396 av_freep(devices);
485 cl_device_id **devices,
501 cl_device_id *devices = NULL;
544 &nb_devices, &devices,
557 device_name_src = opencl_get_device_string(devices[d],
565 err = selector->filter_device(hwdev, devices[d],
579 hwctx->device_id = devices[d];
582 av_freep(&devices);
586 av_log(hwdev, AV_LOG_ERROR, "No matching devices found.\n");
622 av_freep(&devices);
933 cl_device_id **devices,
954 av_log(hwdev, AV_LOG_DEBUG, "No VAAPI-supporting devices found "
959 av_log(hwdev, AV_LOG_ERROR, "Failed to get number of devices "
964 *devices = av_malloc_array(*nb_devices, sizeof(**devices));
965 if (!*devices)
970 CL_PREFERRED_DEVICES_FOR_VA_API_INTEL, *nb_devices, *devices, NULL);
973 "devices on platform \"%s\": %d.\n", platform_name, cle);
974 av_freep(devices);
1019 cl_device_id **devices,
1042 av_log(hwdev, AV_LOG_DEBUG, "No DXVA2-supporting devices found "
1047 av_log(hwdev, AV_LOG_ERROR, "Failed to get number of devices "
1052 *devices = av_malloc_array(*nb_devices, sizeof(**devices));
1053 if (!*devices)
1059 *nb_devices, *devices, NULL);
1062 "devices on platform \"%s\": %d.\n", platform_name, cle);
1063 av_freep(devices);
1092 cl_device_id **devices,
1113 av_log(hwdev, AV_LOG_DEBUG, "No D3D11-supporting devices found "
1118 av_log(hwdev, AV_LOG_ERROR, "Failed to get number of devices "
1123 *devices = av_malloc_array(*nb_devices, sizeof(**devices));
1124 if (!*devices)
1130 *nb_devices, *devices, NULL);
1133 "devices on platform \"%s\": %d.\n", platform_name, cle);
1134 av_freep(devices);
1240 // ancestors of the given device, so we can ignore QSV devices here