[v11,21/24] libcamera: software_isp: lut: Change default Gamma to 1.0/2.2
diff mbox series

Message ID 20260106170059.56193-22-bryan.odonoghue@linaro.org
State Accepted
Commit 852ffae2a01a542df527c2c7ab3707bfe72ef420
Headers show
Series
  • Add GLES 2.0 GPUISP to libcamera
Related show

Commit Message

Bryan O'Donoghue Jan. 6, 2026, 5 p.m. UTC
Change the default softisp Gamma from 0.5 to 1.0/2.2.

Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Reviewed-by: Milan Zamazal <mzamazal@redhat.com>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
 src/ipa/simple/algorithms/lut.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/src/ipa/simple/algorithms/lut.cpp b/src/ipa/simple/algorithms/lut.cpp
index 7418daa1e..54cb804e7 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<double>();
 	updateGammaTable(context);