pipewire/spa/plugins
Wim Taymans 858d4e9e1c buffer: add MAPPABLE data flag
Add a MAPPABLE data flag that hints that the fd in the data is mappable
with a simple mmap/munmap. Normally, DmaBuf is not mappable like that
unless explicitly indicated with this flag.

Set the MAPPABLE flag on the DmaBuf from v4l2 and libcamera fd.

When asked, mmap the buffer memory in all cases when the MAPPABLE
flag is set.

This solves the case where v4l2 has exported DmaBuf and is streaming to
node A and then node B links but doesn't get automatically mmaped
memory.

Fixes #3840
2024-02-08 18:09:08 +01:00
..
aec spa: export log topic enumerations 2024-01-04 10:02:55 +00:00
alsa meson: fix build with missing libudev-devel 2024-02-06 11:49:40 +01:00
audioconvert audioconvert: remove unnecessary casts 2024-01-16 15:33:13 +01:00
audiomixer spa: export log topic enumerations 2024-01-04 10:02:55 +00:00
audiotestsrc node: update the duration/rate from the target 2023-03-23 18:39:27 +01:00
avb spa: small cleanups 2024-01-10 15:51:01 +01:00
bluez5 spa: bluez: fix whitespaces 2024-02-05 20:01:21 +01:00
control tweak number of buffers 2023-10-13 14:00:29 +02:00
ffmpeg treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
jack tweak number of buffers 2023-10-13 14:00:29 +02:00
libcamera buffer: add MAPPABLE data flag 2024-02-08 18:09:08 +01:00
support loop: fix clang compilation 2024-02-05 23:16:36 +01:00
test spa: deduplicate test-helper.h 2023-10-15 16:20:17 +00:00
v4l2 buffer: add MAPPABLE data flag 2024-02-08 18:09:08 +01:00
videoconvert videoconvert: Enable loading external converter plugins 2024-01-22 13:59:16 +00:00
videotestsrc videotestsrc: implement impl_node_set_io to fix segfault while loading 2023-10-26 15:54:10 +02:00
volume volume: Fix inverted check for buffer validity 2023-03-31 08:19:07 +00:00
vulkan vulkan: Update logging in compute plugins 2024-02-04 09:27:56 +00:00
meson.build meson: fix build with missing libudev-devel 2024-02-06 11:49:40 +01:00