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

Zhao, Halley halley.zhao at intel.com
Sun Aug 26 17:53:56 PDT 2012


Yeah, I also need it when adding vpp in gst-vaapi.

Patch set here also waits for integration:
http://lists.freedesktop.org/archives/libva/2012-August/001170.html 

> -----Original Message-----
> From: libva-bounces+halley.zhao=intel.com at lists.freedesktop.org
> [mailto:libva-bounces+halley.zhao=intel.com at lists.freedesktop.org] On
> Behalf Of Li,Xiaowei
> Sent: Monday, August 27, 2012 8:48 AM
> To: libva at lists.freedesktop.org
> Subject: [Libva] [PATCH] Add RGB RT format definition for video process
> 
> 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 */
> --
> 1.7.12-rc1
> 
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva


More information about the Libva mailing list