[libcamera-devel] [PATCH v2 02/14] libcamera: pipeline: vimc: Increase version of dummy IPA
Niklas Söderlund
niklas.soderlund at ragnatech.se
Fri Aug 30 01:26:41 CEST 2019
An IPA version number of 0 will be redefined as No IPA support. Increase
the VIMC dummy IPA version to 1 to allow it to keep loading.
Signed-off-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
src/ipa/ipa_dummy.cpp | 2 +-
src/libcamera/pipeline/vimc.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ipa/ipa_dummy.cpp b/src/ipa/ipa_dummy.cpp
index 2fe232295c676941..09f1b96a8f3d5c36 100644
--- a/src/ipa/ipa_dummy.cpp
+++ b/src/ipa/ipa_dummy.cpp
@@ -23,7 +23,7 @@ class IPADummy : public IPAInterface
extern "C" {
const struct IPAModuleInfo ipaModuleInfo = {
IPA_MODULE_API_VERSION,
- 0,
+ 1,
"PipelineHandlerVimc",
"Dummy IPA for Vimc",
"LGPL-2.1-or-later",
diff --git a/src/libcamera/pipeline/vimc.cpp b/src/libcamera/pipeline/vimc.cpp
index 55d5bff287c3366d..86aefc08a9563d44 100644
--- a/src/libcamera/pipeline/vimc.cpp
+++ b/src/libcamera/pipeline/vimc.cpp
@@ -361,7 +361,7 @@ bool PipelineHandlerVimc::match(DeviceEnumerator *enumerator)
if (!media)
return false;
- ipa_ = IPAManager::instance()->createIPA(this, 0, 0);
+ ipa_ = IPAManager::instance()->createIPA(this, 1, 1);
if (ipa_ == nullptr)
LOG(VIMC, Warning) << "no matching IPA found";
--
2.22.1
More information about the libcamera-devel
mailing list