pipeline: ipa: raspberrypi: Check if lens actuator is available
Check if a lens actuator is available by the presense of the lens driver entity in the pipeline handler. Pass this result to the IPA on init. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
8f85c024f9
commit
a0701930a8
3 changed files with 8 additions and 4 deletions
|
@ -50,7 +50,7 @@ struct StartConfig {
|
|||
};
|
||||
|
||||
interface IPARPiInterface {
|
||||
init(libcamera.IPASettings settings)
|
||||
init(libcamera.IPASettings settings, bool lensPresent)
|
||||
=> (int32 ret, IPAInitResult result);
|
||||
start(libcamera.ControlList controls) => (StartConfig startConfig);
|
||||
stop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue