aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2016-05-22 11:38:39 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-06-02 01:40:51 +0200
commit7e0623b70ba79df6b07e71a810f495ce7e5886f8 (patch)
tree863a88bf9a1373e1a6ba4b9186f5654b1b40239b
parent2fe04630e7d9c32fcab847b482998fa9fa7224d8 (diff)
downloadffmpeg-7e0623b70ba79df6b07e71a810f495ce7e5886f8.tar.gz
vaapi: Enable more libva surface formats
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavutil/hwcontext_vaapi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
index c2cdaa95c3..7c3e4bd27b 100644
--- a/libavutil/hwcontext_vaapi.c
+++ b/libavutil/hwcontext_vaapi.c
@@ -86,16 +86,16 @@ 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),
+ MAP(BGRX, RGB32, BGR0),
MAP(RGBA, RGB32, RGBA),
- //MAP(RGBX, RGB32, RGB0),
+ MAP(RGBX, RGB32, RGB0),
MAP(ABGR, RGB32, ABGR),
- //MAP(XBGR, RGB32, 0BGR),
+ MAP(XBGR, RGB32, 0BGR),
MAP(ARGB, RGB32, ARGB),
- //MAP(XRGB, RGB32, 0RGB),
+ MAP(XRGB, RGB32, 0RGB),
};
#undef MAP