[libcamera-devel] [PATCH v2 0/4] libcamera: improve validation of camera operations

Niklas Söderlund niklas.soderlund at ragnatech.se
Thu Feb 28 03:16:22 CET 2019


Hi,

This series fix a few bugs in the camera as well as introduce a state
machine to better keep track on what applications can do with a camera
at any given point in its life cycle. As well as add a few new checks to
catch problems early.

Niklas Söderlund (4):
  cam: fix order camera is operated on
  libcamera: store stream pointers in sets instead of a vectors
  libcamera: camera: add state machine to control access from
    applications
  libcamera: camera: ensure streams belong to camera

 include/libcamera/camera.h               |  29 ++-
 src/cam/main.cpp                         |  28 +--
 src/libcamera/camera.cpp                 | 248 +++++++++++++++++++----
 src/libcamera/include/pipeline_handler.h |   2 +-
 src/libcamera/pipeline/ipu3/ipu3.cpp     |   6 +-
 src/libcamera/pipeline/uvcvideo.cpp      |   6 +-
 src/libcamera/pipeline/vimc.cpp          |   6 +-
 7 files changed, 249 insertions(+), 76 deletions(-)

-- 
2.20.1



More information about the libcamera-devel mailing list