[libcamera-devel,v6,0/7] libcamera: Framework changes to prepare for multiple streams support
mbox series

Message ID 20190416134210.21097-1-jacopo@jmondi.org
Headers show
Series
  • libcamera: Framework changes to prepare for multiple streams support
Related show

Message

Jacopo Mondi April 16, 2019, 1:42 p.m. UTC
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.

This iteration updates the framework changes sent as v5.

Changelong is:
- Drop v5 "libcamera: camera: Propagate freeBuffers() error" as it does not
  make sense to have before "libcamera: camera: Pass the stream set to
  allocate/freeBuffers()"
- Rename Request::empty() in Request::hasPendingBuffers()
- Add "libcamera: camera: Don't call freeBuffer() on allocateBuffer() error"
- Include comments received on the all the patches
- Remove ipu3 examples from 6/7 and 7/7

Once this gets in, I'll rebase multi stream support for IPU3 on top.

Thanks
  j

Jacopo Mondi (7):
  libcamera: stream: Make Stream inheritable
  libcamera: camera: Pass the stream set to allocate/freeBuffers()
  libcamera: camera: Don't call freeBuffer() on allocateBuffer() error
  libcamera: request: Add hasPendingBuffers() 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                 | 34 +++++++++++++++++++-
 src/libcamera/camera.cpp                 | 24 +++++++-------
 src/libcamera/include/pipeline_handler.h |  6 ++--
 src/libcamera/pipeline/ipu3/ipu3.cpp     | 15 ++++++---
 src/libcamera/pipeline/uvcvideo.cpp      | 13 +++++---
 src/libcamera/pipeline/vimc.cpp          | 13 +++++---
 src/libcamera/pipeline_handler.cpp       | 11 ++++---
 src/libcamera/request.cpp                | 41 ++++++++++++++++++++++--
 11 files changed, 133 insertions(+), 37 deletions(-)

--
2.21.0