mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-19 04:35:20 +00:00
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> |
||
---|---|---|
.. | ||
gstva.h | ||
gstvaallocator.c | ||
gstvaallocator.h | ||
gstvadisplay.c | ||
gstvadisplay.h | ||
gstvadisplay_drm.c | ||
gstvadisplay_drm.h | ||
gstvadisplay_win32.cpp | ||
gstvadisplay_win32.h | ||
gstvadisplay_wrapped.c | ||
gstvadisplay_wrapped.h | ||
gstvapool.c | ||
gstvapool.h | ||
gstvasurfacecopy.c | ||
gstvasurfacecopy.h | ||
gstvautils.c | ||
gstvautils.h | ||
gstvavideoformat.c | ||
gstvavideoformat.h | ||
meson.build | ||
va-prelude.h | ||
va_fwd.h | ||
vasurfaceimage.c | ||
vasurfaceimage.h |