ipa: Add sensor model string to IPASettings
Pass the sensor model string to the IPA init() method through the IPASettings structure. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Tested-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
500c9a1f98
commit
ff9f60ce3f
@@ -1227,7 +1227,8 @@ int RPiCameraData::loadIPA()
|
||||
ipa_->setIspControls.connect(this, &RPiCameraData::setIspControls);
|
||||
ipa_->setDelayedControls.connect(this, &RPiCameraData::setDelayedControls);
|
||||
|
||||
IPASettings settings(ipa_->configurationFile(sensor_->model() + ".json"));
|
||||
IPASettings settings(ipa_->configurationFile(sensor_->model() + ".json"),
|
||||
sensor_->model());
|
||||
|
||||
return ipa_->init(settings);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user