[Libva] Parse and render in different threads?
Andreas Larsson
andreas.larsson at multiq.se
Tue Mar 19 01:02:37 PDT 2013
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?
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
More information about the Libva
mailing list