pipewire/spa/plugins/libcamera
Robert Mader 1e6920c33b video: Add extra field indicating if modifier value is valid
The drm format modifier value `0` is actually `DRM_FORMAT_MOD_LINEAR`,
a commonly used modifier. Unfortunately there appears to be no value
that can savely used as placeholder for "no value", as e.g.
`DRM_FORMAT_MOD_INVALID` is often used to indicate an implicit modifier.

Thus add an extra field that clearly indicates whether the modifier
value is set or not, add it to the util fuctions and use it for the
current only user, the libcamera backend.

Fixes 5a6da7d5e1

Closes https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2943
2023-01-10 22:01:31 +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: Fix 90/270 degree transforms 2022-12-07 14:15:59 +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