From patchwork Sun Feb 23 23:04:02 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 22836 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 755EEBDB13 for ; Sun, 23 Feb 2025 23:05:00 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A7980686CD; Mon, 24 Feb 2025 00:04:59 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Jy66D+cY"; 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 65113686BE for ; Mon, 24 Feb 2025 00:04:40 +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 55CAB82A for ; Mon, 24 Feb 2025 00:03:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1740351794; bh=w96LbgfPxeVCYpFQYzDz83EDvoCPFeBvX6xGYLrHHzo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Jy66D+cYKN6A/6MPu8vExyodRBO0JT/h623DCc6uitqP85NYCKbDdH+PHK6pBq7AY WJdIi8aiGfVHpfSLzSf8Ej8UlLIg1WnwSpMOUBgtt+72zsZxwKiO6gRbrj+5mWvsSe c69XDYHRsrM2Og7R5ciNRobSwjiR3NesjEUVNgMM= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH 14/15] ipa: rkisp1: awb: Capitalize AWB Date: Mon, 24 Feb 2025 01:04:02 +0200 Message-ID: <20250223230403.1226-15-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" AWB is an abbreviation, capitalize it in comments and log messages for consistency. Signed-off-by: Laurent Pinchart Reviewed-by: Stefan Klug --- src/ipa/rkisp1/algorithms/awb.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ipa/rkisp1/algorithms/awb.cpp b/src/ipa/rkisp1/algorithms/awb.cpp index 7f333ef86518..3c2864fd181c 100644 --- a/src/ipa/rkisp1/algorithms/awb.cpp +++ b/src/ipa/rkisp1/algorithms/awb.cpp @@ -92,7 +92,7 @@ int Awb::init(IPAContext &context, const YamlObject &tuningData) kDefaultColourTemperature); if (!tuningData.contains("algorithm")) - LOG(RkISP1Awb, Info) << "No awb algorithm specified." + LOG(RkISP1Awb, Info) << "No AWB algorithm specified." << " Default to grey world"; auto mode = tuningData["algorithm"].get("grey"); @@ -101,14 +101,14 @@ int Awb::init(IPAContext &context, const YamlObject &tuningData) } else if (mode == "bayes") { awbAlgo_ = std::make_unique(); } else { - LOG(RkISP1Awb, Error) << "Unknown awb algorithm: " << mode; + LOG(RkISP1Awb, Error) << "Unknown AWB algorithm: " << mode; return -EINVAL; } - LOG(RkISP1Awb, Debug) << "Using awb algorithm: " << mode; + LOG(RkISP1Awb, Debug) << "Using AWB algorithm: " << mode; int ret = awbAlgo_->init(tuningData); if (ret) { - LOG(RkISP1Awb, Error) << "Failed to init awb algorithm"; + LOG(RkISP1Awb, Error) << "Failed to init AWB algorithm"; return ret; }