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/vaapi/libva/tree/va/va.h . Though in the intel driver http://cgit.freedesktop.org/vaapi/intel-driver/ there are some mutex: i965->pp_mutex : post processing i965->render_mutex : vaPutSurface intel->ctxmutex : does not seem to be used heap->mutex: (object_heap_allocate / object_heap_lookup ... ) >From that it means that the operations on the container of object IDs is thread safe. But no assumptions on the objects them-self. Any clarification in general ? Thx in advance Julien
_______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva
