From af00a1b232948563e97850e1310ca4d74bcdc859 Mon Sep 17 00:00:00 2001 From: "Li,Xiaowei" Date: Mon, 27 Aug 2012 08:47:33 +0800 Subject: [PATCH] Add RGB RT format definition for video process RGB format surface is required for color space conversion from YUV to RGB. signed-off-by: Li,Xiaowei --- va/va.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/va/va.h b/va/va.h index ba7a193..f7b95a3 100644 --- a/va/va.h +++ b/va/va.h @@ -403,6 +403,8 @@ typedef struct _VAConfigAttrib { #define VA_RT_FORMAT_YUV420 0x00000001 #define VA_RT_FORMAT_YUV422 0x00000002 #define VA_RT_FORMAT_YUV444 0x00000004 +#define VA_RT_FORMAT_RGB16 0x00010000 +#define VA_RT_FORMAT_RGB32 0x00020000 #define VA_RT_FORMAT_PROTECTED 0x80000000 /** @name Attribute values for VAConfigAttribRateControl */ -- 2.7.4