summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-02-26 04:18:49 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-02-27 15:39:28 +0200
commitf26e75fd0fe62275528d7910609c03dff4a8446e (patch)
tree0e947b183f871f1c6feb87698a81810f57b26e86
parentdae4a4406779ba1bc1687446d20c82a1f96b5258 (diff)
libcamera: formats: Fix typos in PixelFormatInfo documentation
The PixelFormatInfo documentation has typo. Fix two of them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
-rw-r--r--src/libcamera/formats.cpp8
1 files changed, 4 insertions, 4 deletions
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