[FFmpeg-cvslog] vaapi_encode_h265: Enable 4:2:2 support

Mark Thompson git at videolan.org
Fri Jul 24 09:48:19 EEST 2020


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Thu Mar  5 00:25:28 2020 +0000| [9badc602928a2e14797e4d0e4a20770e42932b7d] | committer: Linjie Fu

vaapi_encode_h265: Enable 4:2:2 support

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9badc602928a2e14797e4d0e4a20770e42932b7d
---

 libavcodec/vaapi_encode_h265.c | 4 ++++
 1 file changed, 4 insertions(+)

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
@@ -1136,6 +1136,10 @@ static const VAAPIEncodeProfile vaapi_encode_h265_profiles[] = {
 #if VA_CHECK_VERSION(0, 37, 0)
     { 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 }
 };



More information about the ffmpeg-cvslog mailing list