ipa: raspberrypi: Rationalise parameters to ipa::start()
Separate out the in and out parameters in ipa::start() as they are not the same. This function now takes in a ControlList and returns out a struct StartConfig which holds a ControlList and drop frame count for the pipeline handler to action. 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
8ccddecc94
commit
b876c64613
@@ -39,14 +39,14 @@ struct ConfigOutput {
|
||||
ControlList controls;
|
||||
};
|
||||
|
||||
struct StartControls {
|
||||
struct StartConfig {
|
||||
ControlList controls;
|
||||
int32 dropFrameCount;
|
||||
};
|
||||
|
||||
interface IPARPiInterface {
|
||||
init(IPASettings settings) => (int32 ret, SensorConfig sensorConfig);
|
||||
start(StartControls controls) => (StartControls result);
|
||||
start(ControlList controls) => (StartConfig startConfig);
|
||||
stop();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user