From patchwork Tue Feb 27 10:10:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 19545 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 4EEF9BD160 for ; Tue, 27 Feb 2024 10:10:23 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9554A62868; Tue, 27 Feb 2024 11:10:22 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="leSYMDfY"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id CB87261C95 for ; Tue, 27 Feb 2024 11:10:20 +0100 (CET) Received: from pendragon.ideasonboard.com (89-27-53-110.bb.dnainternet.fi [89.27.53.110]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id AB1E48C for ; Tue, 27 Feb 2024 11:10:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1709028608; bh=3KjK7TMaJ5wfNR5tr/TalE+2QTPQvbBiOig4VBR5uTI=; h=From:To:Subject:Date:From; b=leSYMDfYo5ki8vD4Rulnh/Imr1Ufl5BvL0fmePvxaiu0fBO+jTB+6e8MaMYh5rmzj p5BoliuhdIKz8NBRZAMaw1JnNIWOkk0krR+9d4UTj+5pQ9v0BdopXTH2WI9XyidVzA A1MUzpdnHQJU/G6kOQbUl1xM1I/RdU1DKY5GYM6M= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH] libcamera: formats: Fix typos in PixelFormatInfo documentation Date: Tue, 27 Feb 2024 12:10:22 +0200 Message-ID: <20240227101022.4795-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The PixelFormatInfo documentation has typo. Fix two of them. Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Reviewed-by: Stefan Klug --- src/libcamera/formats.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libcamera/formats.cpp b/src/libcamera/formats.cpp index 8a606a7c37f1..6a3b89a38cc0 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