diff options
author | Mark Thompson <sw@jkqxz.net> | 2020-03-05 00:25:28 +0000 |
---|---|---|
committer | Linjie Fu <linjie.fu@intel.com> | 2020-07-24 13:44:09 +0800 |
commit | 9badc602928a2e14797e4d0e4a20770e42932b7d (patch) | |
tree | bb8648958942590fce5961513cb15d877cc1a579 /libavcodec | |
parent | 6f134c6d17e5888f0b9e2a414139685c45ddda0f (diff) | |
download | ffmpeg-9badc602928a2e14797e4d0e4a20770e42932b7d.tar.gz |
vaapi_encode_h265: Enable 4:2:2 support
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vaapi_encode_h265.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_encode_h265.c index 7aa395fb61..f6008778df 100644 --- a/libavcodec/vaapi_encode_h265.c +++ b/libavcodec/vaapi_encode_h265.c @@ -1137,6 +1137,10 @@ static const VAAPIEncodeProfile vaapi_encode_h265_profiles[] = { { FF_PROFILE_HEVC_MAIN_10, 10, 3, 1, 1, VAProfileHEVCMain10 }, { FF_PROFILE_HEVC_REXT, 10, 3, 1, 1, VAProfileHEVCMain10 }, #endif +#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 }, +#endif { FF_PROFILE_UNKNOWN } }; |