diff options
author | David Plowman <david.plowman@raspberrypi.com> | 2020-11-23 07:37:58 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-11-23 14:24:24 +0000 |
commit | 9db94a3635b8cc0963fdbc8e33c07890ce177359 (patch) | |
tree | 11743b34587a39b1fb288600e3e3c6e2e750f617 /src/qcam/assets/feathericons/arrow-up-left.svg | |
parent | 6af665992d48eb30bda901af73294f83b17876e7 (diff) |
libcamera: ipa: raspberrypi: agc: Improve centre-weighted luminance calucation
Previously the calculation computed Y for each region before returning
the weighted average, which "baked in" the over-importance of small
statistics regions. The revised calculation will treat all pixels
equally when the region weights are the same, making it easier to
use. With the previous scheme, proper "average" metering was difficult
to implement.
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/arrow-up-left.svg')
0 files changed, 0 insertions, 0 deletions