summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/sharpen_status.h
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2020-06-23 10:14:03 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-06-25 06:47:53 +0300
commit0dbc6a507c682db1590105765119b7fa59f6493e (patch)
tree1d0bbdc09bb059ffd33d4605e85b06bb689ea383 /src/ipa/raspberrypi/controller/sharpen_status.h
parent58e63a6e7e09f271793663024b9777fb6378c33b (diff)
libcamera: ipa: raspberrypi: Add sharpness strength control
The sharpness control is, loosely speaking, a gain applied to the amount of sharpening added to an image. We also report the sharpness setting used back to the caller in metadata. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/raspberrypi/controller/sharpen_status.h')
-rw-r--r--src/ipa/raspberrypi/controller/sharpen_status.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipa/raspberrypi/controller/sharpen_status.h b/src/ipa/raspberrypi/controller/sharpen_status.h
index 6de80f40..7501b191 100644
--- a/src/ipa/raspberrypi/controller/sharpen_status.h
+++ b/src/ipa/raspberrypi/controller/sharpen_status.h
@@ -19,6 +19,8 @@ struct SharpenStatus {
double strength;
// upper limit of the allowed sharpening response
double limit;
+ // The sharpening strength requested by the user or application.
+ double user_strength;
};
#ifdef __cplusplus