[Libva] BGRA bitstream?

Gwenole Beauchesne gb.devel at gmail.com
Thu Aug 16 01:29:05 PDT 2012


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.


More information about the Libva mailing list