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:36 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-02-09 13:23:39 +0200
commit44ea5b65c8b76c3596b80d6e72b1f28b52006f21 (patch)
tree14a174a86e732d0f7b14026b345809e43d3da46c /src/ipa/raspberrypi/controller/denoise_status.h
parent1c362b785583223526fcf2dd43e11b957e51e439 (diff)
ipa: raspberrypi: Rename SdnStatus to DenoiseStatus
This change is in anticipation of the addition of a DenoiseAlgorithm base class which the SDN class will derive from. We want to match the metadata object name with the base class algorithm name. This renames: - SdnStatus metadata object to DenoiseStatus - "sdn.status" metadata string key to "denoise.status" - sdn_status.h header file to denoise_status.h 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.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ipa/raspberrypi/controller/denoise_status.h b/src/ipa/raspberrypi/controller/denoise_status.h
new file mode 100644
index 00000000..4412d615
--- /dev/null
+++ b/src/ipa/raspberrypi/controller/denoise_status.h
@@ -0,0 +1,23 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+/*
+ * Copyright (C) 2019-2021, Raspberry Pi (Trading) Limited
+ *
+ * denoise_status.h - Denoise control algorithm status
+ */
+#pragma once
+
+// This stores the parameters required for Denoise.
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct DenoiseStatus {
+ double noise_constant;
+ double noise_slope;
+ double strength;
+};
+
+#ifdef __cplusplus
+}
+#endif