diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-02-05 18:15:43 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-06-17 22:52:34 +0100 |
commit | 1de9518f51a92ee931ccb5041049e147a46ff65b (patch) | |
tree | 53749536bdf62fc47ba23ca924862cc4bc80339e | |
parent | 75ddd20209c9630b1956b2d783ffb63f9dbaabc9 (diff) |
libcamera: properties: Provide a Devices camera property
Provide a new Camera property that allows pipeline handlers to list any
kernel device used to operate the camera. This allows other frameworks
and daemons such as PipeWire to better understand the resources consumed
by a Camera and consider ignoring those resources when enumerating
camera devices on a system.
Tested-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r-- | src/libcamera/property_ids.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml index cb55e0ed..5bddafc2 100644 --- a/src/libcamera/property_ids.yaml +++ b/src/libcamera/property_ids.yaml @@ -690,6 +690,16 @@ controls: that is twice that of the full resolution mode. This value will be valid after the configure method has returned successfully. + - SystemDevices: + type: int64_t + size: [n] + description: | + A list of integer values of type dev_t denoting the major and minor + device numbers of the underlying devices used in the operation of this + camera. + + Different cameras may report identical devices. + # ---------------------------------------------------------------------------- # Draft properties section |