diff options
author | Zhong Li <zhong.li@intel.com> | 2019-08-13 14:11:12 +0800 |
---|---|---|
committer | Zhong Li <zhong.li@intel.com> | 2019-08-20 13:34:04 +0800 |
commit | 655ff4708bfe160447b07d0cbae6b710666f0139 (patch) | |
tree | 83ae37a822bf25d5a2ac5c7b68403b2fd9707cd1 /libavcodec/qsv.c | |
parent | 7555cfd29b7150a9c59f8a757ae0e5804a369644 (diff) | |
download | ffmpeg-655ff4708bfe160447b07d0cbae6b710666f0139.tar.gz |
lavc/qsvdec: Add VP9 decoder support
VP9 decoder is support on Intel kabyLake+ platforms with MSDK Version 1.19+
Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'libavcodec/qsv.c')
-rw-r--r-- | libavcodec/qsv.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index 533804ac4d..65ad070e1f 100644 --- a/libavcodec/qsv.c +++ b/libavcodec/qsv.c @@ -60,6 +60,11 @@ int ff_qsv_codec_id_to_mfx(enum AVCodecID codec_id) #endif case AV_CODEC_ID_MJPEG: return MFX_CODEC_JPEG; +#if QSV_VERSION_ATLEAST(1, 19) + case AV_CODEC_ID_VP9: + return MFX_CODEC_VP9; +#endif + default: break; } |