summaryrefslogtreecommitdiff
path: root/src/ipa/ipu3/algorithms/algorithm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/ipu3/algorithms/algorithm.h')
-rw-r--r--src/ipa/ipu3/algorithms/algorithm.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ipa/ipu3/algorithms/algorithm.h b/src/ipa/ipu3/algorithms/algorithm.h
new file mode 100644
index 00000000..cbeb6d64
--- /dev/null
+++ b/src/ipa/ipu3/algorithms/algorithm.h
@@ -0,0 +1,30 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2021, Ideas On Board
+ *
+ * algorithm.h - IPU3 control algorithm interface
+ */
+#ifndef __LIBCAMERA_IPA_IPU3_ALGORITHM_H__
+#define __LIBCAMERA_IPA_IPU3_ALGORITHM_H__
+
+#include <ipa_context.h>
+
+namespace libcamera {
+
+namespace ipa::ipu3 {
+
+class Algorithm
+{
+public:
+ virtual ~Algorithm();
+
+ virtual int initialise(IPAContext *context);
+ virtual int configure(IPAContext *context);
+ virtual void process(IPAContext *context);
+};
+
+} /* namespace ipa::ipu3 */
+
+} /* namespace libcamera */
+
+#endif /* __LIBCAMERA_IPA_IPU3_ALGORITHM_H__ */