summaryrefslogtreecommitdiff
path: root/libavcodec/amfenc.h
diff options
context:
space:
mode:
authorDmitrii Ovchinnikov <ovchinnikov.dmitrii@gmail.com>2022-12-20 16:20:38 +0100
committerGyan Doshi <ffmpeg@gyani.pro>2023-01-27 22:38:45 +0530
commit5f0a7a9169e4714255e6b91b085a55ffa4ae6d58 (patch)
treecd564d63dda1988862478731e5211879e2ae0992 /libavcodec/amfenc.h
parent23d4f9223a81a4d659ad08cad5014f773d9b8b99 (diff)
downloadffmpeg-5f0a7a9169e4714255e6b91b085a55ffa4ae6d58.tar.gz
libavcodec/amfenc: add AV1 encoding support
Tested-by: Jean-Baptiste Kempf <jb@videolan.org>
Diffstat (limited to 'libavcodec/amfenc.h')
-rw-r--r--libavcodec/amfenc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/amfenc.h b/libavcodec/amfenc.h
index 1ab98d2f78..66e0680719 100644
--- a/libavcodec/amfenc.h
+++ b/libavcodec/amfenc.h
@@ -23,6 +23,7 @@
#include <AMF/components/VideoEncoderVCE.h>
#include <AMF/components/VideoEncoderHEVC.h>
+#include <AMF/components/VideoEncoderAV1.h>
#include "libavutil/fifo.h"
@@ -116,6 +117,11 @@ typedef struct AmfContext {
int min_qp_p;
int max_qp_p;
int tier;
+
+ // AV1 - specific options
+
+ enum AMF_VIDEO_ENCODER_AV1_ALIGNMENT_MODE_ENUM align;
+
} AmfContext;
extern const AVCodecHWConfigInternal *const ff_amfenc_hw_configs[];