diff options
author | Dmitrii Ovchinnikov <ovchinnikov.dmitrii@gmail.com> | 2022-12-20 16:20:38 +0100 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2023-01-27 22:38:45 +0530 |
commit | 5f0a7a9169e4714255e6b91b085a55ffa4ae6d58 (patch) | |
tree | cd564d63dda1988862478731e5211879e2ae0992 /libavcodec/amfenc.h | |
parent | 23d4f9223a81a4d659ad08cad5014f773d9b8b99 (diff) | |
download | ffmpeg-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.h | 6 |
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[]; |