ipa: rkisp1: Pass parameters buffer format to IPA module
The rkisp1 driver supports two formats for the ISP parameters buffer, the legacy fixed format and the new extensible format. In preparation of support for the new format, pass the parameters buffer format from the pipeline handler to the IPA module and store it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
@@ -814,6 +814,7 @@ int PipelineHandlerRkISP1::configure(Camera *camera, CameraConfiguration *c)
|
||||
return ret;
|
||||
|
||||
ipaConfig.sensorControls = data->sensor_->controls();
|
||||
ipaConfig.paramFormat = paramFormat.fourcc;
|
||||
|
||||
ret = data->ipa_->configure(ipaConfig, streamConfig, &data->controlInfo_);
|
||||
if (ret) {
|
||||
|
||||
Reference in New Issue
Block a user