summaryrefslogtreecommitdiff
path: root/src/ipa/ipu3/ipa_context.h
diff options
context:
space:
mode:
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2022-02-24 16:11:12 +0100
committerUmang Jain <umang.jain@ideasonboard.com>2022-03-11 20:47:32 +0530
commitb5d2adbeabeacdba6e887de2aef39aa320f4abe1 (patch)
treea02b36fb70092db8f5b0743dea243c64ef5669c3 /src/ipa/ipu3/ipa_context.h
parente3900d1bf9fdb7200cfda7b73e59b5aac03c6f18 (diff)
ipa: ipu3: agc: Introduce lineDuration in IPASessionConfiguration
Instead of having a local cached value for line duration, store it in the IPASessionConfiguration::sensor structure. While at it, configure the default analogue gain and shutter speed to controlled fixed values. The latter is set to be 10ms as it will in most cases be close to the one needed, making the AGC faster to converge. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/ipa/ipu3/ipa_context.h')
-rw-r--r--src/ipa/ipu3/ipa_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipa/ipu3/ipa_context.h b/src/ipa/ipu3/ipa_context.h
index c6dc0814..e7c49828 100644
--- a/src/ipa/ipu3/ipa_context.h
+++ b/src/ipa/ipu3/ipa_context.h
@@ -31,6 +31,10 @@ struct IPASessionConfiguration {
double minAnalogueGain;
double maxAnalogueGain;
} agc;
+
+ struct {
+ utils::Duration lineDuration;
+ } sensor;
};
struct IPAFrameContext {