Re: [Libva] multi-threading

2015-12-22 Thread Julien Isorce
On 22 December 2015 at 00:13, Zhao Yakui wrote: > On 12/22/2015 06:51 AM, Julien Isorce wrote: > >> Hi, >> >> Should the application assume that vaapi is thread safe ? Like for vdpau: >> http://cgit.freedesktop.org/vdpau/libvdpau/tree/include/vdpau/vdpau.h#n209 >> . >> Or is the thread safety del

Re: [Libva] multi-threading

2015-12-21 Thread Zhao Yakui
On 12/22/2015 06:51 AM, Julien Isorce wrote: Hi, Should the application assume that vaapi is thread safe ? Like for vdpau: http://cgit.freedesktop.org/vdpau/libvdpau/tree/include/vdpau/vdpau.h#n209 . Or is the thread safety delegated to the vaapi user like many libraries ? What is the scenario

[Libva] multi-threading

2015-12-21 Thread Julien Isorce
Hi, Should the application assume that vaapi is thread safe ? Like for vdpau: http://cgit.freedesktop.org/vdpau/libvdpau/tree/include/vdpau/vdpau.h#n209 . Or is the thread safety delegated to the vaapi user like many libraries ? I cannot see anything about thread in http://cgit.freedesktop.org/va