pipeline: ipa: rpi: Return lens controls from ipa->configure()
In addition to sensor controls, return lens controls from IpaBase::configure() back to the pipeline handler. If there are lens controls present in the ControlList, action them in the pipeline handler as part of the configure routine. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
bdba31cc02
commit
d66ff77759
@@ -1200,8 +1200,10 @@ int CameraData::configureIPA(const CameraConfiguration *config, ipa::RPi::Config
|
||||
return -EPIPE;
|
||||
}
|
||||
|
||||
if (!result->controls.empty())
|
||||
setSensorControls(result->controls);
|
||||
if (!result->sensorControls.empty())
|
||||
setSensorControls(result->sensorControls);
|
||||
if (!result->lensControls.empty())
|
||||
setLensControls(result->lensControls);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user