pipewire/spa/plugins/libcamera
Barnabás Pőcze 151ebb8663 spa: libcamera: device: expose libcamera camera properties
A libcamera camera has a set of static properties found in `Camera::properties()`.
Some of the properties are already available for pipewire clients
(Model, Rotation, Location), most of them are not.

So serialize all properties into a strings and make them available on the
pipewire device. The keys have the form "api.libcamera.property.<vendor>.<name>"
and the values are intended to be valid json values, parsable by
python's `json.loads()` or qt's `QJsonValue::fromJson()`.

Controls of type "rectangle", "size", or "point" are not supported for now since
their json forms are not self-evident. They can be added when the need arises.
2026-07-04 00:03:45 +02:00
..
libcamera-device.cpp spa: libcamera: device: expose libcamera camera properties 2026-07-04 00:03:45 +02:00
libcamera-manager.cpp spa: libcamera: expose libcamera version 2026-06-23 15:00:15 +00:00
libcamera-source.cpp spa: libcamera: source: reject buffers with incorrect number of planes 2026-06-23 15:00:15 +00:00
libcamera.cpp spa: libcamera: move CameraManager acquisition 2026-06-23 15:00:15 +00:00
libcamera.hpp spa: libcamera: device: expose libcamera camera properties 2026-07-04 00:03:45 +02:00
meson.build spa: libcamera: compile fully as C++ 2026-06-23 15:00:15 +00:00