[v3,2/2] pipeline: simple: Increase internal buffers for software ISP to 4
diff mbox series

Message ID 20250930124208.14391-2-robert.mader@collabora.com
State New
Headers show
Series
  • [v3,1/2] pipeline: simple: Allow buffer counts from 1 to 32
Related show

Commit Message

Robert Mader Sept. 30, 2025, 12:42 p.m. UTC
This has been shipped downstream in postmarketOS for a while and, in
some cases, seems to improve stability on not-so-great drivers. It also
brings the software ISP in line with the default used otherwise.

Signed-off-by: Robert Mader <robert.mader@collabora.com>
Reviewed-by: Milan Zamazal <mzamazal@redhat.com>
---
 src/libcamera/pipeline/simple/simple.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp
index 2dcba04ec..c4cb7c391 100644
--- a/src/libcamera/pipeline/simple/simple.cpp
+++ b/src/libcamera/pipeline/simple/simple.cpp
@@ -420,7 +420,7 @@  protected:
 	int queueRequestDevice(Camera *camera, Request *request) override;
 
 private:
-	static constexpr unsigned int kNumInternalBuffers = 3;
+	static constexpr unsigned int kNumInternalBuffers = 4;
 
 	struct EntityData {
 		std::unique_ptr<V4L2VideoDevice> video;