diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-18 03:09:33 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-02-13 12:34:40 +0200 |
commit | a8310248fc26cc1e1b791af5e9394c1d20bee269 (patch) | |
tree | 00ce4da5bc69e5d741b195d43cb87bb6b86f32b9 /src/android/camera_metadata.cpp | |
parent | 1aa49db823870532adc52ecd6f405b13a4da29ec (diff) |
libcamera: camera: Implement the threading model
Document the threading model of the Camera class and implement it.
Selected functions become thread-safe, and require a few functions of
the PipelineHandler class to be called through cross-thread invocation
as the pipeline handlers live in the camera manager thread, while the
Camera class is mostly accessed from the application thread. The
PipelineHandler is made to inherit from the Object class to support
this.
Disconnection is currently left out as it is not implemented in pipeline
handlers, and isn't fully supported in the Camera class either. This
will be revisited when implementing proper hotplug support.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/android/camera_metadata.cpp')
0 files changed, 0 insertions, 0 deletions