[libcamera-devel,v4,0/6] libcamera: add basic support for streams and format configuration
mbox series

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

Message

Niklas Söderlund Jan. 29, 2019, 2 a.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.

Biggest change from v3 is that the stream ids are gone and the new key 
to identify streams are a Stream*. To allow pipeline handlers to still 
map a incoming configuration a stream the ownership of the Stream 
objects are moved from the Camera object to the pipeline handlers.

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

Niklas Söderlund (5):
  libcamera: stream: add initial Stream class
  libcamera: stream: add initial StreamConfiguration structure
  libcamera: camera: extend camera object to support streams
  libcamera: pipeline: extend pipelines to support stream configuration
  libcamera: camera: extend camera object to support configuration of
    streams

 include/libcamera/camera.h               |  17 ++-
 include/libcamera/libcamera.h            |   1 +
 include/libcamera/meson.build            |   1 +
 include/libcamera/stream.h               |  24 +++++
 src/libcamera/camera.cpp                 | 132 ++++++++++++++++++++++-
 src/libcamera/include/pipeline_handler.h |   7 ++
 src/libcamera/meson.build                |   1 +
 src/libcamera/pipeline/ipu3/ipu3.cpp     |  45 +++++++-
 src/libcamera/pipeline/uvcvideo.cpp      |  40 ++++++-
 src/libcamera/pipeline/vimc.cpp          |  40 ++++++-
 src/libcamera/pipeline_handler.cpp       |  34 ++++++
 src/libcamera/stream.cpp                 |  77 +++++++++++++
 12 files changed, 410 insertions(+), 9 deletions(-)
 create mode 100644 include/libcamera/stream.h
 create mode 100644 src/libcamera/stream.cpp