diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-04-27 02:36:18 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-04-28 01:54:49 +0300 |
commit | a6de9030893753e5428ee912fe7c52fbf93febd1 (patch) | |
tree | e82996e2e87c464919808663c443a3dcb99ea887 /src/libcamera/pipeline/vimc | |
parent | 26a4b03ed85e0cc39939028964ae4a8961c05d02 (diff) |
ipa: Pass IPA initialization settings to IPAInterface::init()
Add a new IPASettings class to pass IPA initialization settings through
the IPAInterface::init() method. The settings currently only contain the
name of a configuration file, and are expected to be extended later.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/libcamera/pipeline/vimc')
-rw-r--r-- | src/libcamera/pipeline/vimc/vimc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/pipeline/vimc/vimc.cpp b/src/libcamera/pipeline/vimc/vimc.cpp index 77de4c38..99f5261b 100644 --- a/src/libcamera/pipeline/vimc/vimc.cpp +++ b/src/libcamera/pipeline/vimc/vimc.cpp @@ -385,7 +385,7 @@ bool PipelineHandlerVimc::match(DeviceEnumerator *enumerator) if (data->ipa_ == nullptr) LOG(VIMC, Warning) << "no matching IPA found"; else - data->ipa_->init(); + data->ipa_->init(IPASettings{}); /* Locate and open the capture video node. */ if (data->init(media)) |