[libcamera-devel] [PATCH v6 4/9] libcamera: controls: Add AeLocked control

Niklas Söderlund niklas.soderlund at ragnatech.se
Fri Oct 11 05:22:11 CEST 2019


Add a control to report lock status of the Auto Exposure algorithm. The
idea is that if an AE algorithm is running the control shall be added to
the metadata control list.

If the AE algorithm is locked the value shall be set to true, if it's
converging it shall be set to false. If the AE algorithm is not running
the control shall not be present in the metadata control list.

Signed-off-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 src/libcamera/control_ids.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml
index 1164cb6a40dedc27..4befec746a59e1c3 100644
--- a/src/libcamera/control_ids.yaml
+++ b/src/libcamera/control_ids.yaml
@@ -12,6 +12,17 @@ controls:
 
         \sa ManualExposure
 
+  - AeLocked:
+      type: bool
+      description: |
+        Report the lock status of a running AE algorithm.
+
+        If the AE algorithm is locked the value shall be set to true, if it's
+        converging it shall be set to false. If the AE algorithm is not
+        running the control shall not be present in the metadata control list.
+
+        \sa AeEnable
+
   - AwbEnable:
       type: bool
       description: |
-- 
2.23.0



More information about the libcamera-devel mailing list