[Libva] [PATCH] va: Add RGB FOURCC code

Gwenole Beauchesne gb.devel at gmail.com
Fri Apr 12 21:44:39 PDT 2013


Hi,

2013/4/12 Rob Bradford <robert.bradford at intel.com>:

> diff --git a/va/va.h b/va/va.h
> index 914cf8d..4679457 100644
> --- a/va/va.h
> +++ b/va/va.h
> @@ -1512,6 +1512,7 @@ VAStatus vaQuerySurfaceError(
>  #define VA_FOURCC_AI44         0x34344149
>  #define VA_FOURCC_RGBA         0x41424752
>  #define VA_FOURCC_BGRA         0x41524742
> +#define VA_FOURCC_RGB          0x32424752
>  #define VA_FOURCC_UYVY          0x59565955
>  #define VA_FOURCC_YUY2          0x32595559
>  #define VA_FOURCC_AYUV          0x56555941

We already have VA_FOURCC_RGBX from staging branch, which we will backport.

As an interim solution for the VA intel-driver, you could simply:
#ifndef VA_FOURCC_RGBX
#define VA_FOURCC_RGBX 0x58424752
#endif
in there.

Thanks,
Gwenole.


More information about the Libva mailing list