ipa: rkisp1: Pass IPASettings at init call
When the IPA is initialized, it will need to know the sensor model used in order to properly call CameraSensorHelper for the analogue gain. Modify the init definition in the pipeline handler and in the IPA as well as the mojo interface to pass the IPASettings. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
@@ -29,7 +29,9 @@ struct RkISP1Action {
|
||||
};
|
||||
|
||||
interface IPARkISP1Interface {
|
||||
init(uint32 hwRevision) => (int32 ret);
|
||||
init(libcamera.IPASettings settings,
|
||||
uint32 hwRevision)
|
||||
=> (int32 ret);
|
||||
start() => (int32 ret);
|
||||
stop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user