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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ipa/ipu3/algorithms/algorithm.h b/src/ipa/ipu3/algorithms/algorithm.h
index 072f01c4..43f5d8b0 100644
--- a/src/ipa/ipu3/algorithms/algorithm.h
+++ b/src/ipa/ipu3/algorithms/algorithm.h
@@ -7,6 +7,10 @@
#ifndef __LIBCAMERA_IPA_IPU3_ALGORITHM_H__
#define __LIBCAMERA_IPA_IPU3_ALGORITHM_H__
+#include <libcamera/ipa/ipu3_ipa_interface.h>
+
+#include "ipa_context.h"
+
namespace libcamera {
namespace ipa::ipu3 {
@@ -15,6 +19,10 @@ class Algorithm
{
public:
virtual ~Algorithm() {}
+
+ virtual int configure(IPAContext &context, const IPAConfigInfo &configInfo);
+ virtual void prepare(IPAContext &context, ipu3_uapi_params *params);
+ virtual void process(IPAContext &context, const ipu3_uapi_stats_3a *stats);
};
} /* namespace ipa::ipu3 */