summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/sharpen_algorithm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/raspberrypi/controller/sharpen_algorithm.hpp')
-rw-r--r--src/ipa/raspberrypi/controller/sharpen_algorithm.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ipa/raspberrypi/controller/sharpen_algorithm.hpp b/src/ipa/raspberrypi/controller/sharpen_algorithm.hpp
new file mode 100644
index 00000000..3b27a745
--- /dev/null
+++ b/src/ipa/raspberrypi/controller/sharpen_algorithm.hpp
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+/*
+ * Copyright (C) 2020, Raspberry Pi (Trading) Limited
+ *
+ * sharpen_algorithm.hpp - sharpness control algorithm interface
+ */
+#pragma once
+
+#include "algorithm.hpp"
+
+namespace RPi {
+
+class SharpenAlgorithm : public Algorithm
+{
+public:
+ SharpenAlgorithm(Controller *controller) : Algorithm(controller) {}
+ // A sharpness control algorithm must provide the following:
+ virtual void SetStrength(double strength) = 0;
+};
+
+} // namespace RPi