summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/algorithms/awb.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-02-23 23:12:40 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-02-24 18:22:36 +0200
commit080cb47e9fb259df96ab24fca09bdc5620ed2087 (patch)
tree6afa36c4f31daff2c67ee765f27085fc845ae77e /src/ipa/rkisp1/algorithms/awb.cpp
parent6981a5169b0415eccdbb5ef2cad4d68c6b01f072 (diff)
ipa: rkisp1: awb: Fix wrong indentation in comment
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Diffstat (limited to 'src/ipa/rkisp1/algorithms/awb.cpp')
-rw-r--r--src/ipa/rkisp1/algorithms/awb.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipa/rkisp1/algorithms/awb.cpp b/src/ipa/rkisp1/algorithms/awb.cpp
index 51c49ba9..3d6737df 100644
--- a/src/ipa/rkisp1/algorithms/awb.cpp
+++ b/src/ipa/rkisp1/algorithms/awb.cpp
@@ -55,9 +55,9 @@ public:
double computeColourError(const RGB<double> &gains) const override
{
/*
- * Compute the sum of the squared colour error (non-greyness) as it
- * appears in the log likelihood equation.
- */
+ * Compute the sum of the squared colour error (non-greyness) as
+ * it appears in the log likelihood equation.
+ */
double deltaR = gains.r() * rg_ - 1.0;
double deltaB = gains.b() * bg_ - 1.0;
double delta2 = deltaR * deltaR + deltaB * deltaB;