[FFmpeg-cvslog] hwcontext_vaapi: Enable P010 support

Mark Thompson git at videolan.org
Thu Mar 23 12:19:36 EET 2017


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Fri Sep 30 17:27:09 2016 +0200| [eaaaabf6c93321cdb78bf61dc383cf515ec12e07] | committer: Mark Thompson

hwcontext_vaapi: Enable P010 support

This is required for 10-bit surfaces.

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

 libavutil/hwcontext_vaapi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
index cd7d43e..9617979 100644
--- a/libavutil/hwcontext_vaapi.c
+++ b/libavutil/hwcontext_vaapi.c
@@ -109,7 +109,7 @@ static struct {
     MAP(YUY2, YUV422,  YUYV422),
     MAP(Y800, YUV400,  GRAY8),
 #ifdef VA_FOURCC_P010
-  //MAP(P010, YUV420_10BPP, P010),
+    MAP(P010, YUV420_10BPP, P010),
 #endif
     MAP(BGRA, RGB32,   BGRA),
   //MAP(BGRX, RGB32,   BGR0),



More information about the ffmpeg-cvslog mailing list