From f26e75fd0fe62275528d7910609c03dff4a8446e Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 26 Feb 2024 04:18:49 +0200 Subject: libcamera: formats: Fix typos in PixelFormatInfo documentation The PixelFormatInfo documentation has typo. Fix two of them. Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi --- src/libcamera/formats.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/libcamera/formats.cpp b/src/libcamera/formats.cpp index 8a606a7c..6a3b89a3 100644 --- a/src/libcamera/formats.cpp +++ b/src/libcamera/formats.cpp @@ -33,7 +33,7 @@ LOG_DEFINE_CATEGORY(Formats) * used in pipeline handlers. * * \var PixelFormatInfo::name - * \brief The format name as a human-readable string, used as the test + * \brief The format name as a human-readable string, used as the text * representation of the PixelFormat * * \var PixelFormatInfo::format @@ -49,9 +49,9 @@ LOG_DEFINE_CATEGORY(Formats) * \var PixelFormatInfo::bitsPerPixel * \brief The average number of bits per pixel * - * The number per pixel averages the total number of bits for all colour - * components over the whole image, excluding any padding bits or padding - * pixels. + * The number of bits per pixel averages the total number of bits for all + * colour components over the whole image, excluding any padding bits or + * padding pixels. * * For formats that store pixels with bit padding within words, only the * effective bits are taken into account. For instance, 12-bit Bayer data -- cgit v1.2.1