summaryrefslogtreecommitdiff
path: root/src/ipa
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:22:22 +0200
commit704a3aa5d012e44a22f3d02009d04e206554289c (patch)
treec8cbde128340bca34ebe8ba6744c4abc50205e3c /src/ipa
parent7199a0c39ddf76b34e059db414b5683b567f1deb (diff)
libipa: 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')
-rw-r--r--src/ipa/libipa/awb.cpp14
-rw-r--r--src/ipa/libipa/awb_grey.cpp4
2 files changed, 9 insertions, 9 deletions
diff --git a/src/ipa/libipa/awb.cpp b/src/ipa/libipa/awb.cpp
index 2e78a466..dc672f12 100644
--- a/src/ipa/libipa/awb.cpp
+++ b/src/ipa/libipa/awb.cpp
@@ -24,7 +24,7 @@ namespace ipa {
/**
* \class AwbResult
- * \brief The result of an awb calculation
+ * \brief The result of an AWB calculation
*
* This class holds the result of an auto white balance calculation.
*/
@@ -57,7 +57,7 @@ namespace ipa {
* applied. To keep the actual implementations computationally inexpensive,
* the squared colour error shall be returned.
*
- * If the awb statistics provide multiple zones, the average of the individual
+ * If the AWB statistics provide multiple zones, the average of the individual
* squared errors shall be returned. Averaging/normalizing is necessary so that
* the numeric dimensions are the same on all hardware platforms.
*
@@ -94,7 +94,7 @@ namespace ipa {
/**
* \fn AwbAlgorithm::calculateAwb
- * \brief Calculate awb data from the given statistics
+ * \brief Calculate AWB data from the given statistics
* \param[in] stats The statistics to use for the calculation
* \param[in] lux The lux value of the scene
*
@@ -102,7 +102,7 @@ namespace ipa {
* lux value of 0 means it is unknown or invalid and the algorithm shall ignore
* it.
*
- * \return The awb result
+ * \return The AWB result
*/
/**
@@ -178,14 +178,14 @@ int AwbAlgorithm::parseModeConfigs(const YamlObject &tuningData,
if (controls::AwbModeNameValueMap.find(modeName) ==
controls::AwbModeNameValueMap.end()) {
LOG(Awb, Warning)
- << "Skipping unknown awb mode '"
+ << "Skipping unknown AWB mode '"
<< modeName << "'";
continue;
}
if (!modeDict.isDictionary()) {
LOG(Awb, Error)
- << "Invalid awb mode '" << modeName << "'";
+ << "Invalid AWB mode '" << modeName << "'";
return -EINVAL;
}
@@ -235,7 +235,7 @@ int AwbAlgorithm::parseModeConfigs(const YamlObject &tuningData,
* \class AwbAlgorithm::ModeConfig
* \brief Holds the configuration of a single AWB mode
*
- * Awb modes limit the regulation of the AWB algorithm to a specific range of
+ * AWB modes limit the regulation of the AWB algorithm to a specific range of
* colour temperatures.
*/
diff --git a/src/ipa/libipa/awb_grey.cpp b/src/ipa/libipa/awb_grey.cpp
index 49448976..06ffd456 100644
--- a/src/ipa/libipa/awb_grey.cpp
+++ b/src/ipa/libipa/awb_grey.cpp
@@ -57,7 +57,7 @@ int AwbGrey::init(const YamlObject &tuningData)
}
/**
- * \brief Calculate awb data from the given statistics
+ * \brief Calculate AWB data from the given statistics
* \param[in] stats The statistics to use for the calculation
* \param[in] lux The lux value of the scene
*
@@ -68,7 +68,7 @@ int AwbGrey::init(const YamlObject &tuningData)
*
* The \a lux parameter is not used in this algorithm.
*
- * \return The awb result
+ * \return The AWB result
*/
AwbResult AwbGrey::calculateAwb(const AwbStats &stats, [[maybe_unused]] int lux)
{