Working on SoftISP
Find a file
Kieran Bingham 03fcc154eb libcamera: v4l2_device: Simplify exportBuffers()
exportBuffers() can only operate on an existing BufferPool allocation. The
pool identifies its size through its .count() method.

Passing a count in to the exportBuffers() call is redundant and can be
incorrect if the value is not the same as the BufferPool size.

Simplify the function and remove the unnecessary argument, correcting all uses
throughout the code base.

While we're here, remove the createBuffers() helper from the V4L2DeviceTest
which only served to obfuscate which pool the buffers were being allocated for.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2019-02-13 15:50:09 +00:00
Documentation libcamera: signal: Disconnect signal automatically on slot deletion 2019-02-13 13:23:43 +02:00
include libcamera: signal: Disconnect signal automatically on slot deletion 2019-02-13 13:23:43 +02:00
licenses licenses: Add the Developer CoO 2019-01-02 21:59:46 +02:00
src libcamera: v4l2_device: Simplify exportBuffers() 2019-02-13 15:50:09 +00:00
test libcamera: v4l2_device: Simplify exportBuffers() 2019-02-13 15:50:09 +00:00
utils utils: checkstyle: Catch LOG() usage without an explicit category 2019-02-13 13:23:34 +02: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 meson: Utilise default compiler options 2019-01-15 21:14:35 +00: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