[libcamera-devel] [PATCH 1/2] controls: Add HotPixelMode
Paul Elder
paul.elder at ideasonboard.com
Tue Dec 21 06:33:03 CET 2021
Add a control for setting and reporting the operating mode for hot pixel
correction.
Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
---
src/libcamera/control_ids.yaml | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml
index 411200a8..44f785e2 100644
--- a/src/libcamera/control_ids.yaml
+++ b/src/libcamera/control_ids.yaml
@@ -925,6 +925,34 @@ controls:
value: 3
description: The AWB algorithm is locked.
+ - HotPixelMode:
+ type: int32_t
+ draft: true
+ description: |
+ Control to set and report the operation mode for hot pixel correction.
+
+ Hot pixel correction interpolates out, or otherwise removes, pixels
+ that do not accurately measure the incoming light (i.e. pixels that are
+ stuck at an arbitrary value or are oversensitive).
+
+ \todo Return the hot pixel map.
+ enum:
+ - name: HotPixelModeOff
+ value: 0
+ description: |
+ No hot pixel correction is applied. The frame rate must not be
+ reduced relative to sensor raw output.
+ - name: HotPixelModeFast
+ value: 1
+ description: |
+ Hot pixel correction is applied, without reducing frame rate
+ relative to sensor raw output.
+ - name: HotPixelModeHighQuality
+ value: 2
+ description: |
+ Hot pixel correction is applied, at a cost of possibly reduced
+ frame rate relative to sensor raw output.
+
- SensorRollingShutterSkew:
type: int64_t
draft: true
--
2.27.0
More information about the libcamera-devel
mailing list