From 852ffae2a01a542df527c2c7ab3707bfe72ef420 Mon Sep 17 00:00:00 2001 From: Bryan O'Donoghue Date: Tue, 6 Jan 2026 17:00:56 +0000 Subject: [PATCH] libcamera: software_isp: lut: Change default Gamma to 1.0/2.2 Change the default softisp Gamma from 0.5 to 1.0/2.2. Reviewed-by: Hans de Goede Reviewed-by: Milan Zamazal Tested-by: Robert Mader Tested-by: Hans de Goede # ThinkPad T14s gen 6 (arm64) ov02c10 + X1c gen 12 ov08x40 Tested-by: Kieran Bingham # Lenovo X13s Signed-off-by: Bryan O'Donoghue Signed-off-by: Kieran Bingham --- src/ipa/simple/algorithms/lut.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipa/simple/algorithms/lut.cpp b/src/ipa/simple/algorithms/lut.cpp index 7418daa1..54cb804e 100644 --- a/src/ipa/simple/algorithms/lut.cpp +++ b/src/ipa/simple/algorithms/lut.cpp @@ -35,7 +35,7 @@ int Lut::configure(IPAContext &context, [[maybe_unused]] const IPAConfigInfo &configInfo) { /* Gamma value is fixed */ - context.configuration.gamma = 0.5; + context.configuration.gamma = 1.0 / 2.2; context.activeState.knobs.contrast = std::optional(); updateGammaTable(context);