src: ipa: raspberrypi: Fix initial AGC oscillation for imx219 sensor

The exposure times in the exposure modes were causing AGC oscillations
because the algorithm was demanding long unachievable exposure times
but, without working sensor metadata, thought it was getting them when
actually it was not. We fix it by making the exposure profile request
only achievable exposure times, as we do for the ov5647 tuning.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
David Plowman
2020-12-01 17:55:36 +00:00
committed by Laurent Pinchart
parent 6e2bbe2e2c
commit 5815bd0397
+2 -2
View File
@@ -133,7 +133,7 @@
{
"shutter":
[
100, 10000, 30000, 60000, 120000
100, 10000, 30000, 30000, 30000
],
"gain":
[
@@ -144,7 +144,7 @@
{
"shutter":
[
100, 5000, 10000, 20000, 120000
100, 5000, 10000, 20000, 30000
],
"gain":
[