Lines Matching defs:device

98     // "type=name:device,key=value,key2=value2"
99 // "type:device,key=value,key2=value2"
106 const char *type_name = NULL, *name = NULL, *device = NULL;
124 errmsg = "unknown device type";
137 errmsg = "named device already exists";
151 // New device with no parameters.
158 // New device with some parameters.
163 device = av_strndup(p, q - p);
164 if (!device) {
177 q ? device : p[0] ? p : NULL,
183 // Derive from existing device.
187 errmsg = "invalid source device name";
230 av_freep(&device);
235 "Invalid device specification \"%s\": %s\n", arg, errmsg);
246 const char *device,
260 err = av_hwdevice_ctx_create(&device_ref, type, device, NULL, 0);
342 av_log(ist->dec_ctx, AV_LOG_ERROR, "Invalid hwaccel device "
343 "specified for decoder: device %s of type %s is not "
357 // When "-qsv_device device" is used, an internal QSV device named
358 // as "__qsv_device" is created. Another QSV device is created too
359 // if "-init_hw_device qsv=name:device" is used. There are 2 QSV devices
360 // if both "-qsv_device device" and "-init_hw_device qsv=name:device"
364 // device.
373 // No device for this codec, but not using generic hwaccel
394 "hwaccel type %s with existing device %s.\n",
403 // Try to make a new device of this type.
407 // Can't make a device of this type.
412 "hwaccel type %s with new device created "
417 "hwaccel type %s with new default device.\n",
425 "disabled: no device found.\n");
432 av_log(ist->dec_ctx, AV_LOG_ERROR, "No device available "
433 "for decoder: device type %s needed for codec %s.\n",
488 av_log(ost->enc_ctx, AV_LOG_VERBOSE, "Using device %s "
495 // No device required, or no device available.
556 // Pick the last hardware device if the user doesn't pick the device for
564 av_log(NULL, AV_LOG_WARNING, "There are %d hardware devices. device "
566 "device explicitly with the filter_hw_device option if device "