Lines Matching defs:hwaccel
74 static const char *const opt_name_hwaccels[] = {"hwaccel", NULL};
873 const char *hwaccel = NULL;
975 MATCH_PER_STREAM_OPT(hwaccels, str, hwaccel, ic, st);
979 if (!hwaccel_output_format && hwaccel && !strcmp(hwaccel, "cuvid")) {
985 } else if (!hwaccel_output_format && hwaccel && !strcmp(hwaccel, "qsv")) {
994 av_log(NULL, AV_LOG_FATAL, "Unrecognised hwaccel output "
1001 if (hwaccel) {
1003 if (!strcmp(hwaccel, "nvdec") || !strcmp(hwaccel, "cuvid"))
1004 hwaccel = "cuda";
1006 if (!strcmp(hwaccel, "none"))
1008 else if (!strcmp(hwaccel, "auto"))
1011 enum AVHWDeviceType type = av_hwdevice_find_type_by_name(hwaccel);
1018 av_log(NULL, AV_LOG_FATAL, "Unrecognized hwaccel: %s.\n",
1019 hwaccel);
3920 { "hwaccel", OPT_VIDEO | OPT_STRING | HAS_ARG | OPT_EXPERT |
3922 "use HW accelerated decoding", "hwaccel name" },