Commit a678a50e authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 31ad250f
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -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

       -