summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ipa/rkisp1/rkisp1.cpp5
-rw-r--r--src/libcamera/pipeline/rkisp1/rkisp1.cpp2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
index bf2c13b6..7ecbf8ae 100644
--- a/src/ipa/rkisp1/rkisp1.cpp
+++ b/src/ipa/rkisp1/rkisp1.cpp
@@ -34,7 +34,7 @@ namespace ipa::rkisp1 {
class IPARkISP1 : public IPARkISP1Interface
{
public:
- int init(unsigned int hwRevision) override;
+ int init(const IPASettings &settings, unsigned int hwRevision) override;
int start() override;
void stop() override {}
@@ -75,7 +75,8 @@ private:
unsigned int hwHistogramWeightGridsSize_;
};
-int IPARkISP1::init(unsigned int hwRevision)
+int IPARkISP1::init([[maybe_unused]] const IPASettings &settings,
+ unsigned int hwRevision)
{
/* \todo Add support for other revisions */
switch (hwRevision) {
diff --git a/src/libcamera/pipeline/rkisp1/rkisp1.cpp b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
index 98008862..6cdc4c03 100644
--- a/src/libcamera/pipeline/rkisp1/rkisp1.cpp
+++ b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
@@ -319,7 +319,7 @@ int RkISP1CameraData::loadIPA(unsigned int hwRevision)
ipa_->queueFrameAction.connect(this,
&RkISP1CameraData::queueFrameAction);
- int ret = ipa_->init(hwRevision);
+ int ret = ipa_->init(IPASettings{ "", sensor_->model() }, hwRevision);
if (ret < 0) {
LOG(RkISP1, Error) << "IPA initialization failure";
return ret;