Working on SoftISP
Find a file
Kieran Bingham b99da21657 lib: Fix class and namespace usage
The (dummy) init_lib function was linking correctly only due to a
namespace 'collision' adding the init_lib to libcamera namespace, which
is 'shared' by class libcamera.

The init function was designed to be a class member function of the
libcamera object - and is used as such in the existing test function.

Instead of relying on the namespace collision - update the lib/main.cpp
example file to correctly utilise the class header - and specify the
function declaration, so that further implementations do not fall into
the same bad habits.

Reported-by: Jacopo Mondi <jacopo@mondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2018-12-03 09:21:23 +00:00
Documentation Documentation: Introduce sphinx documentation 2018-11-28 11:10:11 +00:00
include meson: Replace tabs for spaces 2018-11-28 11:08:35 +00:00
lib lib: Fix class and namespace usage 2018-12-03 09:21:23 +00:00
licenses licenses: Add licenses subdirectory 2018-11-28 11:10:11 +00:00
test meson: Replace tabs for spaces 2018-11-28 11:08:35 +00:00
utils utils: ipu3: Add test process script 2018-12-02 19:23:07 +02:00
meson.build meson: Describe minimum meson version requirements 2018-11-30 11:28:14 +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