summaryrefslogtreecommitdiff
path: root/include/libcamera
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2023-01-23 15:49:21 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2023-01-30 16:30:43 +0000
commita0701930a8be9900d428a8cbae0414b455b56e97 (patch)
tree0b36c0f8ced5390317ba261487acfae972213bfc /include/libcamera
parent8f85c024f9224ccb75819812b888ee6c007ff834 (diff)
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>
Diffstat (limited to 'include/libcamera')
-rw-r--r--include/libcamera/ipa/raspberrypi.mojom2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcamera/ipa/raspberrypi.mojom b/include/libcamera/ipa/raspberrypi.mojom
index 189f978a..e7dabcbe 100644
--- a/include/libcamera/ipa/raspberrypi.mojom
+++ b/include/libcamera/ipa/raspberrypi.mojom
@@ -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();