Files
pmaports-rtwo/temp/libcamera/0013-libcamera-software_isp-Work-around-bug-259.patch
T

27 lines
808 B
Diff

From b08389156efb35304e309739e7189fef79ad591d Mon Sep 17 00:00:00 2001
From: Robert Mader <robert.mader@collabora.com>
Date: Fri, 14 Mar 2025 21:42:44 +0100
Subject: [PATCH] libcamera: software_isp: Work around bug 259
https://bugs.libcamera.org/show_bug.cgi?id=259
---
src/ipa/simple/algorithms/blc.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/ipa/simple/algorithms/blc.cpp b/src/ipa/simple/algorithms/blc.cpp
index 1d7d370b5..c0b75d1a0 100644
--- a/src/ipa/simple/algorithms/blc.cpp
+++ b/src/ipa/simple/algorithms/blc.cpp
@@ -42,6 +42,8 @@ int BlackLevel::configure(IPAContext &context,
context.configuration.black.level = definedLevel_;
context.activeState.blc.level =
context.configuration.black.level.value_or(255);
+ exposure_ = 0;
+ gain_ = 0;
return 0;
}
--
2.48.1