diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-16 00:34:16 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-17 16:30:23 +0300 |
commit | 4ce519cdc5f62a8b17861242f8ea830c9a8df1a1 (patch) | |
tree | ffb693a8bd79ec7fde9d3bdd8791c9c974c87081 /src/apps/qcam/assets/feathericons/file-minus.svg | |
parent | 14056bceb536e952f745704a4bc3856bad4686ea (diff) |
ipa: rkisp1: agc: Correctly clamp maximum shutter speed
The sensor's maximum shutter speed is clamped by the maximum frame
duration specified in requests. If the requested maximum frame duration
is lower than the sensor's minimum shutter speed, the Agc::process()
function will pass a minimum value higher than the maximum to the
setLimits() function, resulting in an assertion failure. Fix it by
clamping the value to both the lower and the upper bounds.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/apps/qcam/assets/feathericons/file-minus.svg')
0 files changed, 0 insertions, 0 deletions