Working on SoftISP
Find a file
Laurent Pinchart 21ff749a79 libcamera: camera: Handle camera objects through shared pointers
The Camera class is explicitly reference-counted to manage the lifetime
of camera objects. Replace this open-coded implementation with usage of
the std::shared_ptr<> class.

This API change prevents pipeline handlers from subclassing the Camera
class. This isn't deemed to be an issue. Mark the class final to make
this explicit.

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-21 11:13:53 +02:00
Documentation Documentation: coding_style: Add object ownership rules 2019-01-21 11:13:40 +02:00
include libcamera: camera: Handle camera objects through shared pointers 2019-01-21 11:13:53 +02:00
licenses licenses: Add the Developer CoO 2019-01-02 21:59:46 +02:00
src libcamera: camera: Handle camera objects through shared pointers 2019-01-21 11:13:53 +02:00
test libcamera: camera: Handle camera objects through shared pointers 2019-01-21 11:13:53 +02: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