Backport the series from https://patchwork.libcamera.org/cover/24169/, fixing 'purple tint' issues on the Pixel 3a and OnePlus6 with Snapshot. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6961>
28 lines
934 B
Diff
28 lines
934 B
Diff
From 9b0f6c6d8c4bc3e4fed87c54daadaaf79c621341 Mon Sep 17 00:00:00 2001
|
|
From: Robert Mader <robert.mader@collabora.com>
|
|
Date: Sun, 13 Oct 2024 14:13:44 +0200
|
|
Subject: [PATCH 11/17] pipeline: simple: Increase internal buffer count to
|
|
four aswell
|
|
|
|
Signed-off-by: Robert Mader <robert.mader@collabora.com>
|
|
---
|
|
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 09310dc02..58e70993f 100644
|
|
--- a/src/libcamera/pipeline/simple/simple.cpp
|
|
+++ b/src/libcamera/pipeline/simple/simple.cpp
|
|
@@ -415,7 +415,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;
|
|
--
|
|
2.50.1
|
|
|