[Libva] [PATCH] Add RGB RT format definition for video process

Xiang, Haihao haihao.xiang at intel.com
Thu Aug 30 19:01:05 PDT 2012


Pushed

Thanks
Haihao

> From: "Li,Xiaowei" <xiaowei.a.li at intel.com>
> 
> RGB format surface is required for color
> space conversion from YUV to RGB.
> 
> signed-off-by: Li,Xiaowei <xiaowei.a.li at intel.com>
> ---
>  va/va.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/va/va.h b/va/va.h
> index 1b9919c..316b2ae 100644
> --- a/va/va.h
> +++ b/va/va.h
> @@ -406,6 +406,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 */




More information about the Libva mailing list