Lines Matching defs:device

84     // the device.  If the user supplies one, this is a reference to it.
92 // Platform/device-specific functions.
139 // device.
290 "%s found as device extension.\n", name);
425 av_log(hwdev, AV_LOG_ERROR, "Unknown device type %s.\n",
433 av_log(hwdev, AV_LOG_ERROR, "Failed to query device type "
434 "of device \"%s\".\n", device_name);
454 "of device \"%s\".\n",
591 av_log(hwdev, AV_LOG_ERROR, "More than one matching device found.\n");
626 static int opencl_device_create(AVHWDeviceContext *hwdev, const char *device,
637 if (device && device[0]) {
638 // Match one or both indices for platform and device.
640 if (device[0] == '.')
641 ret = sscanf(device, ".%d", &d);
643 ret = sscanf(device, "%d.%d", &p, &d);
645 av_log(hwdev, AV_LOG_ERROR, "Invalid OpenCL platform/device "
646 "index specification \"%s\".\n", device);
689 "platform containing the device.\n");
917 // the function we will use for device enumeration exists.
922 "VAAPI device enumeration function.\n", platform_name);
1022 IDirect3DDevice9 *device = context;
1038 platform_id, 1, &media_adapter_type, (void**)&device,
1057 platform_id, 1, &media_adapter_type, (void**)&device,
1095 ID3D11Device *device = context;
1109 CL_D3D11_DEVICE_KHR, device,
1128 CL_D3D11_DEVICE_KHR, device,
1154 av_log(hwdev, AV_LOG_ERROR, "Failed to query device type "
1155 "of device \"%s\".\n", device_name);
1240 // ancestors of the given device, so we can ignore QSV devices here
1241 // and just consider the inner VAAPI device it was derived from.
1273 IDirect3DDevice9 *device;
1280 av_log(hwdev, AV_LOG_ERROR, "Failed to open device handle "
1281 "for Direct3D9 device: %lx.\n", (unsigned long)hr);
1288 &device, FALSE);
1294 (intptr_t)device,
1300 .context = device,
1312 av_log(hwdev, AV_LOG_ERROR, "Failed to lock device handle "
1313 "for Direct3D9 device: %lx.\n", (unsigned long)hr);
1331 (intptr_t)src_hwctx->device,
1337 .context = src_hwctx->device,