summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/rkisp1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/rkisp1/rkisp1.cpp')
-rw-r--r--src/ipa/rkisp1/rkisp1.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
index 41babf0c..744a16ae 100644
--- a/src/ipa/rkisp1/rkisp1.cpp
+++ b/src/ipa/rkisp1/rkisp1.cpp
@@ -19,6 +19,7 @@
#include <libcamera/buffer.h>
#include <libcamera/control_ids.h>
#include <libcamera/request.h>
+#include <libipa/ipa_interface_wrapper.h>
#include "log.h"
#include "utils.h"
@@ -247,9 +248,9 @@ const struct IPAModuleInfo ipaModuleInfo = {
"LGPL-2.1-or-later",
};
-IPAInterface *ipaCreate()
+struct ipa_context *ipaCreate()
{
- return new IPARkISP1();
+ return new IPAInterfaceWrapper(utils::make_unique<IPARkISP1>());
}
}