[libcamera-devel] [PATCH 1/3] libcamera: add a sharpness strength control

David Plowman david.plowman at raspberrypi.com
Fri Jun 19 11:27:23 CEST 2020


The control is a single float value with minimum, default and maximum
values. Please read the description for more details.

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 77ebc3f..1bc1b10 100644
--- a/src/libcamera/control_ids.yaml
+++ b/src/libcamera/control_ids.yaml
@@ -239,4 +239,15 @@ controls:
         pixel range (as if pixels ranged from 0 to 65535). The SensorBlackLevels
         control can only be returned in metadata.
       size: [4]
+
+  - Sharpness:
+      type: float
+      description:  |
+        The strength of the sharpening to be applied. The minimum value
+        means minimal (or preferably no) sharpening, the maximum should
+        signify extremely high levels of sharpening (higher than anyone could
+        reasonably want), and the default value should give a "reasonable"
+        level, suitable for many use cases. We recommand that the amount
+        of sharpening applied should be "approximately" proportional to this
+        parameter.
 ...
-- 
2.20.1



More information about the libcamera-devel mailing list