From 9e2ced29425c400f1129d007fa31508e2029bc3d Mon Sep 17 00:00:00 2001 From: Robert Mader Date: Sun, 12 Oct 2025 16:20:51 +0200 Subject: [PATCH] pipeline: simple: Increase internal buffers for software ISP to 4 The Simple Pipeline handler supports a variety of hardware with different capabilities and performances. To improve performance and reliability of the cameras across the supported range, increase the number of internal buffers to 4. This allows lower performance devices more opportunity to process the frames and increases stability. Align the Simple Pipeline handler and Soft ISP buffering with the other hardware based platforms and use 4 internal buffers. Signed-off-by: Robert Mader Reviewed-by: Milan Zamazal Reviewed-by: Kieran Bingham Signed-off-by: Kieran Bingham --- src/libcamera/pipeline/simple/simple.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp index 6e827134..6a2ffe62 100644 --- a/src/libcamera/pipeline/simple/simple.cpp +++ b/src/libcamera/pipeline/simple/simple.cpp @@ -418,7 +418,7 @@ protected: private: static constexpr unsigned int kMaxQueuedRequestsDevice = 4; - static constexpr unsigned int kNumInternalBuffers = 3; + static constexpr unsigned int kNumInternalBuffers = 4; struct EntityData { std::unique_ptr video;