Working on SoftISP
Find a file
Niklas Söderlund 0d913813b5 libcamera: pipeline: extend pipelines to support stream configuration
All streams which are to be used for capture need to be configured at
the same time. This allows the pipeline handler to take any dependencies
between the different streams and their configuration into account when
setting up the hardware.

Extend the pipeline API and all pipeline implementations with two new
functions, one to read a default configuration and one to set a new
configuration. Both functions operate on a group of streams which the
pipeline handler should consider when performing the operations.

In the current implemented pipelines this is rather easy as they only
have one stream each per camera. Furthermore as there is yet no way for
the pipeline handlers to interact with the hardware all they do is
return a null format, log that a default configuration has been
requested and log that a new configuration has been set. Future work
based on more components are needed to make the pipelines return a good
default format and actually interact with the hardware.

Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-02-01 08:11:48 +01:00
Documentation utils: checkstyle: Add support for clang-format 2019-01-22 14:30:00 +02:00
include libcamera: camera: extend camera object to support streams 2019-02-01 08:11:33 +01:00
licenses licenses: Add the Developer CoO 2019-01-02 21:59:46 +02:00
src libcamera: pipeline: extend pipelines to support stream configuration 2019-02-01 08:11:48 +01:00
test libcamera: device_enumerator: Reference-count MediaDevice instances 2019-01-24 22:24:11 +02:00
utils utils: hooks: Provide post-commit hook example to checkstyle.py 2019-01-30 10:57:37 +00:00
.clang-format libcamera: Add clang-format style 2019-01-22 14:30:00 +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