summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/algorithms
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-02-23 23:12:40 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-02-24 18:36:19 +0200
commit7222171340e645a8380253e53cbcc2df40fb58ed (patch)
tree62dcb1c15899c0a9e597c84ff73bad489800c784 /src/ipa/rkisp1/algorithms
parent1bb4d3712daf38dda21f9536b0786ac96ba1cf2a (diff)
ipa: rkisp1: awb: Capitalize AWB
AWB is an abbreviation, capitalize it in comments and log messages for consistency. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Diffstat (limited to 'src/ipa/rkisp1/algorithms')
-rw-r--r--src/ipa/rkisp1/algorithms/awb.cpp8
1 files changed, 4 insertions, 4 deletions
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<std::string>("grey");
@@ -101,14 +101,14 @@ int Awb::init(IPAContext &context, const YamlObject &tuningData)
} else if (mode == "bayes") {
awbAlgo_ = std::make_unique<AwbBayes>();
} 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;
}