提交 1c3fd7e7 编写于 作者: M Mauro Carvalho Chehab

[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: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 b315a63b
...@@ -6,18 +6,19 @@ ...@@ -6,18 +6,19 @@
Packed YUV formats Packed YUV formats
****************** ******************
*man Packed YUV formats(2)*
Packed YUV formats
Description Description
=========== ===========
Similar to the packed RGB formats these formats store the Y, Cb and Cr 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. 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 .. flat-table:: Packed YUV Image Formats
:header-rows: 2 :header-rows: 2
...@@ -309,8 +310,15 @@ component of each pixel in one 16 or 32 bit word. ...@@ -309,8 +310,15 @@ component of each pixel in one 16 or 32 bit word.
- Cr\ :sub:`0` - 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 #) The value of a = alpha bits is undefined when reading from the driver,
undefined when reading from the driver, ignored when writing to the ignored when writing to the driver, except when alpha blending has
driver, except when alpha blending has been negotiated for a been negotiated for a :ref:`Video Overlay <overlay>` or
:ref:`Video Overlay <overlay>` or :ref:`Video Output Overlay <osd>`. :ref:`Video Output Overlay <osd>`.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册