From 127bc209656eff3d6ee7b2f8373ad40fea0e6f73 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 23 Feb 2025 23:12:40 +0200 Subject: 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 Reviewed-by: Stefan Klug --- src/ipa/libipa/awb_grey.cpp | 10 +++++----- 1 file 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. * -- cgit v1.2.1