libcamera: ipa: Add lens control member to ipu3 ipa interface

Add further members to the ipu3 ipa interface that will hold lens
controls passed in by configInfo

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Scally <djrscally@gmail.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Daniel Scally
2022-03-03 23:49:53 +00:00
committed by Kieran Bingham
parent 931556c37c
commit 5413e78893
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -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.