Commit 2017ffc1 authored by Elviss Strazdins's avatar Elviss Strazdins Committed by Luca Barbato

vaapi: Add ABGR map only if VA_FOURCC_ABGR is defined

Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
parent 6a7e9285
......@@ -107,8 +107,10 @@ static const struct {
//MAP(BGRX, RGB32, BGR0),
MAP(RGBA, RGB32, RGBA),
//MAP(RGBX, RGB32, RGB0),
#ifdef VA_FOURCC_ABGR
MAP(ABGR, RGB32, ABGR),
//MAP(XBGR, RGB32, 0BGR),
#endif
MAP(ARGB, RGB32, ARGB),
//MAP(XRGB, RGB32, 0RGB),
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment