OSDN Git Service

hwcontext_vaapi: Enable P010 support
authorMark Thompson <sw@jkqxz.net>
Fri, 30 Sep 2016 15:27:09 +0000 (17:27 +0200)
committerMark Thompson <sw@jkqxz.net>
Sun, 2 Oct 2016 19:23:18 +0000 (20:23 +0100)
This is required for 10-bit surfaces.

libavutil/hwcontext_vaapi.c

index cd7d43e..9617979 100644 (file)
@@ -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),