<div dir="ltr">Hi got a question: <br><br>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? <br>
<br><br><br><div>/* attribute value for VAConfigAttribRTFormat */<br>#define VA_RT_FORMAT_YUV420 0x00000001 <br>#define VA_RT_FORMAT_YUV422 0x00000002<br>#define VA_RT_FORMAT_YUV444 0x00000004<br>#define VA_RT_FORMAT_YUV411 0x00000008<br>
#define VA_RT_FORMAT_YUV400 0x00000010<br>#define VA_RT_FORMAT_RGB16 0x00010000<br>#define VA_RT_FORMAT_RGB32 0x00020000<br>#define VA_RT_FORMAT_PROTECTED 0x80000000<br><br><br></div><div>Thanks<br><br></div><div>
Ratin<br></div></div>