vaapi: Enable more libva surface formats

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/217/head
Mark Thompson 9 years ago committed by Michael Niedermayer
parent 2fe04630e7
commit 7e0623b70b
  1. 10
      libavutil/hwcontext_vaapi.c

@ -86,16 +86,16 @@ static struct {
MAP(YUY2, YUV422, YUYV422), MAP(YUY2, YUV422, YUYV422),
MAP(Y800, YUV400, GRAY8), MAP(Y800, YUV400, GRAY8),
#ifdef VA_FOURCC_P010 #ifdef VA_FOURCC_P010
//MAP(P010, YUV420_10BPP, P010), MAP(P010, YUV420_10BPP, P010),
#endif #endif
MAP(BGRA, RGB32, BGRA), MAP(BGRA, RGB32, BGRA),
//MAP(BGRX, RGB32, BGR0), MAP(BGRX, RGB32, BGR0),
MAP(RGBA, RGB32, RGBA), MAP(RGBA, RGB32, RGBA),
//MAP(RGBX, RGB32, RGB0), MAP(RGBX, RGB32, RGB0),
MAP(ABGR, RGB32, ABGR), MAP(ABGR, RGB32, ABGR),
//MAP(XBGR, RGB32, 0BGR), MAP(XBGR, RGB32, 0BGR),
MAP(ARGB, RGB32, ARGB), MAP(ARGB, RGB32, ARGB),
//MAP(XRGB, RGB32, 0RGB), MAP(XRGB, RGB32, 0RGB),
}; };
#undef MAP #undef MAP

Loading…
Cancel
Save