summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/algorithms/awb.h
diff options
context:
space:
mode:
authorStefan Klug <stefan.klug@ideasonboard.com>2024-07-12 16:32:02 +0200
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-07-24 15:34:14 +0100
commit7b8094d6fc9798ea2944e6a01220e23e717c2bc4 (patch)
tree55e55ebab69b24176b858f70439cfcc95da40a89 /src/ipa/rkisp1/algorithms/awb.h
parent7ee9ef451dfe6c07747b206a390455d4e8df1638 (diff)
ipa: rkisp1: awb: Clamp gains to machine limits
When the color gains are set manually it is possible to specify a gain that wrapped the hardware limits. It would also be possible to further tune the floating point limits, but that is an error prone approach. So the limits are imposed on the integers, just before writing to the hardware. This noticeably reduces some oscillations in the awb regulation. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/rkisp1/algorithms/awb.h')
0 files changed, 0 insertions, 0 deletions