diff options
author | Philip Langdale <philipl@overt.org> | 2022-08-04 20:35:04 -0700 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2022-08-09 09:22:49 -0700 |
commit | 109515e16dfffa6bb34de75c5253b7cbb1f12fa6 (patch) | |
tree | 42316804ffa8a0eb58f755b7dbafb1c797394cff /libavcodec/vaapi_encode.c | |
parent | 737298b4f7b60bc2b755fe8fa9135f50a496d94d (diff) | |
download | ffmpeg-109515e16dfffa6bb34de75c5253b7cbb1f12fa6.tar.gz |
lavc/vaapi_encode: enable 8bit 4:4:4 encoding for HEVC and VP9
Sufficiently recent Intel hardware is able to do encoding of 8bit 4:4:4
content in HEVC and VP9. The main requirement here is that the frames
must be provided in the AYUV format.
Enabling support is done by adding the appropriate encoding profiles
and noting that AYUV is officially a four channel format with alpha so
we must state that we expect all four channels.
Diffstat (limited to 'libavcodec/vaapi_encode.c')
-rw-r--r-- | libavcodec/vaapi_encode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index 284ce29888..f13daa5cff 100644 --- a/libavcodec/vaapi_encode.c +++ b/libavcodec/vaapi_encode.c @@ -1308,6 +1308,7 @@ static const VAAPIEncodeRTFormat vaapi_encode_rt_formats[] = { { "YUV422_10", VA_RT_FORMAT_YUV422_10, 10, 3, 1, 0 }, #endif { "YUV444", VA_RT_FORMAT_YUV444, 8, 3, 0, 0 }, + { "AYUV", VA_RT_FORMAT_YUV444, 8, 4, 0, 0 }, { "YUV411", VA_RT_FORMAT_YUV411, 8, 3, 2, 0 }, #if VA_CHECK_VERSION(0, 38, 1) { "YUV420_10", VA_RT_FORMAT_YUV420_10BPP, 10, 3, 1, 1 }, |