diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-05-11 22:44:49 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-06-17 22:52:32 +0100 |
commit | 75ddd20209c9630b1956b2d783ffb63f9dbaabc9 (patch) | |
tree | f0c3ec085b80984caba753ae6a003c9de80b4149 /test/hotplug-cameras.cpp | |
parent | 7144fe6f9cdddb69caa33eb753bc173adcb2ad06 (diff) |
libcamera: camera_manager: Move {add,remove}Camera to internal
The CameraManager exposes addCamera and removeCamera as public API
calls, while they should never be called from an application. These
calls are only expected to be used by PipelineHandlers to update the
CameraManager that a new Camera has been created and allow the Camera
Manager to expose it to applications.
Remove the public calls and update the private implementations such that
they can be used directly by the PipelineHandler through the internal
CameraManager::Private provided by the Extensible class.
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Tested-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/hotplug-cameras.cpp')
0 files changed, 0 insertions, 0 deletions