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

Jacopo Mondi jacopo at jmondi.org
Wed Apr 17 15:58:50 CEST 2019


Hello, we're getting close, hopefully.

I have included the received comments, mostly on documentation.
Notable changes:

3/7: do not squash with 2/7 and update the IPU3 allocateBuffers() implementation
to clean up after itself.
4/7: new patch
7/7: drop the IPU3 example (and include review comments)

Thanks
  j

Jacopo Mondi (8):
  libcamera: stream: Make Stream inheritable
  libcamera: camera: Pass the stream set to allocate/freeBuffers()
  libcamera: camera: Don't call freeBuffer() on allocateBuffer() error
  libcamera: v4l2_device: Propagate releaseBuffers() error
  libcamera: request: Add hasPendingBuffers() method
  libcamera: camera: Validate Request before 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                 | 25 +++++++++++++++-
 src/libcamera/camera.cpp                 | 25 ++++++++--------
 src/libcamera/include/pipeline_handler.h |  6 ++--
 src/libcamera/pipeline/ipu3/ipu3.cpp     | 32 ++++++++++++++------
 src/libcamera/pipeline/uvcvideo.cpp      | 13 ++++++---
 src/libcamera/pipeline/vimc.cpp          | 13 ++++++---
 src/libcamera/pipeline_handler.cpp       | 11 +++----
 src/libcamera/request.cpp                | 37 ++++++++++++++++++++++--
 src/libcamera/v4l2_device.cpp            |  3 +-
 12 files changed, 134 insertions(+), 44 deletions(-)

--
2.21.0



More information about the libcamera-devel mailing list