From patchwork Mon Nov 16 18:51:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 324845 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21534C4742C for ; Mon, 16 Nov 2020 18:52:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D77DC22263 for ; Mon, 16 Nov 2020 18:52:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="OI6wSNGW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728689AbgKPSw0 (ORCPT ); Mon, 16 Nov 2020 13:52:26 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:51284 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728505AbgKPSw0 (ORCPT ); Mon, 16 Nov 2020 13:52:26 -0500 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D2C4515CE; Mon, 16 Nov 2020 19:52:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1605552741; bh=gTOziQ2M9rEs43K0oYZhBdw44d6U/8hh/JSotfwtLNc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OI6wSNGW8Bdl2CoF3aLZ8ZwcQPbHHGwVbb/71MafAr342I8ZAOpokgAQ403O6HMFO I4PNibk8rAfISigMQD65AJrn8ZZgjUp+dltEG1NYgZYsm5NDBy+wAkpAfD/BgWyfuD iSCE4hP91OU9JVZiAgtZWRFn3sXLBUUGLOCotd1I= From: Laurent Pinchart To: linux-media@vger.kernel.org Cc: Sakari Ailus , Hans Verkuil , Dylan Yip , Vishal Sagar , Nicolas Dufresne Subject: [PATCH v3 08/21] media: doc: pixfmt-rgb: Replace '-' with 'X' to denote padding Date: Mon, 16 Nov 2020 20:51:54 +0200 Message-Id: <20201116185207.13208-9-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201116185207.13208-1-laurent.pinchart@ideasonboard.com> References: <20201116185207.13208-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Using '-' to represent padding bits and bytes make text and tables more difficult to read. Use 'x' and 'X' instead. Signed-off-by: Laurent Pinchart --- .../userspace-api/media/v4l/pixfmt-rgb.rst | 80 +++++++++---------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/Documentation/userspace-api/media/v4l/pixfmt-rgb.rst b/Documentation/userspace-api/media/v4l/pixfmt-rgb.rst index d1ddc7a251da..897676ee2c9d 100644 --- a/Documentation/userspace-api/media/v4l/pixfmt-rgb.rst +++ b/Documentation/userspace-api/media/v4l/pixfmt-rgb.rst @@ -44,7 +44,7 @@ devices and drivers, for both :ref:`capture` and :ref:`output` devices. - In all the tables that follow, bit 7 is the most significant bit in a byte. - 'r', 'g' and 'b' denote bits of the red, green and blue components respectively. 'a' denotes bits of the alpha component (if supported by the - format), and '-' denotes padding bits. + format), and 'x' denotes padding bits. Less Than 8 Bits Per Component @@ -170,10 +170,10 @@ B\ :sub:`0`]. - b\ :sub:`1` - b\ :sub:`0` - - `-` - - `-` - - `-` - - `-` + - x + - x + - x + - x - r\ :sub:`3` - r\ :sub:`2` - r\ :sub:`1` @@ -211,10 +211,10 @@ B\ :sub:`0`]. - b\ :sub:`2` - b\ :sub:`1` - b\ :sub:`0` - - `-` - - `-` - - `-` - - `-` + - x + - x + - x + - x - r\ :sub:`3` - r\ :sub:`2` @@ -262,10 +262,10 @@ B\ :sub:`0`]. - r\ :sub:`1` - r\ :sub:`0` - - `-` - - `-` - - `-` - - `-` + - x + - x + - x + - x - b\ :sub:`3` - b\ :sub:`2` - b\ :sub:`1` @@ -303,10 +303,10 @@ B\ :sub:`0`]. - r\ :sub:`2` - r\ :sub:`1` - r\ :sub:`0` - - `-` - - `-` - - `-` - - `-` + - x + - x + - x + - x - b\ :sub:`3` - b\ :sub:`2` @@ -354,7 +354,7 @@ B\ :sub:`0`]. - b\ :sub:`1` - b\ :sub:`0` - - `-` + - x - r\ :sub:`4` - r\ :sub:`3` - r\ :sub:`2` @@ -398,7 +398,7 @@ B\ :sub:`0`]. - b\ :sub:`2` - b\ :sub:`1` - b\ :sub:`0` - - `-` + - x - r\ :sub:`4` - r\ :sub:`3` @@ -446,7 +446,7 @@ B\ :sub:`0`]. - r\ :sub:`1` - r\ :sub:`0` - - `-` + - x - b\ :sub:`4` - b\ :sub:`3` - b\ :sub:`2` @@ -490,7 +490,7 @@ B\ :sub:`0`]. - r\ :sub:`2` - r\ :sub:`1` - r\ :sub:`0` - - `-` + - x - b\ :sub:`4` - b\ :sub:`3` @@ -552,7 +552,7 @@ B\ :sub:`0`]. - ``V4L2_PIX_FMT_XRGB555X`` - 'XR15' | (1 << 31) - - `-` + - x - r\ :sub:`4` - r\ :sub:`3` - r\ :sub:`2` @@ -618,21 +618,21 @@ B\ :sub:`0`]. - r\ :sub:`1` - r\ :sub:`0` - - `-` - - `-` - - `-` - - `-` - - `-` - - `-` + - x + - x + - x + - x + - x + - x - - `-` - - `-` - - `-` - - `-` - - `-` - - `-` - - `-` - - `-` + - x + - x + - x + - x + - x + - x + - x + - x .. raw:: latex @@ -707,7 +707,7 @@ nomenclature that instead use the order of components as seen in a 24- or - B\ :sub:`7-0` - G\ :sub:`7-0` - R\ :sub:`7-0` - - `-` + - X\ :sub:`7-0` * .. _V4L2-PIX-FMT-BGRA32: - ``V4L2_PIX_FMT_BGRA32`` @@ -722,7 +722,7 @@ nomenclature that instead use the order of components as seen in a 24- or - ``V4L2_PIX_FMT_BGRX32`` - 'RX24' - - `-` + - X\ :sub:`7-0` - B\ :sub:`7-0` - G\ :sub:`7-0` - R\ :sub:`7-0` @@ -743,7 +743,7 @@ nomenclature that instead use the order of components as seen in a 24- or - R\ :sub:`7-0` - G\ :sub:`7-0` - B\ :sub:`7-0` - - `-` + - X\ :sub:`7-0` * .. _V4L2-PIX-FMT-ARGB32: - ``V4L2_PIX_FMT_ARGB32`` @@ -758,7 +758,7 @@ nomenclature that instead use the order of components as seen in a 24- or - ``V4L2_PIX_FMT_XRGB32`` - 'BX24' - - `-` + - X\ :sub:`7-0` - R\ :sub:`7-0` - G\ :sub:`7-0` - B\ :sub:`7-0`