Message ID | 20250223230403.1226-8-laurent.pinchart@ideasonboard.com |
---|---|
State | Accepted |
Headers | show |
Series |
|
Related | show |
Hi Laurent, Thank you for the patch. On Mon, Feb 24, 2025 at 01:03:55AM +0200, Laurent Pinchart wrote: > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@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 >
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;
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- src/ipa/rkisp1/algorithms/awb.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)