diff options
author | Stefan Klug <stefan.klug@ideasonboard.com> | 2025-01-23 12:40:56 +0100 |
---|---|---|
committer | Stefan Klug <stefan.klug@ideasonboard.com> | 2025-02-21 17:35:03 +0100 |
commit | b60bd37b1a49f3083a850860791cf7bce19714aa (patch) | |
tree | 8586e6be30d0593f6d001d4cf06a15426f136256 /src/ipa/rkisp1/algorithms/awb.h | |
parent | 7ea83d5f7b5d579c14ab183c163a13869652126a (diff) |
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>
Diffstat (limited to 'src/ipa/rkisp1/algorithms/awb.h')
-rw-r--r-- | src/ipa/rkisp1/algorithms/awb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ipa/rkisp1/algorithms/awb.h b/src/ipa/rkisp1/algorithms/awb.h index 34ec42cb..35248769 100644 --- a/src/ipa/rkisp1/algorithms/awb.h +++ b/src/ipa/rkisp1/algorithms/awb.h @@ -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_; }; |