summaryrefslogtreecommitdiff
path: root/src/ipa/ipu3/algorithms/agc.h
diff options
context:
space:
mode:
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-11-04 18:22:46 +0100
committerJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-11-15 11:00:05 +0100
commit891ec3f872c0f7ae2267b6906372e6e8066b4e8e (patch)
tree3a8fc4a655a74948868dcf3c1fa39e595175976c /src/ipa/ipu3/algorithms/agc.h
parent93af8ea616d318c3c2790f739081044ae285359a (diff)
ipa: ipu3: agc: Store exposure in units of time
The minimum and maximum exposure are stored in lines. Replace it by values in time to simplify the calculations. 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> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/ipa/ipu3/algorithms/agc.h')
-rw-r--r--src/ipa/ipu3/algorithms/agc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipa/ipu3/algorithms/agc.h b/src/ipa/ipu3/algorithms/agc.h
index 17a5d1d9..31c5a6e5 100644
--- a/src/ipa/ipu3/algorithms/agc.h
+++ b/src/ipa/ipu3/algorithms/agc.h
@@ -45,8 +45,8 @@ private:
double iqMean_;
utils::Duration lineDuration_;
- uint32_t minExposureLines_;
- uint32_t maxExposureLines_;
+ utils::Duration minShutterSpeed_;
+ utils::Duration maxShutterSpeed_;
double minAnalogueGain_;
double maxAnalogueGain_;