[PATCH 07/15] ipa: rkisp1: awb: Fix wrong indentation in comment
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Mon Feb 24 00:03:55 CET 2025
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
src/ipa/rkisp1/algorithms/awb.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/ipa/rkisp1/algorithms/awb.cpp b/src/ipa/rkisp1/algorithms/awb.cpp
index 51c49ba9ba01..3d6737df801c 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;
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list