From 7222171340e645a8380253e53cbcc2df40fb58ed Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 23 Feb 2025 23:12:40 +0200 Subject: ipa: rkisp1: awb: Capitalize AWB 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(-) (limited to 'src') diff --git a/src/ipa/rkisp1/algorithms/awb.cpp b/src/ipa/rkisp1/algorithms/awb.cpp index 47b607c6..1e9be6cb 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; } -- cgit v1.2.1