From 02686a052a0c46741592079bc403b25ee716c356 Mon Sep 17 00:00:00 2001 From: Jean-Michel Hautbois Date: Tue, 12 Oct 2021 07:50:02 +0200 Subject: ipa: ipu3: agc: Rename exposure values properly The exposure value is filtered in filterExposure() using the currentExposure_ and setting a prevExposure_ variable. This is misnamed as it is not the previous exposure, but a filtered value. Rename it accordingly. Signed-off-by: Jean-Michel Hautbois Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- src/ipa/ipu3/algorithms/agc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ipa/ipu3/algorithms/agc.h') diff --git a/src/ipa/ipu3/algorithms/agc.h b/src/ipa/ipu3/algorithms/agc.h index e0c315fc..16b9fa0a 100644 --- a/src/ipa/ipu3/algorithms/agc.h +++ b/src/ipa/ipu3/algorithms/agc.h @@ -44,8 +44,8 @@ private: utils::Duration lineDuration_; utils::Duration maxExposureTime_; - utils::Duration prevExposure_; - utils::Duration prevExposureNoDg_; + utils::Duration filteredExposure_; + utils::Duration filteredExposureNoDg_; utils::Duration currentExposure_; utils::Duration currentExposureNoDg_; -- cgit v1.2.1