Re: [Libva] Concurrent decoding/rendering in the same va context?

2012-10-02 Thread Bian, Jonathan
It should work. Jonathan From: libva-bounces+jonathan.bian=intel@lists.freedesktop.org [mailto:libva-bounces+jonathan.bian=intel@lists.freedesktop.org] On Behalf Of Pawel Osciak Sent: Tuesday, October 02, 2012 7:57 AM To: Beauchesne, Gwenole; libva@lists.freedesktop.org Subject: [Libva]

[Libva] Concurrent decoding/rendering in the same va context?

2012-10-02 Thread Pawel Osciak
Hi, I'm experimenting with decode parallelization on one VA context. What I'm trying to do is overlapping below sequences on two threads: Thread 1: Decode() { vaBeginPicture() vaRenderPicture() a few times vaEndPicture() NotifyThread2ToRun(); } Thread 2 (gets fired after Decode()