[FFmpeg-cvslog] avcodec/hevc: Add YUV420P10 to vaapi hardware decode - permits hardware decoding of HEVC Main 10 on AMD RX 480
Jean-Yves Simon
git at videolan.org
Mon Sep 26 04:30:18 EEST 2016
ffmpeg | branch: master | Jean-Yves Simon <lethalwp at gmail.com> | Tue Aug 9 17:15:30 2016 +0200| [fb37da37ac1e17f643269ea5bad5bee7e79dcb3a] | committer: Michael Niedermayer
avcodec/hevc: Add YUV420P10 to vaapi hardware decode - permits hardware decoding of HEVC Main 10 on AMD RX 480
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fb37da37ac1e17f643269ea5bad5bee7e79dcb3a
---
libavcodec/hevc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index cb1263c..764e093 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -370,6 +370,9 @@ static int set_sps(HEVCContext *s, const HEVCSPS *sps, enum AVPixelFormat pix_fm
#if CONFIG_HEVC_D3D11VA_HWACCEL
*fmt++ = AV_PIX_FMT_D3D11VA_VLD;
#endif
+#if CONFIG_HEVC_VAAPI_HWACCEL
+ *fmt++ = AV_PIX_FMT_VAAPI;
+#endif
break;
}
More information about the ffmpeg-cvslog
mailing list