Working on SoftISP
Find a file
Laurent Pinchart 34018d23d7 libcamera: pipeline_handler: Don't index factories by name
Pipeline handler factories are register in a map indexed by their name,
and the list of names is used to expose the factories and look them up.
This is unnecessary cumbersome, we can instead store factories in a
vector and expose it directly. The pipeline factory users will still
have access to the factory names through the factory name() function.

The PipelineHandlerFactory::create() method becomes so simple that it
can be inlined in its single caller, removing the unneeded usage of the
DeviceEnumerator in the factory.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
2019-01-16 18:23:42 +02:00
Documentation Documentation: quieten sphinx-build output 2019-01-14 09:57:34 +00:00
include libcamera: Update libcamera.h 2019-01-10 15:27:49 +02:00
licenses licenses: Add the Developer CoO 2019-01-02 21:59:46 +02:00
src libcamera: pipeline_handler: Don't index factories by name 2019-01-16 18:23:42 +02:00
test test: media_device: Add link handling test 2019-01-14 17:54:56 +01:00
utils utils: checkstyle: add keep-one-line-blocks 2018-12-21 15:18:32 +00: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