mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 15:29:45 +03:00
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:
parent
7ea83d5f7b
commit
b60bd37b1a
2 changed files with 52 additions and 41 deletions
|
@ -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_;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue