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 <johannes.goede@oss.qualcomm.com> Reviewed-by: Milan Zamazal <mzamazal@redhat.com> Tested-by: Robert Mader <robert.mader@collabora.com> Tested-by: Hans de Goede <johannes.goede@oss.qualcomm.com> # ThinkPad T14s gen 6 (arm64) ov02c10 + X1c gen 12 ov08x40 Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com> # Lenovo X13s Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
43180e12ba
commit
852ffae2a0
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user