[libcamera-devel] [PATCH v3 4/5] libcamera: properties: Provide a Devices camera property

Ashok Sidipotu ashok.sidipotu at collabora.com
Tue Jun 6 13:56:09 CEST 2023


Tested-by: Ashok Sidipotu <ashok.sidipotu at collabora.com>

On Monday, May 15, 2023 18:15 IST, Kieran Bingham <kieran.bingham at ideasonboard.com> wrote:
 Provide a new Camera property that allows pipeline handlers to list any
devices used to operate the device. 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.

Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>
---
src/libcamera/property_ids.yaml | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml
index cb55e0ed2283..6141942969f9 100644
--- a/src/libcamera/property_ids.yaml
+++ b/src/libcamera/property_ids.yaml
@@ -690,6 +690,13 @@ controls:
that is twice that of the full resolution mode. This value will be valid
after the configure method has returned successfully.

+ - Devices:
+ type: int64_t
+ size: [n]
+ description: |
+ A list of integer values of type dev_t denoting major and minor device
+ number of the underlying devices used in the operation of this camera.
+
# ----------------------------------------------------------------------------
# Draft properties section

--
2.34.1
 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20230606/a0f82fdc/attachment.htm>


More information about the libcamera-devel mailing list