new file mode 100644
@@ -0,0 +1,34 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2025, Ideas On Board
+ *
+ * RkISP1 Denoising Algorithms Base Class
+ */
+
+#pragma once
+
+#include "algorithm.h"
+
+namespace libcamera {
+
+namespace ipa::rkisp1::algorithms {
+
+/**
+ * \class DenoiseBaseAlgorithm
+ * \brief Base class for RkISP1 denoising algorithms
+ *
+ * This abstract base class provides common functionality for denoising algorithms
+ * in the RkISP1 Image Processing Algorithm (IPA).
+ *
+ * Derived classes must implement algorithm-specific behavior.
+ */
+class DenoiseBaseAlgorithm : public ipa::rkisp1::Algorithm
+{
+protected:
+ DenoiseBaseAlgorithm() = default;
+ ~DenoiseBaseAlgorithm() = default;
+};
+
+} /* namespace ipa::rkisp1::algorithms */
+
+} /* namespace libcamera */
Introduce the abstract DenoiseBaseAlgorithm class as a shared foundation for the DPF and Filter algorithms. The base class provides pure virtual hooks for control handling, manual overrides, and mode transitions, plus common state members for enable/manual/dev mode tracking. Derived classes must implement the pure virtual methods to provide algorithm-specific behavior. Signed-off-by: Rui Wang <rui.wang@ideasonboard.com> --- src/ipa/rkisp1/algorithms/denoise.h | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/ipa/rkisp1/algorithms/denoise.h