libcamera: software_isp: lut: Make gamma from lut.cpp available in debayer params
Provide the gamma used in IPA to Bayer parameters. We will pass Gamma into the shader via a uniform and can then tweak that value from outside at will. Reviewed-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> 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
724a29e3cd
commit
5bfb96661f
@@ -147,6 +147,8 @@ void Lut::prepare(IPAContext &context,
|
||||
params->gammaLut[i] = gammaTable[i / div];
|
||||
}
|
||||
}
|
||||
|
||||
params->gamma = context.configuration.gamma;
|
||||
}
|
||||
|
||||
void Lut::process([[maybe_unused]] IPAContext &context,
|
||||
|
||||
Reference in New Issue
Block a user