gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/va
Víctor Manuel Jáquez Leal 6a42ed20ec vaallocator: remove runtime mapping selection
The original idea was to select the type of mapping (either using derive images
or downloading the image) in runtime, under the assumption that both methods
shared the same memory layout (offsets and strides), because a single
GstVideoMeta is assigned by the buffer pool at allocation time. Nonetheless, in
recent hardware this assumption is invalid, raising memory access errors.

This patch removes completely the mapping type selection at runtime, using the
method selected when the allocator is configured, synced with the bufferpool
allocation.

This problem was fixed originally for iHD driver only. But now it makes sense to
remove all of it.

Original-patch-by: Mengkejiergeli Ba <mengkejiergeli.ba@intel.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6204>
2024-02-23 12:23:09 +01:00
..
gstva.h va: Complete library and plugin documentation. 2022-09-13 14:57:21 +02:00
gstvaallocator.c vaallocator: remove runtime mapping selection 2024-02-23 12:23:09 +01:00
gstvaallocator.h libs: va: Add API to peek the va buffer's display. 2022-11-05 13:39:34 +08:00
gstvadisplay.c va: Complete library and plugin documentation. 2022-09-13 14:57:21 +02:00
gstvadisplay.h va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvadisplay_drm.c libs: va: Add O_CLOEXEC flag at opening drm device. 2022-05-07 09:55:36 +00:00
gstvadisplay_drm.h va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvadisplay_wrapped.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvadisplay_wrapped.h va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvapool.c va: Complete library and plugin documentation. 2022-09-13 14:57:21 +02:00
gstvapool.h va: pool: Replace all tabs with spaces in header file. 2022-04-26 20:26:06 +08:00
gstvasurfacecopy.c va: Move allocators and pool objects into gstva library. 2022-03-29 19:48:30 +00:00
gstvasurfacecopy.h va: Complete library and plugin documentation. 2022-09-13 14:57:21 +02:00
gstvautils.c va: Complete library and plugin documentation. 2022-09-13 14:57:21 +02:00
gstvautils.h va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvavideoformat.c va: Complete library and plugin documentation. 2022-09-13 14:57:21 +02:00
gstvavideoformat.h va: Validate JPEG subsampling configurations. 2022-08-17 18:34:10 +00:00
meson.build va: Complete library and plugin documentation. 2022-09-13 14:57:21 +02:00
va-prelude.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
va_fwd.h va: Don't expose internal classes. 2022-03-30 11:36:03 +02:00
vasurfaceimage.c va: check surface status before get derive image 2024-01-12 16:22:56 +00:00
vasurfaceimage.h va: Expose a couple va surface/buffer methods. 2022-04-20 15:15:56 +00:00