[Libva] BGRA bitstream?

Ratin ratin3 at gmail.com
Thu Aug 16 14:57:29 PDT 2012


On Thu, Aug 16, 2012 at 1:29 AM, Gwenole Beauchesne <gb.devel at gmail.com> wrote:
> Hi,
>
> 2012/8/15 Ratin <ratin3 at gmail.com>:
>> Is it possible to dump the decoded bitstream in BGRA from the VA
>> Surfaces when using the Intel Sandybridge GPU?
>
> If you don't mind about performance, the worst case scenario is to use
> vaPutSurface() to a Pixmap, and then XGetImage() pixel data from it.
> This method works for all versions of libva + VA driver that supports
> vaPutSurface() to a Pixmap.
>
> The best case scenario is to use the libva "staging" branch + Halley's
> patches to support vaGetImage() in RGBA/BGRA format.
>
> Regards,
> Gwenole.


Actually getting the highest possible performance is my main goal
obviously :) I am assuming CPU does the color conversion while dumping
to a pixmap? I will try Halley's patch and let you all know my
findings.


Thanks a bunch

Ratin


More information about the Libva mailing list