diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2023-09-25 11:27:14 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-09-25 16:01:21 +0100 |
commit | 51533fecae8d9efb82a436eb26504cb8a8db9170 (patch) | |
tree | b8cd664c09ba014176a1360789ef45a2a30000f7 /src/v4l2/v4l2_camera_file.cpp | |
parent | 870943f80ab42764da532d185f6be44084611242 (diff) |
ipa: rpi: Fix frame count logic when running algorithms
The frame counter test to determine if we run the IPA algorithms has a
logic bug where it treats dropFrameCount_ and mistrustCount_ as frame
numbers, not counts of frames (which it is). The implication is that
startup convergence and initial settings take one extra frame to apply.
Fix this.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Tested-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_camera_file.cpp')
0 files changed, 0 insertions, 0 deletions