From patchwork Mon Jul 4 11:47:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 9212379 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 418E86086B for ; Mon, 4 Jul 2016 11:48:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 33549286DE for ; Mon, 4 Jul 2016 11:48:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2843E286DF; Mon, 4 Jul 2016 11:48:55 +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 C7B99286E2 for ; Mon, 4 Jul 2016 11:48:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932578AbcGDLsv (ORCPT ); Mon, 4 Jul 2016 07:48:51 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:44743 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753540AbcGDLrV (ORCPT ); Mon, 4 Jul 2016 07:47:21 -0400 Received: from 201.86.133.99.dynamic.adsl.gvt.net.br ([201.86.133.99] helo=smtp.w2.samsung.com) by bombadil.infradead.org with esmtpsa (Exim 4.85_2 #1 (Red Hat Linux)) id 1bK2LQ-0005Jb-Is; Mon, 04 Jul 2016 11:47:20 +0000 Received: from mchehab by smtp.w2.samsung.com with local (Exim 4.87) (envelope-from ) id 1bK2LM-0007ms-IS; Mon, 04 Jul 2016 08:47:16 -0300 From: Mauro Carvalho Chehab To: Linux Media Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , Jonathan Corbet , Markus Heiser , linux-doc@vger.kernel.org Subject: [PATCH 51/51] Documentation: pixfmt-nv12m.rst: fix conversion issues Date: Mon, 4 Jul 2016 08:47:12 -0300 Message-Id: X-Mailer: git-send-email 2.7.4 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 The conversion added an empty column (probably, it was used on DocBook just to increase spacing. It also added an extra line on one of the texts, breaking the original paragraph into two ones. Remove them. Finally, a space is required before :sub:, as otherwise it won't display it right. Add it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/linux_tv/media/v4l/pixfmt-nv12m.rst | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Documentation/linux_tv/media/v4l/pixfmt-nv12m.rst b/Documentation/linux_tv/media/v4l/pixfmt-nv12m.rst index c7db4038609a..a769808aab9b 100644 --- a/Documentation/linux_tv/media/v4l/pixfmt-nv12m.rst +++ b/Documentation/linux_tv/media/v4l/pixfmt-nv12m.rst @@ -26,8 +26,8 @@ occupies the first plane. The Y plane has one byte per pixel. In the second plane there is a chrominance data with alternating chroma samples. The CbCr plane is the same width, in bytes, as the Y plane (and of the image), but is half as tall in pixels. Each CbCr pair belongs to -four pixels. For example, Cb\ :sub:`0`/Cr:sub:`0` belongs to -Y'\ :sub:`00`, Y'\ :sub:`01`, Y'\ :sub:`10`, Y'\ :sub:`11`. +four pixels. For example, Cb :sub:`0`/Cr :sub:`0` belongs to +Y' :sub:`00`, Y' :sub:`01`, Y' :sub:`10`, Y' :sub:`11`. ``V4L2_PIX_FMT_NV12MT_16X16`` is the tiled version of ``V4L2_PIX_FMT_NV12M`` with 16x16 macroblock tiles. Here pixels are arranged in 16x16 2D tiles and tiles are arranged in linear order in @@ -43,11 +43,8 @@ If the Y plane has pad bytes after each row, then the CbCr plane has as many pad bytes after its rows. **Byte Order..** - Each cell is one byte. - - .. flat-table:: :header-rows: 0 :stub-columns: 0 @@ -148,7 +145,6 @@ Each cell is one byte. - - 1 - - - 2 - @@ -163,7 +159,6 @@ Each cell is one byte. - - Y - - - Y - @@ -177,7 +172,6 @@ Each cell is one byte. - - - - - C - @@ -191,7 +185,6 @@ Each cell is one byte. - - Y - - - Y - @@ -210,7 +203,6 @@ Each cell is one byte. - - Y - - - Y - @@ -238,7 +230,6 @@ Each cell is one byte. - - Y - - - Y -