pipewire/spa/plugins/libcamera
Robert Mader 950b62a8d8 libcamera: Implement proper dmabuf negotiation support
According to https://docs.pipewire.org/page_dma_buf.html, i.e. announce
each format once with, once without `SPA_FORMAT_VIDEO_modifier`
property.

Note: currently libcamera always uses `DRM_FORMAT_MOD_LINEAR` (`== 0`),
so `pix.modifier()` returning `0` does not mean that no modifier is
supported.

This is needed for clients using the new DMABuf negotiation pattern,
such as gstpipewiresrc after 602aa7d5.
2023-01-11 01:39:42 +01:00
..
libcamera-client.c libcamera: emit device removal event 2022-11-14 15:38:16 +01:00
libcamera-device.cpp spa: libcamera: manage libcamera::CameraManager via a shared_ptr 2022-09-15 11:17:47 +00:00
libcamera-manager.cpp libcamera: fix device id assignment 2022-11-14 16:04:21 +01:00
libcamera-manager.hpp spa: libcamera: manage libcamera::CameraManager via a shared_ptr 2022-09-15 11:17:47 +00:00
libcamera-source.cpp video: Add extra field indicating if modifier value is valid 2023-01-10 22:01:31 +01:00
libcamera-utils.cpp libcamera: Implement proper dmabuf negotiation support 2023-01-11 01:39:42 +01:00
libcamera.c libcamera: work on rewrite 2021-11-03 17:49:10 +01:00
libcamera.h libcamera: work on rewrite 2021-11-03 17:49:10 +01:00
meson.build treewide: meson.build: use dependency variable for SPA 2021-12-28 18:34:06 +01:00