diff options
author | jianfeng.zheng <ggjogh@gmail.com> | 2023-03-31 19:54:06 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2023-04-17 15:11:22 +0800 |
commit | 1cd5a383d49f94b05699b234b0d3c98f2969b810 (patch) | |
tree | a46da859aea15b05a3eb21ddfabafa9412a88a4a /libavcodec/vaapi_decode.c | |
parent | b9ba036680b4164f6e415a85877dfa659ae4dde1 (diff) | |
download | ffmpeg-1cd5a383d49f94b05699b234b0d3c98f2969b810.tar.gz |
vaapi: support VAProfileH264High10 decoding
see https://github.com/intel/libva/pull/664
Signed-off-by: jianfeng.zheng <jianfeng.zheng@mthreads.com>
Diffstat (limited to 'libavcodec/vaapi_decode.c')
-rw-r--r-- | libavcodec/vaapi_decode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/vaapi_decode.c b/libavcodec/vaapi_decode.c index ab8c12e364..dd55cbd6f1 100644 --- a/libavcodec/vaapi_decode.c +++ b/libavcodec/vaapi_decode.c @@ -398,6 +398,11 @@ static const struct { MAP(MPEG4, MPEG4_ADVANCED_SIMPLE, MPEG4AdvancedSimple), MAP(MPEG4, MPEG4_MAIN, MPEG4Main ), +#if VA_CHECK_VERSION(1, 18, 0) + MAP(H264, H264_HIGH_10_INTRA, + H264High10 ), + MAP(H264, H264_HIGH_10, H264High10 ), +#endif MAP(H264, H264_CONSTRAINED_BASELINE, H264ConstrainedBaseline), MAP(H264, H264_MAIN, H264Main ), |