[libcamera-devel] [PATCH 1/3] properties: Add SensorFixedBlackLevels
Paul Elder
paul.elder at ideasonboard.com
Tue Dec 21 06:21:14 CET 2021
Add a property to store the black levels, which are the zero light
values for each color channel specified in the CFA. We already have a
similar control that reports dynamic black levels, but we also need a
static one.
Bug: https://bugs.libcamera.org/show_bug.cgi?id=48
Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
---
src/libcamera/property_ids.yaml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml
index 12ecbce5..99067144 100644
--- a/src/libcamera/property_ids.yaml
+++ b/src/libcamera/property_ids.yaml
@@ -678,6 +678,23 @@ controls:
\todo Turn this property into a "maximum control value" for the
ScalerCrop control once "dynamic" controls have been implemented.
+ - SensorFixedBlackLevels:
+ type: int32_t
+ size: [4]
+ description: |
+ A fixed black level offset for each of the color filter arrangement
+ (CFA) mosaic channels.
+
+ This property specifies the zero light value for each of the CFA mosaic
+ channels in the camera sensor.
+
+ The values are given in the same order as channels listed for the CFA
+ layout key i.e. the nth value given corresponds to the black level
+ offset for the nth color channel listed in the CFA. If the CFA is MONO,
+ all four channels shall have the same values.
+
+ \sa ColorFilterArrangement
+
# ----------------------------------------------------------------------------
# Draft properties section
--
2.27.0
More information about the libcamera-devel
mailing list