[libcamera-devel] [PATCH 0/3] libcamera: Add new Camera devices property

Kieran Bingham kieran.bingham at ideasonboard.com
Wed Apr 19 10:58:18 CEST 2023


It can be beneficial to allow reporting the devices used by a camera to
facilitate de-duplication of resources when handling cameras from a
centralised infrastructure such as PipeWire.

Expose a new property on all cameras which reports a list of dev_t
values representing devices used by the camera.

Pipelines supported by media-controller will automatically register an
entry for any video node present in the media graphs registered with the
Pipeline Handler.

Kieran Bingham (3):
  libcamera: controls: Support dev_t in an Integer32 type.
  libcamera: properties: Provide a Devices camera property
  libcamera: pipeline: Register device numbers with camera

 include/libcamera/controls.h       | 5 +++++
 src/libcamera/pipeline_handler.cpp | 8 ++++++++
 src/libcamera/property_ids.yaml    | 8 ++++++++
 3 files changed, 21 insertions(+)

-- 
2.34.1



More information about the libcamera-devel mailing list