summaryrefslogtreecommitdiff
path: root/src/ipa/ipu3/algorithms/agc.h
diff options
context:
space:
mode:
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-11-04 16:43:28 +0100
committerJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-11-15 11:00:05 +0100
commit93af8ea616d318c3c2790f739081044ae285359a (patch)
tree9073b69beaac9d5682825db711956041d8d3a83f /src/ipa/ipu3/algorithms/agc.h
parentf8f07f9468c6618b73710e3d341ce59ce08ccc08 (diff)
ipa: ipu3: agc: Update previous exposure value
Previously, the exposure value was calculated based on the estimated shutter time and gain applied. Now that we have the real values for the current frame, use those before estimating the next one and rename the variable accordingly. As the exposure value is updated in the beginning of the computation, there is no need to initialize effectiveExposureValue anymore in the configure call, and it can be a local variable and not a class variable anymore. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ipa/ipu3/algorithms/agc.h b/src/ipa/ipu3/algorithms/agc.h
index 8f99dab9..17a5d1d9 100644
--- a/src/ipa/ipu3/algorithms/agc.h
+++ b/src/ipa/ipu3/algorithms/agc.h
@@ -53,7 +53,6 @@ private:
utils::Duration filteredExposure_;
utils::Duration currentExposure_;
- utils::Duration prevExposureValue_;
uint32_t stride_;
};