From fdcd5d04ec6a3b3c98a46041762cdaf4bdb76190 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 2 May 2024 14:30:46 +0100 Subject: ipa: rkisp1: Remove bespoke Agc functions Now that the rkisp1 Agc algorithm is a derivation of MeanLuminanceAgc we can remove the bespoke functions from the IPA's class. Reviewed-by: Stefan Klug Reviewed-by: Paul Elder Reviewed-by: Jacopo Mondi Signed-off-by: Daniel Scally Signed-off-by: Kieran Bingham --- src/ipa/rkisp1/algorithms/agc.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/ipa/rkisp1/algorithms/agc.h') diff --git a/src/ipa/rkisp1/algorithms/agc.h b/src/ipa/rkisp1/algorithms/agc.h index 34504459..f2f5b59d 100644 --- a/src/ipa/rkisp1/algorithms/agc.h +++ b/src/ipa/rkisp1/algorithms/agc.h @@ -44,19 +44,10 @@ public: ControlList &metadata) override; private: - void computeExposure(IPAContext &Context, IPAFrameContext &frameContext, - double yGain, double iqMeanGain); - utils::Duration filterExposure(utils::Duration exposureValue); - double estimateLuminance(Span expMeans, double gain); - double measureBrightness(Span hist) const; void fillMetadata(IPAContext &context, IPAFrameContext &frameContext, ControlList &metadata); double estimateLuminance(double gain) const override; - uint64_t frameCount_; - - utils::Duration filteredExposure_; - Span expMeans_; }; -- cgit v1.2.1