[07/15] ipa: rkisp1: awb: Fix wrong indentation in comment
diff mbox series

Message ID 20250223230403.1226-8-laurent.pinchart@ideasonboard.com
State Accepted
Headers show
Series
  • libipa: awb: Drive-by fixes
Related show

Commit Message

Laurent Pinchart Feb. 23, 2025, 11:03 p.m. UTC
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 src/ipa/rkisp1/algorithms/awb.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Stefan Klug Feb. 24, 2025, 9:14 a.m. UTC | #1
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
>

Patch
diff mbox series

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;