va: Delete the display lock/unlock when we call VA-API.
authorHe Junyan <junyan.he@intel.com>
Wed, 10 Nov 2021 07:18:24 +0000 (15:18 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 15 Feb 2022 10:02:08 +0000 (10:02 +0000)
commit24c3e0fcfa93592559e94a57aa898b9b57a3bc6a
treeb78266ef82f13cb6b56d20d98481b5793a09ef62
parentacd0300485a49f2d5929252139011453e9611fe3
va: Delete the display lock/unlock when we call VA-API.

According to the VA-API's description, they are MT-safe, we do not
need to care about that in our middleware layer. The lock/unlock
operations have overhead and make the performance lower.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1333>
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvadisplay.c
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvadisplay.h
subprojects/gst-plugins-bad/sys/va/gstvacaps.c
subprojects/gst-plugins-bad/sys/va/gstvadecoder.c
subprojects/gst-plugins-bad/sys/va/gstvadisplay_priv.c
subprojects/gst-plugins-bad/sys/va/gstvafilter.c
subprojects/gst-plugins-bad/sys/va/gstvasurfacecopy.c
subprojects/gst-plugins-bad/sys/va/vasurfaceimage.c