@@ -37,6 +37,7 @@ struct IPU3Action {
struct IPAConfigInfo {
libcamera.IPACameraSensorInfo sensorInfo;
libcamera.ControlInfoMap sensorControls;
+ libcamera.ControlInfoMap lensControls;
libcamera.Size bdsOutputSize;
libcamera.Size iif;
};
@@ -163,6 +163,7 @@ private:
std::map<unsigned int, MappedFrameBuffer> buffers_;
ControlInfoMap ctrls_;
+ ControlInfoMap lensCtrls_;
IPACameraSensorInfo sensorInfo_;
@@ -450,6 +451,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.