summaryrefslogtreecommitdiff
path: root/src/ipa/libipa/algorithm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/libipa/algorithm.h')
-rw-r--r--src/ipa/libipa/algorithm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ipa/libipa/algorithm.h b/src/ipa/libipa/algorithm.h
index cfbe4ed8..2a8871d8 100644
--- a/src/ipa/libipa/algorithm.h
+++ b/src/ipa/libipa/algorithm.h
@@ -11,6 +11,8 @@
namespace libcamera {
+class YamlObject;
+
namespace ipa {
template<typename _Module>
@@ -21,6 +23,12 @@ public:
virtual ~Algorithm() {}
+ virtual int init([[maybe_unused]] typename Module::Context &context,
+ [[maybe_unused]] const YamlObject &tuningData)
+ {
+ return 0;
+ }
+
virtual int configure([[maybe_unused]] typename Module::Context &context,
[[maybe_unused]] const typename Module::Config &configInfo)
{