[libcamera-devel] [PATCH v2 0/6] Raspberry Pi: Efficient start/stop/start sequences

Naushir Patuck naush at raspberrypi.com
Thu Mar 17 15:08:21 CET 2022


Hi,

Version 2 of this series has the follwing changes over v1:

- Fixed typos in commit message in 1/6.
- Squashed patches 3 and 4 from the v1.
- Renamed the reconfigured_ flag to reallocate_.
- Renamed RPi::Stream::reset() to RPi::Stream::resetBuffers() in 4/6.
- Added a 5 second timeout after stopDevice() to free buffers in patch 5/6.

Thanks,
Naush

Naushir Patuck (6):
  pipeline: raspberrypi: Avoid over-allocation for ISP Output 1
  pipeline: raspberrypi: Move freeBuffers() to the RPiCameraData class
  pipeline: raspberrypi: Free buffers in the RPiCamera destructor and
    re-configure
  pipeline: raspberrypi: Repurpose RPi::Stream::reset()
  pipeline: raspberrypi: Add a timeout to free buffers on stopDevice()
  libcamera: v4l2_videodevice: Empty the V4L2 buffer cache on
    streamOff()

 include/libcamera/internal/v4l2_videodevice.h |  1 +
 .../pipeline/raspberrypi/raspberrypi.cpp      | 73 ++++++++++++++-----
 .../pipeline/raspberrypi/rpi_stream.cpp       | 13 ++--
 .../pipeline/raspberrypi/rpi_stream.h         |  2 +-
 src/libcamera/v4l2_videodevice.cpp            | 16 ++++
 5 files changed, 77 insertions(+), 28 deletions(-)

-- 
2.25.1



More information about the libcamera-devel mailing list