diff options
author | Philip Langdale <philipl@overt.org> | 2022-08-19 16:55:44 -0700 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2022-08-25 19:04:10 -0700 |
commit | caf26a8a126d7b9853568ce0db2f6e04029fd1a2 (patch) | |
tree | 8b90c26d44d90b088a9cd442bb4be14350fb51f0 /libavcodec/vaapi_encode_h265.c | |
parent | 45726aa1177ee7d9d17435f879c96ab3537d8ad3 (diff) | |
download | ffmpeg-caf26a8a126d7b9853568ce0db2f6e04029fd1a2.tar.gz |
lavc/vaapi: Switch preferred 8bit 444 format to VUYX
As vaapi doesn't actually do anything useful with the alpha channel,
and we have an alphaless format available, let's use that instead.
The changes here are mostly 1:1 switching, but do note the explicit
change in the number of declared channels from 4 to 3 to reflect that
the alpha is being ignored.
Diffstat (limited to 'libavcodec/vaapi_encode_h265.c')
-rw-r--r-- | libavcodec/vaapi_encode_h265.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_encode_h265.c index 1de323af78..967d71e998 100644 --- a/libavcodec/vaapi_encode_h265.c +++ b/libavcodec/vaapi_encode_h265.c @@ -1278,8 +1278,7 @@ static const VAAPIEncodeProfile vaapi_encode_h265_profiles[] = { #if VA_CHECK_VERSION(1, 2, 0) { FF_PROFILE_HEVC_REXT, 8, 3, 1, 0, VAProfileHEVCMain422_10 }, { FF_PROFILE_HEVC_REXT, 10, 3, 1, 0, VAProfileHEVCMain422_10 }, - // Four channels because this uses the AYUV format which has Alpha - { FF_PROFILE_HEVC_REXT, 8, 4, 0, 0, VAProfileHEVCMain444 }, + { FF_PROFILE_HEVC_REXT, 8, 3, 0, 0, VAProfileHEVCMain444 }, #endif { FF_PROFILE_UNKNOWN } }; |