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

Message ID 20190121230640.8783-1-niklas.soderlund@ragnatech.se
Headers show
Series
  • libcamera: add base for applications to configure cameras
Related show

Message

Niklas Söderlund Jan. 21, 2019, 11:06 p.m. UTC
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