Commit 1c3fd7e7 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] pixfmt-packed-yuv.rst: adjust tables to fit in LaTeX



Adjust the table to fit at the LaTeX and PDF outputs, just like
what was done with pixfmt-packed-rgb.rst.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent b315a63b
Loading
Loading
Loading
Loading
+17 −9
Original line number Diff line number Diff line
@@ -6,18 +6,19 @@
Packed YUV formats
******************

*man Packed YUV formats(2)*

Packed YUV formats


Description
===========

Similar to the packed RGB formats these formats store the Y, Cb and Cr
component of each pixel in one 16 or 32 bit word.

.. raw:: latex

    \newline\newline\begin{adjustbox}{width=\columnwidth}

.. _rgb-formats:

.. tabularcolumns:: |p{4.5cm}|p{3.3cm}|p{0.7cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.2cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.2cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.2cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{1.7cm}|

.. flat-table:: Packed YUV Image Formats
    :header-rows:  2
@@ -309,8 +310,15 @@ component of each pixel in one 16 or 32 bit word.

       -  Cr\ :sub:`0`

.. raw:: latex

    \end{adjustbox}\newline\newline

.. note::

    #) Bit 7 is the most significant bit;

Bit 7 is the most significant bit. The value of a = alpha bits is
undefined when reading from the driver, ignored when writing to the
driver, except when alpha blending has been negotiated for a
:ref:`Video Overlay <overlay>` or :ref:`Video Output Overlay <osd>`.
    #) The value of a = alpha bits is undefined when reading from the driver,
       ignored when writing to the driver, except when alpha blending has
       been negotiated for a :ref:`Video Overlay <overlay>` or
       :ref:`Video Output Overlay <osd>`.