[libcamera-devel] [PATCH v6 00/12] Zero-copy RAW stream work

Naushir Patuck naush at raspberrypi.com
Tue Aug 4 11:58:38 CEST 2020


Hi,

Here is the next version of the zero-copy function patchset for the Raspberry Pi
platform.  Patches 01-09/12 are identical to the previous patchset, and patches
10-12/12 add functionality to support any external buffer allocation to be used
for stream captures.

Regards,
Naush

Naushir Patuck (12):
  libcamera: pipeline: raspberrypi: Move RPiStream into a separate file
  libcamera: pipeline: ipa: raspberrypi: Rework drop frame signalling
  libcamera: pipeline: raspberrypi: Add some debug logging
  libcamera: pipeline: raspberrypi: Increase the number of RAW buffers
  libcamera: pipeline: raspberrypi: Remove const qualifier from
    RPiStream
  libcamera: pipeline: raspberrypi: Rework stream buffer logic for
    zero-copy
  libcamera: pipeline: raspberrypi: Fix bug in passing configuration to
    IPA
  libcamera: pipeline: raspberrypi: Add more robust stream buffer logic
  libcamera: pipeline: ipa: raspberrypi: Remove use of FrameBuffer
    cookie
  pipeline: raspberrypi: Use an unordered_map for the stream buffer list
  pipeline: raspberrypi: Use an unordered_set to store IPA buffer ids
  pipeline: ipa: raspberrypi: Handle any externally allocated
    FrameBuffer

 include/libcamera/ipa/raspberrypi.h           |  13 +-
 src/ipa/raspberrypi/raspberrypi.cpp           |  26 +-
 .../pipeline/raspberrypi/meson.build          |   1 +
 .../pipeline/raspberrypi/raspberrypi.cpp      | 587 ++++++++----------
 .../pipeline/raspberrypi/rpi_stream.cpp       | 244 ++++++++
 .../pipeline/raspberrypi/rpi_stream.h         | 140 +++++
 6 files changed, 662 insertions(+), 349 deletions(-)
 create mode 100644 src/libcamera/pipeline/raspberrypi/rpi_stream.cpp
 create mode 100644 src/libcamera/pipeline/raspberrypi/rpi_stream.h

-- 
2.25.1



More information about the libcamera-devel mailing list