summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2023-09-18 10:10:45 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2023-09-25 16:08:35 +0100
commite991a2887ebf065d9d62e5dd11d6128eb58f628e (patch)
treec38c29707815067b476d819791a053d531680119 /src/ipa/rkisp1
parent51533fecae8d9efb82a436eb26504cb8a8db9170 (diff)
pipeline: rpi: Reset the frame lengths queue during configure
The IPA stores a list of the last 10 frame lengths applied to the sensor for determining the timeout to use. This list gets reset on start(), but there is a path through the code that accesses this list in configure() which happens earlier, causing a logical error. Fix this by constructing the list with 10 initial values of 0s. Bug: https://github.com/raspberrypi/libcamera/issues/64 Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/rkisp1')
0 files changed, 0 insertions, 0 deletions