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:
parent
931556c37c
commit
5413e78893
2 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,7 @@ struct IPU3Action {
|
||||||
struct IPAConfigInfo {
|
struct IPAConfigInfo {
|
||||||
libcamera.IPACameraSensorInfo sensorInfo;
|
libcamera.IPACameraSensorInfo sensorInfo;
|
||||||
libcamera.ControlInfoMap sensorControls;
|
libcamera.ControlInfoMap sensorControls;
|
||||||
|
libcamera.ControlInfoMap lensControls;
|
||||||
libcamera.Size bdsOutputSize;
|
libcamera.Size bdsOutputSize;
|
||||||
libcamera.Size iif;
|
libcamera.Size iif;
|
||||||
};
|
};
|
||||||
|
|
|
@ -162,6 +162,7 @@ private:
|
||||||
std::map<unsigned int, MappedFrameBuffer> buffers_;
|
std::map<unsigned int, MappedFrameBuffer> buffers_;
|
||||||
|
|
||||||
ControlInfoMap ctrls_;
|
ControlInfoMap ctrls_;
|
||||||
|
ControlInfoMap lensCtrls_;
|
||||||
|
|
||||||
IPACameraSensorInfo sensorInfo_;
|
IPACameraSensorInfo sensorInfo_;
|
||||||
|
|
||||||
|
@ -425,6 +426,8 @@ int IPAIPU3::configure(const IPAConfigInfo &configInfo,
|
||||||
|
|
||||||
sensorInfo_ = configInfo.sensorInfo;
|
sensorInfo_ = configInfo.sensorInfo;
|
||||||
|
|
||||||
|
lensCtrls_ = configInfo.lensControls;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compute the sensor V4L2 controls to be used by the algorithms and
|
* Compute the sensor V4L2 controls to be used by the algorithms and
|
||||||
* to be set on the sensor.
|
* to be set on the sensor.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue