summaryrefslogtreecommitdiff
path: root/src/ipa/libipa/histogram.h
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2022-01-24 10:31:06 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-02-03 02:40:07 +0200
commite875503bc4a40e5043fb045942535b865692ff60 (patch)
treec66bc3f0bcb4bf8ca1f04ad788f6861ea4d92d59 /src/ipa/libipa/histogram.h
parentb71cd3358f6bb4f8f8efc7974c9d1acd131788bb (diff)
ipa: raspberrypi: Limit the maximum sensor gain used
Limit the gain code to the maximum value reported by the sensor controls when sending to DelayedControls. The AGC algorithm will handle a lower gain used by the sensor, provided it knows the actual gain used. This change ensures that DelayedControls will never report an unclipped gain used. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/libipa/histogram.h')
0 files changed, 0 insertions, 0 deletions