[Libva] VAConfigAttribRTFormat
Ratin
ratin3 at gmail.com
Mon Jan 28 14:18:55 PST 2013
Hi got a question:
I noticed that the #define values for for VAConfigAttribRTFormat in
VAConfigAttrib does not include BGRA or ARGB formats (it does RGB 16 and
RGB32), but the VASurfaceAttrib's VASurfaceAttribPixelFormat does allow it
thru a four_cc value. Does that mean I can't decode the H.264 bitstream
data directly to a BGRA surface, I have to convert explicitly?
/* attribute value for VAConfigAttribRTFormat */
#define VA_RT_FORMAT_YUV420 0x00000001
#define VA_RT_FORMAT_YUV422 0x00000002
#define VA_RT_FORMAT_YUV444 0x00000004
#define VA_RT_FORMAT_YUV411 0x00000008
#define VA_RT_FORMAT_YUV400 0x00000010
#define VA_RT_FORMAT_RGB16 0x00010000
#define VA_RT_FORMAT_RGB32 0x00020000
#define VA_RT_FORMAT_PROTECTED 0x80000000
Thanks
Ratin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libva/attachments/20130128/0b627876/attachment.html>
More information about the Libva
mailing list