gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/va
Robert Mader 9ee58825cc vaallocator: Allow non-linear modifiers for dummy mem_maps
A client may map dmabufs without the intention to either read or write
to the memory. One example is clients wanting to use the
`gst_video_frame_map()` helper function.

Thus, in order to make buffers from `GstVaDmabufAllocator` conveniently
usable, ignore the modifier check if the client specified neither
`GST_MAP_READ` nor `GST_MAP_WRITE`.

Also skip the `va_sync_surface()` call in that case, as it's likely only
needed for CPU reads/writes.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5965>
2024-01-29 17:10:50 +00:00
..
gstva.h va: Add Win32 backend GstVaDisplay implementation 2023-03-10 13:57:47 +00:00
gstvaallocator.c vaallocator: Allow non-linear modifiers for dummy mem_maps 2024-01-29 17:10:50 +00:00
gstvaallocator.h vaallocator: clean up use derived feature 2023-12-12 18:39:49 +01:00
gstvadisplay.c vadisplay: add gst_va_display_check_version() 2023-12-13 09:12:28 +00:00
gstvadisplay.h vadisplay: add gst_va_display_check_version() 2023-12-13 09:12:28 +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: no need to provide a buffer size for VA pool 2023-12-14 12:50:32 +00:00
gstvapool.h va: no need to provide a buffer size for VA pool 2023-12-14 12:50:32 +00: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 va: check surface status before get derive image 2023-12-07 10:42:50 +00:00
vasurfaceimage.h vaallocator: use VADRMPRIMESurfaceDescriptor to create surfaces 2023-11-09 17:36:06 +00:00