summaryrefslogtreecommitdiff
path: root/src/ipa/ipa_vimc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/ipa_vimc.cpp')
-rw-r--r--src/ipa/ipa_vimc.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ipa/ipa_vimc.cpp b/src/ipa/ipa_vimc.cpp
index 50ca8dd8..8f03e811 100644
--- a/src/ipa/ipa_vimc.cpp
+++ b/src/ipa/ipa_vimc.cpp
@@ -17,7 +17,10 @@
#include <ipa/ipa_interface.h>
#include <ipa/ipa_module_info.h>
+#include "libipa/ipa_interface_wrapper.h"
+
#include "log.h"
+#include "utils.h"
namespace libcamera {
@@ -108,9 +111,9 @@ const struct IPAModuleInfo ipaModuleInfo = {
LICENSE,
};
-IPAInterface *ipaCreate()
+struct ipa_context *ipaCreate()
{
- return new IPAVimc();
+ return new IPAInterfaceWrapper(utils::make_unique<IPAVimc>());
}
}