summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libcamera/ipa/ipu3.mojom1
-rw-r--r--src/ipa/ipu3/ipu3.cpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/libcamera/ipa/ipu3.mojom b/include/libcamera/ipa/ipu3.mojom
index cc0d822f..18cdc744 100644
--- a/include/libcamera/ipa/ipu3.mojom
+++ b/include/libcamera/ipa/ipu3.mojom
@@ -37,6 +37,7 @@ struct IPU3Action {
struct IPAConfigInfo {
libcamera.IPACameraSensorInfo sensorInfo;
libcamera.ControlInfoMap sensorControls;
+ libcamera.ControlInfoMap lensControls;
libcamera.Size bdsOutputSize;
libcamera.Size iif;
};
diff --git a/src/ipa/ipu3/ipu3.cpp b/src/ipa/ipu3/ipu3.cpp
index 1c4ff2d7..de51da3e 100644
--- a/src/ipa/ipu3/ipu3.cpp
+++ b/src/ipa/ipu3/ipu3.cpp
@@ -162,6 +162,7 @@ private:
std::map<unsigned int, MappedFrameBuffer> buffers_;
ControlInfoMap ctrls_;
+ ControlInfoMap lensCtrls_;
IPACameraSensorInfo sensorInfo_;
@@ -425,6 +426,8 @@ int IPAIPU3::configure(const IPAConfigInfo &configInfo,
sensorInfo_ = configInfo.sensorInfo;
+ lensCtrls_ = configInfo.lensControls;
+
/*
* Compute the sensor V4L2 controls to be used by the algorithms and
* to be set on the sensor.