From 11b0ef2a705204dea297c66e1fd3a7153838babd Mon Sep 17 00:00:00 2001 From: Victor Ying Date: Tue, 23 Jul 2013 08:25:00 +0200 Subject: va: add new ABGR/XBGR fourcc codes. Add VA_FOURCC_ABGR and its companion VA_FOURCC_XBGR definition. This represents a packed RGB format with 32 bpp, i.e. 8-bit per component. The components order in memory is A B G R. Signed-off-by: Victor Ying Signed-off-by: Gwenole Beauchesne --- va/va.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/va/va.h b/va/va.h index a6661cb..6eab8d6 100644 --- a/va/va.h +++ b/va/va.h @@ -2122,6 +2122,8 @@ VAStatus vaQuerySurfaceError( #define VA_FOURCC_BGRX 0x58524742 #define VA_FOURCC_ARGB 0x42475241 #define VA_FOURCC_XRGB 0x42475258 +#define VA_FOURCC_ABGR 0x52474241 +#define VA_FOURCC_XBGR 0x52474258 #define VA_FOURCC_UYVY 0x59565955 #define VA_FOURCC_YUY2 0x32595559 #define VA_FOURCC_AYUV 0x56555941 -- cgit v1.2.1