[Libva] Parse and render in different threads?

Xiang, Haihao haihao.xiang at intel.com
Tue Mar 19 17:45:06 PDT 2013


On Tue, 2013-03-19 at 08:02 +0000, Andreas Larsson wrote: 
> Hi!
> 
> Do I have to perform bitstream parsing and vaRenderPicture in separate threads to maintain best performance. I.e. do vaRenderPicture block or are those calls buffered and handled asynchronously by the driver/chip, like OpenGL?

VA runs in asynchronous mode.

> 
> As it is, I generate MPEG2 data and for each slice I call vaRenderPicture before I generate the next slice, so if vaRenderPicture blocks this would drain my performance completly.
> 
> Kind regards, Andreas Larsson
> 
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva




More information about the Libva mailing list