summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2020-12-01 17:55:36 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-12-01 20:44:21 +0200
commit5815bd0397bc63772642820a3c296b2c5fd7c791 (patch)
tree5136f6e413bae9e2a215ecd7f509b0e83929bdff
parent6e2bbe2e2c33cab4d069d2983cceb5541440764c (diff)
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>
-rw-r--r--src/ipa/raspberrypi/data/imx219.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipa/raspberrypi/data/imx219.json b/src/ipa/raspberrypi/data/imx219.json
index b03a7beb..212f8b9a 100644
--- a/src/ipa/raspberrypi/data/imx219.json
+++ b/src/ipa/raspberrypi/data/imx219.json
@@ -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":
[