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 <stefan.klug@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
4c5152843a
commit
fdcd5d04ec
2 changed files with 25 additions and 237 deletions
|
@ -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<const uint8_t> expMeans, double gain);
|
||||
double measureBrightness(Span<const uint32_t> hist) const;
|
||||
void fillMetadata(IPAContext &context, IPAFrameContext &frameContext,
|
||||
ControlList &metadata);
|
||||
double estimateLuminance(double gain) const override;
|
||||
|
||||
uint64_t frameCount_;
|
||||
|
||||
utils::Duration filteredExposure_;
|
||||
|
||||
Span<const uint8_t> expMeans_;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue