libcamera: ipu3: Pass lens controls to config info
When configuring the pipeline we want to share the controls for any VCM device against the sensor too - pass them to the lensControls member of 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
8fc169da5f
commit
1aecc633e4
1 changed files with 5 additions and 0 deletions
|
@ -660,6 +660,11 @@ int PipelineHandlerIPU3::configure(Camera *camera, CameraConfiguration *c)
|
|||
|
||||
ipa::ipu3::IPAConfigInfo configInfo;
|
||||
configInfo.sensorControls = data->cio2_.sensor()->controls();
|
||||
|
||||
CameraLens *lens = data->cio2_.sensor()->focusLens();
|
||||
if (lens)
|
||||
configInfo.lensControls = lens->controls();
|
||||
|
||||
configInfo.sensorInfo = sensorInfo;
|
||||
configInfo.bdsOutputSize = config->imguConfig().bds;
|
||||
configInfo.iif = config->imguConfig().iif;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue