summaryrefslogtreecommitdiff
path: root/src
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:41 +0200
commit127bc209656eff3d6ee7b2f8373ad40fea0e6f73 (patch)
treee66751de0f4117d6d9b13b0a2b5e38a001507105 /src
parent643af7f2e79382e4534bb423ecb09d613c3664de (diff)
libipa: awb_grey: Minor comment fixes
Fix the top-level file description to mention the file contains an AWB grey world implementation, not a base class, and fix a grammar mistake in a documentation block. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/ipa/libipa/awb_grey.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ipa/libipa/awb_grey.cpp b/src/ipa/libipa/awb_grey.cpp
index 0e6c5220..d3d2132b 100644
--- a/src/ipa/libipa/awb_grey.cpp
+++ b/src/ipa/libipa/awb_grey.cpp
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2024 Ideas on Board Oy
*
- * Base class for grey world AWB algorithm
+ * Implementation of grey world AWB algorithm
*/
#include "awb_grey.h"
@@ -61,10 +61,10 @@ int AwbGrey::init(const YamlObject &tuningData)
* \param[in] stats The statistics to use for the calculation
* \param[in] lux The lux value of the scene
*
- * Estimates the colour temperature based on the colours::estimateCCT function.
- * The gains are calculated purely based on the RGB means provided by the \a
- * stats. The colour temperature is not taken into account when calculating the
- * gains.
+ * The colour temperature is estimated based on the colours::estimateCCT()
+ * function. The gains are calculated purely based on the RGB means provided by
+ * the \a stats. The colour temperature is not taken into account when
+ * calculating the gains.
*
* The \a lux parameter is not used in this algorithm.
*