[libcamera-devel] [PATCH v5 0/7] libcamera: Framework changes to prepare for multiple streams support

Jacopo Mondi jacopo at jmondi.org
Tue Apr 16 01:18:52 CEST 2019


Hello,
   I have collected here changes on some of the patches sent as part of v4.

Compared to v4 this series only contains framework changes required to prepare
to support multiple stream operation in IPU3 pipeline handler.

Most relevant changes are:
- Split 1/7 in a patch to Stream only
- handle freeBuffer error code
- still have to make sure Request::empty() is a good name or not..
- validate the request by using empty()

The last two patches are framework changes which are used in ipu3 pipeline
handler to show the direction things will take with multiple support in.

Thanks
  j

Jacopo Mondi (7):
  libcamera: stream: Make Stream inheritable
  libcamera: camera: Propagate freeBuffers() error
  libcamera: camera: Pass the stream set to allocate/freeBuffers()
  libcamera: request: Add empty() method
  libcamera: camera: Validate Request befor queueing it
  libcamera: request: Expose the Stream to Buffers map
  libcamera: buffer: Store Request reference in Buffer

 include/libcamera/buffer.h               |  6 ++++
 include/libcamera/request.h              |  3 ++
 include/libcamera/stream.h               |  4 +--
 src/libcamera/buffer.cpp                 | 45 +++++++++++++++++++++++-
 src/libcamera/camera.cpp                 | 30 ++++++++++------
 src/libcamera/include/pipeline_handler.h |  6 ++--
 src/libcamera/pipeline/ipu3/ipu3.cpp     | 34 +++++++++---------
 src/libcamera/pipeline/uvcvideo.cpp      | 13 ++++---
 src/libcamera/pipeline/vimc.cpp          | 13 ++++---
 src/libcamera/pipeline_handler.cpp       | 11 +++---
 src/libcamera/request.cpp                | 25 +++++++++++--
 11 files changed, 143 insertions(+), 47 deletions(-)

--
2.21.0



More information about the libcamera-devel mailing list