From patchwork Sun Feb 23 23:03:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 22829 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 08769BDB13 for ; Sun, 23 Feb 2025 23:04:43 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 93AE3686DF; Mon, 24 Feb 2025 00:04:43 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="D8KOjUV/"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E7205686C6 for ; Mon, 24 Feb 2025 00:04:29 +0100 (CET) Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E01FE353 for ; Mon, 24 Feb 2025 00:03:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1740351784; bh=sXj1q/f9B2xmOjRCACTzto1K6XSu5LYMUbDrGhICuO8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=D8KOjUV/ljJRJ3Sq0u/GBlLg5fADogH9eQ35GUtfv9pbf69qWRGoFrCdui3zt1bel YgdBmTkZsVX6NdI4qOwqR8U8aZlapMC7m+WSuVv+I2NHdp8Bh9jF7IfqQKxwtO0NAh C3gtYgq8eYjy/hxTJq9HE1EmmclkcUrk1OVc+3Gs= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH 07/15] ipa: rkisp1: awb: Fix wrong indentation in comment Date: Mon, 24 Feb 2025 01:03:55 +0200 Message-ID: <20250223230403.1226-8-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.45.3 In-Reply-To: <20250223230403.1226-1-laurent.pinchart@ideasonboard.com> References: <20250223230403.1226-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Signed-off-by: Laurent Pinchart Reviewed-by: Stefan Klug --- 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 &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;