pipewire/spa/include/spa
Wim Taymans acf9b67067 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-12 10:49:56 +01:00
..
buffer buffer: add MAPPABLE data flag 2024-02-12 10:49:56 +01:00
control treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
debug spa: debug: log: use SPA_CONTAINER_OF() 2023-11-06 19:01:20 +01:00
graph Fix some warnings 2023-11-21 16:32:51 +00:00
interfaces/audio aec: add new init2 method to initialize with different formats 2023-04-11 16:54:11 +02:00
monitor Fix some warnings 2023-11-21 16:32:51 +00:00
node Fix some warnings 2023-11-21 16:32:51 +00:00
param spa: remove some references to unimplemented items 2024-01-09 09:20:16 +01:00
pod Fix some warnings 2023-11-21 16:32:51 +00:00
support Fix some warnings 2023-11-21 16:32:51 +00:00
utils support: add resync.ms option to node.driver 2024-01-25 12:06:50 +01:00