aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hwaccels.h
diff options
context:
space:
mode:
authorFei Wang <fei.w.wang@intel.com>2020-10-29 14:54:25 +0800
committerMark Thompson <sw@jkqxz.net>2020-11-02 22:57:23 +0000
commit3308bbf7761a2723f784fcd6bb921dcbadc18c6e (patch)
tree2df5b35e92adb94eae25d82fa0c1b70798be39e2 /libavcodec/hwaccels.h
parentdbd4254a614012ca36d75800eb9a7525742a6144 (diff)
downloadffmpeg-3308bbf7761a2723f784fcd6bb921dcbadc18c6e.tar.gz
avcodec: add av1 VAAPI decoder
Example cmdline: ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -v verbose \ -c:v av1 -i input.ivf -pix_fmt yuv420p -vsync passthrough -f md5 \ -y out.md5 Signed-off-by: Fei Wang <fei.w.wang@intel.com>
Diffstat (limited to 'libavcodec/hwaccels.h')
-rw-r--r--libavcodec/hwaccels.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/hwaccels.h b/libavcodec/hwaccels.h
index 6109c89bd6..18e9079c55 100644
--- a/libavcodec/hwaccels.h
+++ b/libavcodec/hwaccels.h
@@ -21,6 +21,7 @@
#include "avcodec.h"
+extern const AVHWAccel ff_av1_vaapi_hwaccel;
extern const AVHWAccel ff_h263_vaapi_hwaccel;
extern const AVHWAccel ff_h263_videotoolbox_hwaccel;
extern const AVHWAccel ff_h264_d3d11va_hwaccel;