{"id":622,"url":"https://patchwork.libcamera.org/api/covers/622/?format=json","web_url":"https://patchwork.libcamera.org/cover/622/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20190226021857.28255-1-niklas.soderlund@ragnatech.se>","date":"2019-02-26T02:18:49","name":"[libcamera-devel,0/8] libcamera: improve validation of camera operations","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/people/5/?format=json","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"mbox":"https://patchwork.libcamera.org/cover/622/mbox/","series":[{"id":192,"url":"https://patchwork.libcamera.org/api/series/192/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=192","date":"2019-02-26T02:18:50","name":"libcamera: improve validation of camera operations","version":1,"mbox":"https://patchwork.libcamera.org/series/192/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/622/comments/","headers":{"Return-Path":"<niklas.soderlund@ragnatech.se>","Received":["from bin-mail-out-06.binero.net (bin-mail-out-06.binero.net\n\t[195.74.38.229])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 905E0610B2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 26 Feb 2019 03:19:15 +0100 (CET)","from bismarck.berto.se (unknown [89.233.230.99])\n\tby bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA\n\tid e124c262-396c-11e9-985a-005056917f90;\n\tTue, 26 Feb 2019 03:19:13 +0100 (CET)"],"X-Halon-ID":"e124c262-396c-11e9-985a-005056917f90","Authorized-sender":"niklas@soderlund.pp.se","From":"=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 26 Feb 2019 03:18:49 +0100","Message-Id":"<20190226021857.28255-1-niklas.soderlund@ragnatech.se>","X-Mailer":"git-send-email 2.20.1","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/8] libcamera: improve validation of\n\tcamera operations","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Tue, 26 Feb 2019 02:19:16 -0000"},"content":"Hi,\n\nThis series fix a few bugs in the camera as well as introduce a state \nmachine to better keep track on what applications can do with a camera \nat any given point in its life cycle. As well as add a few new checks to \ncatch problems early.\n\nSee individual patches for detailed descriptions. Some of these patches \ncould be posted separately but as they all conflict with etch other I \nchose to keep them all together. If necessary or requested I might break \nsome parts out or merge parts of this series as the review process \nprogress and allows.\n\nNiklas Söderlund (8):\n  libcamera: camera: fix bug in error check for streamConfiguration()\n  libcamera: align the documentation for numeric error codes\n  libcamera: camera: document return values for application facing\n    functions\n  cam: fix order camera is operated on\n  libcamera: camera: add state machine to control access from\n    applications\n  libcamera: store stream pointers in sets instead of a vectors\n  libcamera: camera: ensure streams belong to camera\n  libcamera: camera: make sure camera is configured before starting\n\n include/libcamera/camera.h               |  25 ++--\n src/cam/main.cpp                         |  28 ++--\n src/libcamera/buffer.cpp                 |   6 +-\n src/libcamera/camera.cpp                 | 159 +++++++++++++++--------\n src/libcamera/camera_manager.cpp         |   2 +-\n src/libcamera/device_enumerator.cpp      |   7 +-\n src/libcamera/include/pipeline_handler.h |   2 +-\n src/libcamera/media_device.cpp           |   8 +-\n src/libcamera/media_object.cpp           |   5 +-\n src/libcamera/pipeline/ipu3/ipu3.cpp     |   6 +-\n src/libcamera/pipeline/uvcvideo.cpp      |   6 +-\n src/libcamera/pipeline/vimc.cpp          |   6 +-\n src/libcamera/pipeline_handler.cpp       |  10 +-\n src/libcamera/request.cpp                |   2 +-\n src/libcamera/v4l2_device.cpp            |  16 +--\n src/libcamera/v4l2_subdevice.cpp         |  10 +-\n 16 files changed, 179 insertions(+), 119 deletions(-)"}