From a678a50ecd236b864aed92ebc839ebe8c996c05b Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 3 Jul 2016 19:07:02 -0300 Subject: [PATCH] doc-rst: pixfmt-nv12m: fix conversion issues 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 - @@ -175,7 +170,6 @@ Each cell is one byte. - - C - - - - - 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 - -- 2.39.5