diff mbox series

media: pixfmt-packed-yuv.rst: fix PDF output

Message ID 07f6590e6ed365bfe0bf5770c3a1e987fa32a657.1553875482.git.mchehab+samsung@kernel.org (mailing list archive)
State New, archived
Headers show
Series media: pixfmt-packed-yuv.rst: fix PDF output | expand

Commit Message

Mauro Carvalho Chehab March 29, 2019, 4:04 p.m. UTC
Some lines inside this table has more than 34 columns, with is what
it is expected, according with .. tabularcolumns:: definition.

That causes the PDF output to fail.

This patch ensures that all columns will have exactly the same
size, merging the unused ones using :cpan:

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
---
 .../media/uapi/v4l/pixfmt-packed-yuv.rst      | 21 ++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Comments

Hans Verkuil March 29, 2019, 4:07 p.m. UTC | #1
On 3/29/19 5:04 PM, Mauro Carvalho Chehab wrote:
> Some lines inside this table has more than 34 columns, with is what
> it is expected, according with .. tabularcolumns:: definition.

You probably mean:

Some lines inside this table has more than 34 columns, which isn't what
is expected, according to the .. tabularcolumns:: definition.

Regards,

	Hans

> 
> That causes the PDF output to fail.
> 
> This patch ensures that all columns will have exactly the same
> size, merging the unused ones using :cpan:
> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
> ---
>  .../media/uapi/v4l/pixfmt-packed-yuv.rst      | 21 ++++++++++++-------
>  1 file changed, 14 insertions(+), 7 deletions(-)
> 
> diff --git a/Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst b/Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst
> index 7fcee1c11ac4..9d2b281f06a2 100644
> --- a/Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst
> +++ b/Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst
> @@ -44,6 +44,7 @@ component of each pixel in one 16 or 32 bit word.
>        - :cspan:`7` Byte 2
>  
>        - :cspan:`7` Byte 3
> +
>      * -
>        -
>        - 7
> @@ -81,6 +82,7 @@ component of each pixel in one 16 or 32 bit word.
>        - 2
>        - 1
>        - 0
> +
>      * .. _V4L2-PIX-FMT-YUV444:
>  
>        - ``V4L2_PIX_FMT_YUV444``
> @@ -103,7 +105,9 @@ component of each pixel in one 16 or 32 bit word.
>        - Y'\ :sub:`2`
>        - Y'\ :sub:`1`
>        - Y'\ :sub:`0`
> -      -
> +
> +      -  :cspan:`15`
> +
>      * .. _V4L2-PIX-FMT-YUV555:
>  
>        - ``V4L2_PIX_FMT_YUV555``
> @@ -126,7 +130,8 @@ component of each pixel in one 16 or 32 bit word.
>        - Y'\ :sub:`0`
>        - Cb\ :sub:`4`
>        - Cb\ :sub:`3`
> -      -
> +
> +      -  :cspan:`15`
>      * .. _V4L2-PIX-FMT-YUV565:
>  
>        - ``V4L2_PIX_FMT_YUV565``
> @@ -149,7 +154,9 @@ component of each pixel in one 16 or 32 bit word.
>        - Cb\ :sub:`5`
>        - Cb\ :sub:`4`
>        - Cb\ :sub:`3`
> -      -
> +
> +      -  :cspan:`15`
> +
>      * .. _V4L2-PIX-FMT-YUV32:
>  
>        - ``V4L2_PIX_FMT_YUV32``
> @@ -190,7 +197,7 @@ component of each pixel in one 16 or 32 bit word.
>        - Cr\ :sub:`2`
>        - Cr\ :sub:`1`
>        - Cr\ :sub:`0`
> -      -
> +
>      * .. _V4L2-PIX-FMT-AYUV32:
>  
>        - ``V4L2_PIX_FMT_AYUV32``
> @@ -231,7 +238,7 @@ component of each pixel in one 16 or 32 bit word.
>        - Cr\ :sub:`2`
>        - Cr\ :sub:`1`
>        - Cr\ :sub:`0`
> -      -
> +
>      * .. _V4L2-PIX-FMT-XYUV32:
>  
>        - ``V4L2_PIX_FMT_XYUV32``
> @@ -272,7 +279,7 @@ component of each pixel in one 16 or 32 bit word.
>        - Cr\ :sub:`2`
>        - Cr\ :sub:`1`
>        - Cr\ :sub:`0`
> -      -
> +
>      * .. _V4L2-PIX-FMT-VUYA32:
>  
>        - ``V4L2_PIX_FMT_VUYA32``
> @@ -313,7 +320,7 @@ component of each pixel in one 16 or 32 bit word.
>        - a\ :sub:`2`
>        - a\ :sub:`1`
>        - a\ :sub:`0`
> -      -
> +
>      * .. _V4L2-PIX-FMT-VUYX32:
>  
>        - ``V4L2_PIX_FMT_VUYX32``
>
diff mbox series

Patch

diff --git a/Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst b/Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst
index 7fcee1c11ac4..9d2b281f06a2 100644
--- a/Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst
@@ -44,6 +44,7 @@  component of each pixel in one 16 or 32 bit word.
       - :cspan:`7` Byte 2
 
       - :cspan:`7` Byte 3
+
     * -
       -
       - 7
@@ -81,6 +82,7 @@  component of each pixel in one 16 or 32 bit word.
       - 2
       - 1
       - 0
+
     * .. _V4L2-PIX-FMT-YUV444:
 
       - ``V4L2_PIX_FMT_YUV444``
@@ -103,7 +105,9 @@  component of each pixel in one 16 or 32 bit word.
       - Y'\ :sub:`2`
       - Y'\ :sub:`1`
       - Y'\ :sub:`0`
-      -
+
+      -  :cspan:`15`
+
     * .. _V4L2-PIX-FMT-YUV555:
 
       - ``V4L2_PIX_FMT_YUV555``
@@ -126,7 +130,8 @@  component of each pixel in one 16 or 32 bit word.
       - Y'\ :sub:`0`
       - Cb\ :sub:`4`
       - Cb\ :sub:`3`
-      -
+
+      -  :cspan:`15`
     * .. _V4L2-PIX-FMT-YUV565:
 
       - ``V4L2_PIX_FMT_YUV565``
@@ -149,7 +154,9 @@  component of each pixel in one 16 or 32 bit word.
       - Cb\ :sub:`5`
       - Cb\ :sub:`4`
       - Cb\ :sub:`3`
-      -
+
+      -  :cspan:`15`
+
     * .. _V4L2-PIX-FMT-YUV32:
 
       - ``V4L2_PIX_FMT_YUV32``
@@ -190,7 +197,7 @@  component of each pixel in one 16 or 32 bit word.
       - Cr\ :sub:`2`
       - Cr\ :sub:`1`
       - Cr\ :sub:`0`
-      -
+
     * .. _V4L2-PIX-FMT-AYUV32:
 
       - ``V4L2_PIX_FMT_AYUV32``
@@ -231,7 +238,7 @@  component of each pixel in one 16 or 32 bit word.
       - Cr\ :sub:`2`
       - Cr\ :sub:`1`
       - Cr\ :sub:`0`
-      -
+
     * .. _V4L2-PIX-FMT-XYUV32:
 
       - ``V4L2_PIX_FMT_XYUV32``
@@ -272,7 +279,7 @@  component of each pixel in one 16 or 32 bit word.
       - Cr\ :sub:`2`
       - Cr\ :sub:`1`
       - Cr\ :sub:`0`
-      -
+
     * .. _V4L2-PIX-FMT-VUYA32:
 
       - ``V4L2_PIX_FMT_VUYA32``
@@ -313,7 +320,7 @@  component of each pixel in one 16 or 32 bit word.
       - a\ :sub:`2`
       - a\ :sub:`1`
       - a\ :sub:`0`
-      -
+
     * .. _V4L2-PIX-FMT-VUYX32:
 
       - ``V4L2_PIX_FMT_VUYX32``