{"id":19545,"url":"https://patchwork.libcamera.org/api/patches/19545/?format=json","web_url":"https://patchwork.libcamera.org/patch/19545/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20240227101022.4795-1-laurent.pinchart@ideasonboard.com>","date":"2024-02-27T10:10:22","name":"libcamera: formats: Fix typos in PixelFormatInfo documentation","commit_ref":"f26e75fd0fe62275528d7910609c03dff4a8446e","pull_url":null,"state":"accepted","archived":false,"hash":"eed495d2072fa535222c0194f8a779fe55eda6d2","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/19545/mbox/","series":[{"id":4185,"url":"https://patchwork.libcamera.org/api/series/4185/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4185","date":"2024-02-27T10:10:22","name":"libcamera: formats: Fix typos in PixelFormatInfo documentation","version":1,"mbox":"https://patchwork.libcamera.org/series/4185/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/19545/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/19545/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 4EEF9BD160\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 27 Feb 2024 10:10:23 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9554A62868;\n\tTue, 27 Feb 2024 11:10:22 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CB87261C95\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 27 Feb 2024 11:10:20 +0100 (CET)","from pendragon.ideasonboard.com (89-27-53-110.bb.dnainternet.fi\n\t[89.27.53.110])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id AB1E48C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 27 Feb 2024 11:10:08 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"leSYMDfY\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1709028608;\n\tbh=3KjK7TMaJ5wfNR5tr/TalE+2QTPQvbBiOig4VBR5uTI=;\n\th=From:To:Subject:Date:From;\n\tb=leSYMDfYo5ki8vD4Rulnh/Imr1Ufl5BvL0fmePvxaiu0fBO+jTB+6e8MaMYh5rmzj\n\tp5BoliuhdIKz8NBRZAMaw1JnNIWOkk0krR+9d4UTj+5pQ9v0BdopXTH2WI9XyidVzA\n\tA1MUzpdnHQJU/G6kOQbUl1xM1I/RdU1DKY5GYM6M=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Subject":"[PATCH] libcamera: formats: Fix typos in PixelFormatInfo\n\tdocumentation","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","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"The PixelFormatInfo documentation has typo. Fix two of them.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/libcamera/formats.cpp | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)","diff":"diff --git a/src/libcamera/formats.cpp b/src/libcamera/formats.cpp\nindex 8a606a7c37f1..6a3b89a38cc0 100644\n--- a/src/libcamera/formats.cpp\n+++ b/src/libcamera/formats.cpp\n@@ -33,7 +33,7 @@ LOG_DEFINE_CATEGORY(Formats)\n  * used in pipeline handlers.\n  *\n  * \\var PixelFormatInfo::name\n- * \\brief The format name as a human-readable string, used as the test\n+ * \\brief The format name as a human-readable string, used as the text\n  * representation of the PixelFormat\n  *\n  * \\var PixelFormatInfo::format\n@@ -49,9 +49,9 @@ LOG_DEFINE_CATEGORY(Formats)\n  * \\var PixelFormatInfo::bitsPerPixel\n  * \\brief The average number of bits per pixel\n  *\n- * The number per pixel averages the total number of bits for all colour\n- * components over the whole image, excluding any padding bits or padding\n- * pixels.\n+ * The number of bits per pixel averages the total number of bits for all\n+ * colour components over the whole image, excluding any padding bits or\n+ * padding pixels.\n  *\n  * For formats that store pixels with bit padding within words, only the\n  * effective bits are taken into account. For instance, 12-bit Bayer data\n","prefixes":[]}