summaryrefslogtreecommitdiff
path: root/src/apps/common/stream_options.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-16 00:34:16 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-17 16:15:23 +0300
commitb53c6de03fce3b1ca8941292fdefd1f875add537 (patch)
tree7647c2d93cd7cc56a54499850cc31b196583f187 /src/apps/common/stream_options.cpp
parentea43e056a83fcfcf627669b4e5ee922d97c95d4b (diff)
ipa: rkisp1: agc: Use mode from frame context to calculate new EV
The effective exposure value for each frame is split into shutter time, analog gain and digital gain based on the AGC constraint mode and exposure mode. The algorithm uses the modes from the active state, which tracks the latest queued request, instead of the frame context, which tracks the value of the controls requested for that frame. Fix it by using the correct modes. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/apps/common/stream_options.cpp')
0 files changed, 0 insertions, 0 deletions