[libcamera-devel] [RFC 0/4] libcamera: add base for applications to configure cameras

Niklas Söderlund niklas.soderlund at ragnatech.se
Tue Jan 22 00:06:36 CET 2019


Hi,

This is a RFC series which aims to add a API to the Camera object to 
allow applications to configure a Camera, include multiple streams. The 
RFC takes a lot of shortcuts and more work is needed with the 
integration with the PipelineHandler object to make it useful.

I plan to keep working on this and hope to soon provide a example usage 
using the cam utility.

Laurent Pinchart (1):
  libcamera: camera: Add acquire() and release()

Niklas Söderlund (3):
  libcamera: stream: add basic stream class
  libcamera: streamformat: add basic class for stream formats
  libcamera: camera: integrate streams and configuration

 include/libcamera/camera.h        | 14 ++++++
 include/libcamera/libcamera.h     |  2 +
 include/libcamera/meson.build     |  2 +
 include/libcamera/stream.h        | 25 ++++++++++
 include/libcamera/stream_format.h | 32 ++++++++++++
 src/libcamera/camera.cpp          | 79 +++++++++++++++++++++++++++++
 src/libcamera/meson.build         |  2 +
 src/libcamera/stream.cpp          | 58 ++++++++++++++++++++++
 src/libcamera/stream_format.cpp   | 82 +++++++++++++++++++++++++++++++
 9 files changed, 296 insertions(+)
 create mode 100644 include/libcamera/stream.h
 create mode 100644 include/libcamera/stream_format.h
 create mode 100644 src/libcamera/stream.cpp
 create mode 100644 src/libcamera/stream_format.cpp

-- 
2.20.1



More information about the libcamera-devel mailing list