diff options
author | David Plowman <david.plowman@raspberrypi.com> | 2024-06-06 11:15:12 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-06-13 11:02:39 +0100 |
commit | 6960684fa13baaca3c7532f2e002abed7af26825 (patch) | |
tree | c123981e8548bca9a144f5455e648cc227331ce7 /utils/tuning/libtuning/modules/__init__.py | |
parent | b40d9dbc0b69b8f18cd19e687773e84b84c3c736 (diff) |
utils: raspberrypi: ctt: Add a maximum gain parameter for LSC
A max_gain parameter is added to the config file which we pass to the
lens shading calibration. This clamps the maximum luminance gain that
gets written into the tuning files so as to prevent overflows.
It is particularly useful for lenses that cut off the light completely
from the sensor corners, and allows usable tables to be generated for
them.
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Tested-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 'utils/tuning/libtuning/modules/__init__.py')
0 files changed, 0 insertions, 0 deletions