summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/denoise_status.h
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2021-02-08 15:07:37 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-02-09 13:23:39 +0200
commitc9e1ef7bd277e4041f2f7a3ca6519b0c2606c989 (patch)
treefdc3928d87c0f68b0c3b250923bd87fcb1427b28 /src/ipa/raspberrypi/controller/denoise_status.h
parent44ea5b65c8b76c3596b80d6e72b1f28b52006f21 (diff)
ipa: raspberrypi: Add a DenoiseAlgorithm class to the Controller
This denoise algorithm class will be used to pass in the user requested denoise operating mode to the controller. The existing Denoise controller will derive from this new DenoiseAlgorithm class. Add a denoise mode field in the denoise status metadata object for the IPA to use when configuring the ISP. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.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/denoise_status.h')
-rw-r--r--src/ipa/raspberrypi/controller/denoise_status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipa/raspberrypi/controller/denoise_status.h b/src/ipa/raspberrypi/controller/denoise_status.h
index 4412d615..67a3c361 100644
--- a/src/ipa/raspberrypi/controller/denoise_status.h
+++ b/src/ipa/raspberrypi/controller/denoise_status.h
@@ -16,6 +16,7 @@ struct DenoiseStatus {
double noise_constant;
double noise_slope;
double strength;
+ unsigned int mode;
};
#ifdef __cplusplus