summaryrefslogtreecommitdiff
path: root/Documentation/api-html/index.rst
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2020-06-18 12:12:36 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-06-22 07:03:31 +0300
commit846e7d999a15ce0c3784a790cd5c249ba7aaa5c6 (patch)
tree16df4db955d1c121b0fb942cbe1d41b4cbc19437 /Documentation/api-html/index.rst
parentff291b3c15ba250fb05236a774771fdf54554ff7 (diff)
libcamera: ipa: raspberrypi: Recalculate camera exposure/gain when camera mode changes
This commit causes the AGC to recalculate its camera exposure/gain values when the camera mode changes. For example it's possible that the exposure profile could be changed by the application so the division between exposure time and analogue gain may be different. The other underlying reason (and which this commit accomplishes too) is that the sensor's line timing may change in a new mode, and because V4L2 drivers store a number of exposure _lines_, the resulting _time_ will "change under our feet". So we have to go through the process of recalculating the correct number of lines and writing this back to the sensor with every mode switch, regardless of anything else. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Documentation/api-html/index.rst')
0 files changed, 0 insertions, 0 deletions