From patchwork Mon Sep 4 20:41:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 9937591 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 70D436038C for ; Mon, 4 Sep 2017 20:41:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6424D2879E for ; Mon, 4 Sep 2017 20:41:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58D7C287E5; Mon, 4 Sep 2017 20:41:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7DD12879E for ; Mon, 4 Sep 2017 20:41:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754006AbdIDUlh (ORCPT ); Mon, 4 Sep 2017 16:41:37 -0400 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:55854 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753953AbdIDUlg (ORCPT ); Mon, 4 Sep 2017 16:41:36 -0400 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id 8CD32A0C16; Mon, 4 Sep 2017 20:42:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osg.samsung.com X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from osg.samsung.com ([127.0.0.1]) by localhost (s-opensource.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PYWW7qExOP8u; Mon, 4 Sep 2017 20:42:04 +0000 (UTC) Received: from smtp.s-opensource.com (unknown [189.61.49.22]) by osg.samsung.com (Postfix) with ESMTPSA id C0753A0B2A; Mon, 4 Sep 2017 20:42:03 +0000 (UTC) Received: from mchehab by smtp.s-opensource.com with local (Exim 4.89) (envelope-from ) id 1doyBV-0005lK-Vh; Mon, 04 Sep 2017 17:41:29 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Linux Media Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Hans Verkuil , Sakari Ailus Subject: [PATCH 2/2] media: pixfmt-srggb12p.rst: better format the table for PDF output Date: Mon, 4 Sep 2017 17:41:28 -0300 Message-Id: <662653a6f051497957a8804940ae59595123e668.1504557671.git.mchehab@s-opensource.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: References: In-Reply-To: References: Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adjust the table to be better displayed on PDF output. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/pixfmt-srggb12p.rst | 59 +++++++++--------------- 1 file changed, 21 insertions(+), 38 deletions(-) diff --git a/Documentation/media/uapi/v4l/pixfmt-srggb12p.rst b/Documentation/media/uapi/v4l/pixfmt-srggb12p.rst index c0541e5acd01..59918a7913fe 100644 --- a/Documentation/media/uapi/v4l/pixfmt-srggb12p.rst +++ b/Documentation/media/uapi/v4l/pixfmt-srggb12p.rst @@ -30,6 +30,7 @@ Below is an example of a small V4L2_PIX_FMT_SBGGR12P image: **Byte Order.** Each cell is one byte. +.. tabularcolumns:: |p{2.0cm}|p{1.0cm}|p{1.0cm}|p{2.7cm}|p{1.0cm}|p{1.0cm}|p{2.7cm}| .. flat-table:: @@ -38,66 +39,48 @@ Each cell is one byte. :widths: 2 1 1 1 1 1 1 - - .. row 1 - - - start + 0: - + - - start + 0: - B\ :sub:`00high` - - G\ :sub:`01high` + - G\ :sub:`01low`\ (bits 7--4) - - G\ :sub:`01low`\ (bits 7--4) B\ :sub:`00low`\ (bits 3--0) - + B\ :sub:`00low`\ (bits 3--0) - B\ :sub:`02high` - - G\ :sub:`03high` + - G\ :sub:`03low`\ (bits 7--4) - - G\ :sub:`03low`\ (bits 7--4) B\ :sub:`02low`\ (bits 3--0) - - - .. row 2 - - - start + 6: + B\ :sub:`02low`\ (bits 3--0) + - - start + 6: - G\ :sub:`10high` - - R\ :sub:`11high` + - R\ :sub:`11low`\ (bits 7--4) - - R\ :sub:`11low`\ (bits 7--4) G\ :sub:`10low`\ (bits 3--0) - + G\ :sub:`10low`\ (bits 3--0) - G\ :sub:`12high` - - R\ :sub:`13high` + - R\ :sub:`13low`\ (bits 3--2) - - R\ :sub:`13low`\ (bits 3--2) G\ :sub:`12low`\ (bits 3--0) - - - .. row 3 - - - start + 12: - + G\ :sub:`12low`\ (bits 3--0) + - - start + 12: - B\ :sub:`20high` - - G\ :sub:`21high` + - G\ :sub:`21low`\ (bits 7--4) - - G\ :sub:`21low`\ (bits 7--4) B\ :sub:`20low`\ (bits 3--0) - + B\ :sub:`20low`\ (bits 3--0) - B\ :sub:`22high` - - G\ :sub:`23high` + - G\ :sub:`23low`\ (bits 7--4) - - G\ :sub:`23low`\ (bits 7--4) B\ :sub:`22low`\ (bits 3--0) - - - .. row 4 - - - start + 18: - + B\ :sub:`22low`\ (bits 3--0) + - - start + 18: - G\ :sub:`30high` - - R\ :sub:`31high` + - R\ :sub:`31low`\ (bits 7--4) - - R\ :sub:`31low`\ (bits 7--4) G\ :sub:`30low`\ (bits 3--0) - + G\ :sub:`30low`\ (bits 3--0) - G\ :sub:`32high` - - R\ :sub:`33high` + - R\ :sub:`33low`\ (bits 3--2) - - R\ :sub:`33low`\ (bits 3--2) G\ :sub:`32low`\ (bits 3--0) + G\ :sub:`32low`\ (bits 3--0)