gstreamer/subprojects/gst-plugins-bad/sys/va
He Junyan 7f31dcf084 va: DMA allocator: Set the copied memory properly when popped from pool.
The current code does not set the copied memory correctly when it is popped
from the surface cache pool.
1. We forget to ref the allocator, which causes the allocator to be freed
   unexpected, and we get a crash later because of the memory violation.
2. We forget to add ref_mems_count, which causes the surface leak because
   the surface can not be pushed back to the cache pool again.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1373>
2021-11-29 19:25:31 +00:00
..
gstvaallocator.c va: DMA allocator: Set the copied memory properly when popped from pool. 2021-11-29 19:25:31 +00:00
gstvaallocator.h va: allocator: Add missing header file. 2021-10-10 17:03:29 +00:00
gstvaav1dec.c va: Move common variable need_negotiation to GstBaseDec. 2021-10-29 16:06:52 +00:00
gstvaav1dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvabasedec.c vabasedec: Move warning message to decoder's category. 2021-10-29 16:06:52 +00:00
gstvabasedec.h va: Move common variable need_negotiation to GstBaseDec. 2021-10-29 16:06:52 +00:00
gstvabasetransform.c vapostproc, vadeinterlace: don't transform caps if no intersection. 2021-11-22 15:27:10 +00:00
gstvabasetransform.h vapostproc, vadeinterlace: don't transform caps if no intersection. 2021-11-22 15:27:10 +00:00
gstvacaps.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvacaps.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvadecoder.c va: decoder: Also ref the display when duplicating pictures. 2021-11-19 14:40:18 +00:00
gstvadecoder.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvadeinterlace.c vapostproc, vadeinterlace: don't transform caps if no intersection. 2021-11-22 15:27:10 +00:00
gstvadeinterlace.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvadevice.c va: Make libgudev dependency optional. 2021-10-04 10:19:36 +00:00
gstvadevice.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvadisplay_priv.c va: display: Add gst_va_display_has_vpp() 2021-10-10 17:03:29 +00:00
gstvadisplay_priv.h va: display: Add gst_va_display_has_vpp() 2021-10-10 17:03:29 +00:00
gstvafilter.c va: filter: Validate input parameter in internal function. 2021-11-22 15:27:10 +00:00
gstvafilter.h vapostproc: Add add-borders property to keep dar 2021-10-17 11:24:26 +00:00
gstvah264dec.c va: Delay decoders downstream negotiation. 2021-10-29 16:06:52 +00:00
gstvah264dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvah265dec.c va: Delay decoders downstream negotiation. 2021-10-29 16:06:52 +00:00
gstvah265dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvampeg2dec.c sys: va: GstVaMpeg2Dec: use slice sc_offset and size 2021-11-02 16:16:29 +00:00
gstvampeg2dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvapool.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvapool.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvaprofile.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvaprofile.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvasurfacecopy.c va: Add GstVaSurfaceCopy class. 2021-10-10 17:03:29 +00:00
gstvasurfacecopy.h va: Add GstVaSurfaceCopy class. 2021-10-10 17:03:29 +00:00
gstvautils.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvautils.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvavideoformat.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvavideoformat.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvavp8dec.c va: Delay decoders downstream negotiation. 2021-10-29 16:06:52 +00:00
gstvavp8dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvavp9dec.c va: Delay decoders downstream negotiation. 2021-10-29 16:06:52 +00:00
gstvavp9dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvavpp.c vapostproc, vadeinterlace: don't transform caps if no intersection. 2021-11-22 15:27:10 +00:00
gstvavpp.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
meson.build meson: va, msdk: simplify dep.get_variable() use 2021-10-20 11:20:44 +00:00
plugin.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
vasurfaceimage.c va: Add GstVaSurfaceCopy class. 2021-10-10 17:03:29 +00:00
vasurfaceimage.h va: Add GstVaSurfaceCopy class. 2021-10-10 17:03:29 +00:00