pipeline: ipa: raspberrypi: Open the CamHelper on ipa::init()
Move the opening of the CamHelper from ipa::configure() to ipa::init(). This allows the pipeline handler to get the sensor specific parameters in pipeline_handler::match() where the ipa is initialised. Having the sensor parameters available earlier will allow selective use of the embedded data node in a future change. 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
ff9f60ce3f
commit
eec070039d
@@ -15,10 +15,6 @@ enum BufferMask {
|
||||
/* Size of the LS grid allocation. */
|
||||
const uint32 MaxLsGridSize = 0x8000;
|
||||
|
||||
enum ConfigOutputParameters {
|
||||
ConfigSensorParams = 0x01,
|
||||
};
|
||||
|
||||
struct SensorConfig {
|
||||
uint32 gainDelay;
|
||||
uint32 exposureDelay;
|
||||
@@ -40,8 +36,6 @@ struct ConfigInput {
|
||||
};
|
||||
|
||||
struct ConfigOutput {
|
||||
uint32 params;
|
||||
SensorConfig sensorConfig;
|
||||
ControlList controls;
|
||||
};
|
||||
|
||||
@@ -51,7 +45,7 @@ struct StartControls {
|
||||
};
|
||||
|
||||
interface IPARPiInterface {
|
||||
init(IPASettings settings) => (int32 ret);
|
||||
init(IPASettings settings) => (int32 ret, SensorConfig sensorConfig);
|
||||
start(StartControls controls) => (StartControls result);
|
||||
stop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user