ipa: rpi: awb: Remove "fast" parameter
The "fast" parameter has not been used since it first appeared in the
source code. And not only is it not used, but its retrieval from
the configuration since c1597f9896
("ipa: raspberrypi: Use YamlParser
to replace dependency on boost") has been incorrect. So remove it.
Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
This commit is contained in:
parent
e4677362a1
commit
92ed6140ee
2 changed files with 0 additions and 2 deletions
|
@ -165,7 +165,6 @@ int AwbConfig::read(const libcamera::YamlObject ¶ms)
|
||||||
bayes = false;
|
bayes = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fast = params[fast].get<int>(bayes); /* default to fast for Bayesian, otherwise slow */
|
|
||||||
whitepointR = params["whitepoint_r"].get<double>(0.0);
|
whitepointR = params["whitepoint_r"].get<double>(0.0);
|
||||||
whitepointB = params["whitepoint_b"].get<double>(0.0);
|
whitepointB = params["whitepoint_b"].get<double>(0.0);
|
||||||
if (bayes == false)
|
if (bayes == false)
|
||||||
|
|
|
@ -43,7 +43,6 @@ struct AwbConfig {
|
||||||
uint16_t startupFrames;
|
uint16_t startupFrames;
|
||||||
unsigned int convergenceFrames; /* approx number of frames to converge */
|
unsigned int convergenceFrames; /* approx number of frames to converge */
|
||||||
double speed; /* IIR filter speed applied to algorithm results */
|
double speed; /* IIR filter speed applied to algorithm results */
|
||||||
bool fast; /* "fast" mode uses a 16x16 rather than 32x32 grid */
|
|
||||||
libcamera::ipa::Pwl ctR; /* function maps CT to r (= R/G) */
|
libcamera::ipa::Pwl ctR; /* function maps CT to r (= R/G) */
|
||||||
libcamera::ipa::Pwl ctB; /* function maps CT to b (= B/G) */
|
libcamera::ipa::Pwl ctB; /* function maps CT to b (= B/G) */
|
||||||
libcamera::ipa::Pwl ctRInverse; /* inverse of ctR */
|
libcamera::ipa::Pwl ctRInverse; /* inverse of ctR */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue