[Libva] BGRA bitstream?

Xiang, Haihao haihao.xiang at intel.com
Thu Aug 16 17:22:11 PDT 2012


On Thu, 2012-08-16 at 14:57 -0700, Ratin wrote: 
> 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? 

It is done by GPU on Sandybridge.


> I will try Halley's patch and let you all know my
> findings.
> 
> 
> Thanks a bunch
> 
> Ratin
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva




More information about the Libva mailing list