libcamera: swstats_cpu: Drop patternSize_ documentation

patternSize_ is a private variable and its meaning is already documented
in the patternSize() getter documentation.

Move the list of valid sizes to the patternSize() getter documentation
and drop the patternSize_ documentation.

While at it also add 1x1 as valid size for use with future support
of single plane non Bayer input data.

Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Milan Zamazal <mzamazal@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
This commit is contained in:
Hans de Goede 2025-05-10 16:12:14 +02:00 committed by Bryan O'Donoghue
parent c189fc5504
commit 26dba2e048

View file

@ -58,6 +58,8 @@ namespace libcamera {
* also indicates if processLine2() should be called or not. * also indicates if processLine2() should be called or not.
* This may only be called after a successful configure() call. * This may only be called after a successful configure() call.
* *
* Valid sizes are: 1x1, 2x2, 4x2 or 4x4.
*
* \return The pattern size * \return The pattern size
*/ */
@ -112,13 +114,6 @@ namespace libcamera {
* \brief Statistics window, set by setWindow(), used every line * \brief Statistics window, set by setWindow(), used every line
*/ */
/**
* \var Size SwStatsCpu::patternSize_
* \brief The size of the bayer pattern
*
* Valid sizes are: 2x2, 4x2 or 4x4.
*/
/** /**
* \var unsigned int SwStatsCpu::xShift_ * \var unsigned int SwStatsCpu::xShift_
* \brief The offset of x, applied to window_.x for bayer variants * \brief The offset of x, applied to window_.x for bayer variants