[libcamera-devel] [PATCH 1/1] libcamera: controls: Add DigitalGain control

David Plowman david.plowman at raspberrypi.com
Tue Oct 27 15:12:46 CET 2020


This control reports the global digital gain applied by the pipeline
as a whole, after capturing a raw image from the sensor.

Signed-off-by: David Plowman <david.plowman at raspberrypi.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 c8874fa9..e6362c74 100644
--- a/src/libcamera/control_ids.yaml
+++ b/src/libcamera/control_ids.yaml
@@ -530,4 +530,15 @@ controls:
         This control is only present when the pipeline supports scaling. Its
         maximum valid value is given by the properties::ScalerCropMaximum
         property, and the two can be used to implement digital zoom.
+
+  - DigitalGain:
+      type: float
+      description: |
+        Global digital gain value applied to the image during all the
+        processing steps after capturing the image from the sensor. Any raw
+        images, therefore, will not include this gain, but the final images
+        output by the imaging pipeline as a whole will include it.
+
+        This control is intended to report the value used by the image
+        processing pipeline.
 ...
-- 
2.20.1



More information about the libcamera-devel mailing list