libcamera: software_isp: lut: Make gain corrected CCM in lut.cpp available in debayer params
There is another CCM calculated in this algorithm callback, this time based on the LUT. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
This commit is contained in:
parent
89cf67a45f
commit
59284f4f27
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ void Lut::prepare(IPAContext &context,
|
|||
auto &red = params->redCcm;
|
||||
auto &green = params->greenCcm;
|
||||
auto &blue = params->blueCcm;
|
||||
params->ccm = ccm;
|
||||
for (unsigned int i = 0; i < DebayerParams::kRGBLookupSize; i++) {
|
||||
red[i].r = ccmValue(i, ccm[0][0]);
|
||||
red[i].g = ccmValue(i, ccm[1][0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue