diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-02-26 01:37:53 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-03-01 00:28:17 +0100 |
commit | 77100a7578d8a0ccc56e6ab11a8dbe3c74665c4d (patch) | |
tree | c7fe5b995ee0cd8524839781e04be773a4bee795 /Documentation/theme | |
parent | 132ce9c1cf6951d8cba8ff6ff5fbccadead385c1 (diff) |
libcamera: camera: add state machine to control access from applications
There is a need to better control the order of operations an application
performs on a camera for it to function correctly. Add a basic state
machine to ensure applications perform operations on the camera in good
order.
Internal to the Camera states are added; Available, Acquired,
Configured, Prepared and Running. Each state represents a higher state
of configuration of the camera ultimately leading to the highest state
where the camera is capturing frames. Each state supports a subset of
operations the application may perform.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Documentation/theme')
0 files changed, 0 insertions, 0 deletions