ipa: rkisp1: Move calculation of RGB means into own function

Move the calculation of the RGB means into an own function for better
code clarity. This commit doesn't contain any functional changes.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
This commit is contained in:
Stefan Klug 2025-01-23 12:40:56 +01:00
parent 7ea83d5f7b
commit b60bd37b1a
2 changed files with 52 additions and 41 deletions

View file

@ -39,6 +39,9 @@ public:
ControlList &metadata) override;
private:
RGB<double> calculateRgbMeans(const IPAFrameContext &frameContext,
const rkisp1_cif_isp_awb_stat *awb) const;
std::optional<Interpolator<Vector<double, 2>>> colourGainCurve_;
bool rgbMode_;
};