gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/va
Víctor Manuel Jáquez Leal 6b1fba14bf 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/5760>
2023-12-07 10:42:50 +00:00
..
gstva.h va: Add Win32 backend GstVaDisplay implementation 2023-03-10 13:57:47 +00:00
gstvaallocator.c vaallocator: remove runtime mapping selection 2023-12-07 10:42:50 +00:00
gstvaallocator.h vaallocator: use GstVideoInfoDmaDrm for dmabuf setup 2023-11-09 17:36:06 +00:00
gstvadisplay.c vadisplay: only register elements of allowed drivers 2023-11-08 13:53:26 +00:00
gstvadisplay.h va: Add Win32 backend GstVaDisplay implementation 2023-03-10 13:57:47 +00:00
gstvadisplay_drm.c va: Add Win32 backend GstVaDisplay implementation 2023-03-10 13:57:47 +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_win32.cpp d3d12, dwrite, va: Fix various msys2 build error/warning 2023-10-12 10:53:58 +00:00
gstvadisplay_win32.h va: Add Win32 backend GstVaDisplay implementation 2023-03-10 13:57:47 +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: Use new dma drm caps in va pool when we setup DMA pools 2023-08-07 22:49:26 +00:00
gstvapool.h va: pool: Replace all tabs with spaces in header file. 2022-04-26 20:26:06 +08:00
gstvasurfacecopy.c va: bump libva version to 1.12 2023-06-08 08:50:04 +00:00
gstvasurfacecopy.h va: Complete library and plugin documentation. 2022-09-13 14:57:21 +02:00
gstvautils.c va: Add Win32 backend GstVaDisplay implementation 2023-03-10 13:57:47 +00: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: update the gst_va_dma_drm_info_to_video_info() to use DMA_DRM format 2023-08-07 22:49:26 +00:00
gstvavideoformat.h va: Include drm fourcc header file in gstvavideoformat.h 2023-08-07 22:49:26 +00:00
meson.build va: bump libva version to 1.12 2023-06-08 08:50:04 +00: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 vaallocator: use VADRMPRIMESurfaceDescriptor to create surfaces 2023-11-09 17:36:06 +00:00
vasurfaceimage.h vaallocator: use VADRMPRIMESurfaceDescriptor to create surfaces 2023-11-09 17:36:06 +00:00