[libcamera-devel,v2,0/4] libcamera: improve validation of camera operations
mbox series

Message ID 20190228021626.15062-1-niklas.soderlund@ragnatech.se
Headers show
Series
  • libcamera: improve validation of camera operations
Related show

Message

Niklas Söderlund Feb. 28, 2019, 2:16 a.m. UTC
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(-)