[libcamera-devel,v2,0/7] libcamera: add basic support for Streams and format configuration
mbox series

Message ID 20190125153340.2744-1-niklas.soderlund@ragnatech.se
Headers show
Series
  • libcamera: add basic support for Streams and format configuration
Related show

Message

Niklas Söderlund Jan. 25, 2019, 3:33 p.m. UTC
Hi,

This series aims to add support of Streams to the Camera object. A
Stream is a single video stream origination from a video source,
multiple video streams might form the same Camera is possible as long as
they all originate from the same video source.

Patch 8/8 which extends the cam utility depends on [1] while the rest of
the series have no dependencies.

1. [PATCH] cam: Add event loop

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

Niklas Söderlund (6):
  libcamera: stream: add basic Stream class
  libcamera: stream: add basic StreamConfiguration class
  libcamera: pipelines: add method to retrieve streams
  libcamera: pipelines: add method to configure streams
  libcamera: camera: integrate streams and configuration
  cam: add option to statically configure a pipeline

 include/libcamera/camera.h               |  12 +++
 include/libcamera/libcamera.h            |   1 +
 include/libcamera/meson.build            |   1 +
 include/libcamera/stream.h               |  45 ++++++++
 src/cam/main.cpp                         |  62 ++++++++---
 src/libcamera/camera.cpp                 |  83 ++++++++++++++-
 src/libcamera/include/pipeline_handler.h |   6 ++
 src/libcamera/meson.build                |   1 +
 src/libcamera/pipeline/ipu3/ipu3.cpp     |  33 ++++++
 src/libcamera/pipeline/uvcvideo.cpp      |  36 +++++++
 src/libcamera/pipeline/vimc.cpp          |  36 +++++++
 src/libcamera/pipeline_handler.cpp       |  30 ++++++
 src/libcamera/stream.cpp                 | 130 +++++++++++++++++++++++
 13 files changed, 463 insertions(+), 13 deletions(-)
 create mode 100644 include/libcamera/stream.h
 create mode 100644 src/libcamera/stream.cpp