Working on SoftISP
Find a file
Jacopo Mondi 8f0984f2cc libcamera: ipu3: Do not re-queue cancelled buffers
When a video device is stopped all the buffers there queued are released
and their state is set to BufferCancelled.

Currently, on buffer completion, cancelled buffers are blindly re-queued
to the ImgU input or CIO2 output devices, preventing them to be
re-started succesfully in future capture sessions.

Fix that by inspecting the buffers status and skip re-queueing if
they're reported as cancelled. For the ImgU output buffer this is not
required, as cancelled request should be reported to applications in
order to report them failure of the capture operations.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
2019-07-17 04:51:33 +02:00
Documentation libcamera: add IPA proxy 2019-07-12 16:32:29 +09:00
include libcamera: stream: Map external buffers to indexes 2019-07-14 16:01:09 +03:00
licenses licenses: Add the Developer CoO 2019-01-02 21:59:46 +02:00
package/gentoo/media-libs/libcamera package: gentoo: Add libcamera ebuild 2019-05-02 16:36:16 +03:00
src libcamera: ipu3: Do not re-queue cancelled buffers 2019-07-17 04:51:33 +02:00
test libcamera: message: Add user message types 2019-07-16 10:55:27 +03:00
utils libcamera: skip auto version generation when building for Chromium OS 2019-07-11 12:22:40 +09:00
.clang-format clang-format: Remove space after template 2019-02-13 13:23:32 +02:00
.gitignore git: Add .gitignore file 2018-12-14 13:23:07 +00:00
meson.build libcamera: skip auto version generation when building for Chromium OS 2019-07-11 12:22:40 +09:00
meson_options.txt meson: options: Document the options 2019-04-03 11:44:04 +07:00
README.md README: Update build instructions 2018-11-26 15:52:21 +00:00

libcamera: A complex camera support library for Linux, Android, and ChromeOS

To build and install:

  meson build
  cd build
  ninja
  ninja install