Commit 70b074df authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: fix pdf build with Spinx 1.6

Sphinx 1.6 generates some LaTeX code before each table,
starting its own environment before calling tabulary,
apparently to improve table layout.

The problem is that such environment is incompatible with
adjustbox. While, in thesis, it should be possible to override
it or to redefine tabulary, I was unable to produce such patch.

Also, that would likely break on some future Sphinx version.

So, instead, let's just change the font size on bigger tables,
in order for them to fit into the page size. That is not as
good as adjustbox, and require some manual work, but it should
be less sensitive to Sphinx changes.

While here, adjust a few other tables whose text is exceeding
the cell boundaries.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 6e893ca2
...@@ -42,6 +42,8 @@ the :c:type:`v4l2_format` structure to 0. ...@@ -42,6 +42,8 @@ the :c:type:`v4l2_format` structure to 0.
.. _v4l2-meta-format: .. _v4l2-meta-format:
.. tabularcolumns:: |p{1.4cm}|p{2.2cm}|p{13.9cm}|
.. flat-table:: struct v4l2_meta_format .. flat-table:: struct v4l2_meta_format
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -105,7 +105,13 @@ which may return ``EBUSY`` can be the ...@@ -105,7 +105,13 @@ which may return ``EBUSY`` can be the
struct v4l2_sliced_vbi_format struct v4l2_sliced_vbi_format
----------------------------- -----------------------------
.. tabularcolumns:: |p{1.0cm}|p{4.5cm}|p{4.0cm}|p{4.0cm}|p{4.0cm}| .. raw:: latex
\begingroup
\scriptsize
\setlength{\tabcolsep}{2pt}
.. tabularcolumns:: |p{.75cm}|p{3.3cm}|p{3.4cm}|p{3.4cm}|p{3.4cm}|
.. cssclass:: longtable .. cssclass:: longtable
...@@ -199,6 +205,8 @@ struct v4l2_sliced_vbi_format ...@@ -199,6 +205,8 @@ struct v4l2_sliced_vbi_format
Applications and drivers must set it to zero. Applications and drivers must set it to zero.
.. raw:: latex
\endgroup
.. _vbi-services2: .. _vbi-services2:
...@@ -206,10 +214,9 @@ Sliced VBI services ...@@ -206,10 +214,9 @@ Sliced VBI services
------------------- -------------------
.. raw:: latex .. raw:: latex
\footnotesize
\begin{adjustbox}{width=\columnwidth} .. tabularcolumns:: |p{4.1cm}|p{1.1cm}|p{2.4cm}|p{2.0cm}|p{7.3cm}|
.. tabularcolumns:: |p{5.0cm}|p{1.4cm}|p{3.0cm}|p{2.5cm}|p{9.0cm}|
.. flat-table:: .. flat-table::
:header-rows: 1 :header-rows: 1
...@@ -263,7 +270,7 @@ Sliced VBI services ...@@ -263,7 +270,7 @@ Sliced VBI services
.. raw:: latex .. raw:: latex
\end{adjustbox}\newline\newline \normalsize
Drivers may return an ``EINVAL`` error code when applications attempt to Drivers may return an ``EINVAL`` error code when applications attempt to
...@@ -457,7 +464,7 @@ number). ...@@ -457,7 +464,7 @@ number).
struct v4l2_mpeg_vbi_fmt_ivtv struct v4l2_mpeg_vbi_fmt_ivtv
----------------------------- -----------------------------
.. tabularcolumns:: |p{1.0cm}|p{3.5cm}|p{1.0cm}|p{11.5cm}| .. tabularcolumns:: |p{1.0cm}|p{3.8cm}|p{1.0cm}|p{11.2cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -525,7 +532,7 @@ Magic Constants for struct v4l2_mpeg_vbi_fmt_ivtv magic field ...@@ -525,7 +532,7 @@ Magic Constants for struct v4l2_mpeg_vbi_fmt_ivtv magic field
structs v4l2_mpeg_vbi_itv0 and v4l2_mpeg_vbi_ITV0 structs v4l2_mpeg_vbi_itv0 and v4l2_mpeg_vbi_ITV0
------------------------------------------------- -------------------------------------------------
.. tabularcolumns:: |p{4.4cm}|p{2.4cm}|p{10.7cm}| .. tabularcolumns:: |p{4.9cm}|p{2.4cm}|p{10.2cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -574,7 +581,7 @@ structs v4l2_mpeg_vbi_itv0 and v4l2_mpeg_vbi_ITV0 ...@@ -574,7 +581,7 @@ structs v4l2_mpeg_vbi_itv0 and v4l2_mpeg_vbi_ITV0
struct v4l2_mpeg_vbi_ITV0 struct v4l2_mpeg_vbi_ITV0
------------------------- -------------------------
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.9cm}|p{4.4cm}|p{8.2cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
......
...@@ -204,9 +204,9 @@ list entity names and pad numbers). ...@@ -204,9 +204,9 @@ list entity names and pad numbers).
.. raw:: latex .. raw:: latex
\begin{adjustbox}{width=\columnwidth} \tiny
.. tabularcolumns:: |p{4.5cm}|p{4.5cm}|p{4.5cm}|p{4.5cm}|p{4.5cm}|p{4.5cm}|p{4.5cm}| .. tabularcolumns:: |p{2.0cm}|p{2.3cm}|p{2.3cm}|p{2.3cm}|p{2.3cm}|p{2.3cm}|p{2.3cm}|
.. _sample-pipeline-config: .. _sample-pipeline-config:
...@@ -253,7 +253,7 @@ list entity names and pad numbers). ...@@ -253,7 +253,7 @@ list entity names and pad numbers).
.. raw:: latex .. raw:: latex
\end{adjustbox}\newline\newline \normalsize
1. Initial state. The sensor source pad format is set to its native 3MP 1. Initial state. The sensor source pad format is set to its native 3MP
size and V4L2_MBUS_FMT_SGRBG8_1X8 media bus code. Formats on the size and V4L2_MBUS_FMT_SGRBG8_1X8 media bus code. Formats on the
......
...@@ -1922,9 +1922,9 @@ enum v4l2_vp8_golden_frame_sel - ...@@ -1922,9 +1922,9 @@ enum v4l2_vp8_golden_frame_sel -
.. raw:: latex .. raw:: latex
\begin{adjustbox}{width=\columnwidth} \footnotesize
.. tabularcolumns:: |p{11.0cm}|p{10.0cm}| .. tabularcolumns:: |p{9.0cm}|p{8.0cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -1940,7 +1940,7 @@ enum v4l2_vp8_golden_frame_sel - ...@@ -1940,7 +1940,7 @@ enum v4l2_vp8_golden_frame_sel -
.. raw:: latex .. raw:: latex
\end{adjustbox} \normalsize
``V4L2_CID_MPEG_VIDEO_VPX_MIN_QP (integer)`` ``V4L2_CID_MPEG_VIDEO_VPX_MIN_QP (integer)``
......
...@@ -34,11 +34,12 @@ The second plane provides 16-bit per-pixel Depth data arranged in ...@@ -34,11 +34,12 @@ The second plane provides 16-bit per-pixel Depth data arranged in
Each cell is a 16-bit word with more significant data stored at higher Each cell is a 16-bit word with more significant data stored at higher
memory address (byte order is little-endian). memory address (byte order is little-endian).
.. raw:: latex .. raw:: latex
\newline\newline\begin{adjustbox}{width=\columnwidth} \small
.. tabularcolumns:: |p{4.0cm}|p{4.0cm}|p{4.0cm}|p{4.0cm}|p{4.0cm}|p{4.0cm}| .. tabularcolumns:: |p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -78,4 +79,4 @@ memory address (byte order is little-endian). ...@@ -78,4 +79,4 @@ memory address (byte order is little-endian).
.. raw:: latex .. raw:: latex
\end{adjustbox}\newline\newline \normalsize
...@@ -17,11 +17,14 @@ cylinder: 0 being the smallest value and 255 the maximum. ...@@ -17,11 +17,14 @@ cylinder: 0 being the smallest value and 255 the maximum.
The values are packed in 24 or 32 bit formats. The values are packed in 24 or 32 bit formats.
.. raw:: latex .. raw:: latex
\newline\begin{adjustbox}{width=\columnwidth} \begingroup
\tiny
\setlength{\tabcolsep}{2pt}
.. tabularcolumns:: |p{4.2cm}|p{1.0cm}|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}| .. tabularcolumns:: |p{2.0cm}|p{0.54cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
.. _packed-hsv-formats: .. _packed-hsv-formats:
...@@ -33,11 +36,8 @@ The values are packed in 24 or 32 bit formats. ...@@ -33,11 +36,8 @@ The values are packed in 24 or 32 bit formats.
- Code - Code
- -
- :cspan:`7` Byte 0 in memory - :cspan:`7` Byte 0 in memory
-
- :cspan:`7` Byte 1 - :cspan:`7` Byte 1
-
- :cspan:`7` Byte 2 - :cspan:`7` Byte 2
-
- :cspan:`7` Byte 3 - :cspan:`7` Byte 3
* - * -
- -
...@@ -50,7 +50,7 @@ The values are packed in 24 or 32 bit formats. ...@@ -50,7 +50,7 @@ The values are packed in 24 or 32 bit formats.
- 2 - 2
- 1 - 1
- 0 - 0
-
- 7 - 7
- 6 - 6
- 5 - 5
...@@ -59,7 +59,7 @@ The values are packed in 24 or 32 bit formats. ...@@ -59,7 +59,7 @@ The values are packed in 24 or 32 bit formats.
- 2 - 2
- 1 - 1
- 0 - 0
-
- 7 - 7
- 6 - 6
- 5 - 5
...@@ -68,7 +68,7 @@ The values are packed in 24 or 32 bit formats. ...@@ -68,7 +68,7 @@ The values are packed in 24 or 32 bit formats.
- 2 - 2
- 1 - 1
- 0 - 0
-
- 7 - 7
- 6 - 6
- 5 - 5
...@@ -90,7 +90,7 @@ The values are packed in 24 or 32 bit formats. ...@@ -90,7 +90,7 @@ The values are packed in 24 or 32 bit formats.
- -
- -
- -
-
- h\ :sub:`7` - h\ :sub:`7`
- h\ :sub:`6` - h\ :sub:`6`
- h\ :sub:`5` - h\ :sub:`5`
...@@ -99,7 +99,7 @@ The values are packed in 24 or 32 bit formats. ...@@ -99,7 +99,7 @@ The values are packed in 24 or 32 bit formats.
- h\ :sub:`2` - h\ :sub:`2`
- h\ :sub:`1` - h\ :sub:`1`
- h\ :sub:`0` - h\ :sub:`0`
-
- s\ :sub:`7` - s\ :sub:`7`
- s\ :sub:`6` - s\ :sub:`6`
- s\ :sub:`5` - s\ :sub:`5`
...@@ -108,7 +108,7 @@ The values are packed in 24 or 32 bit formats. ...@@ -108,7 +108,7 @@ The values are packed in 24 or 32 bit formats.
- s\ :sub:`2` - s\ :sub:`2`
- s\ :sub:`1` - s\ :sub:`1`
- s\ :sub:`0` - s\ :sub:`0`
-
- v\ :sub:`7` - v\ :sub:`7`
- v\ :sub:`6` - v\ :sub:`6`
- v\ :sub:`5` - v\ :sub:`5`
...@@ -130,7 +130,7 @@ The values are packed in 24 or 32 bit formats. ...@@ -130,7 +130,7 @@ The values are packed in 24 or 32 bit formats.
- h\ :sub:`2` - h\ :sub:`2`
- h\ :sub:`1` - h\ :sub:`1`
- h\ :sub:`0` - h\ :sub:`0`
-
- s\ :sub:`7` - s\ :sub:`7`
- s\ :sub:`6` - s\ :sub:`6`
- s\ :sub:`5` - s\ :sub:`5`
...@@ -139,7 +139,7 @@ The values are packed in 24 or 32 bit formats. ...@@ -139,7 +139,7 @@ The values are packed in 24 or 32 bit formats.
- s\ :sub:`2` - s\ :sub:`2`
- s\ :sub:`1` - s\ :sub:`1`
- s\ :sub:`0` - s\ :sub:`0`
-
- v\ :sub:`7` - v\ :sub:`7`
- v\ :sub:`6` - v\ :sub:`6`
- v\ :sub:`5` - v\ :sub:`5`
...@@ -149,9 +149,9 @@ The values are packed in 24 or 32 bit formats. ...@@ -149,9 +149,9 @@ The values are packed in 24 or 32 bit formats.
- v\ :sub:`1` - v\ :sub:`1`
- v\ :sub:`0` - v\ :sub:`0`
- -
-
.. raw:: latex .. raw:: latex
\end{adjustbox}\newline\newline \endgroup
Bit 7 is the most significant bit. Bit 7 is the most significant bit.
...@@ -12,13 +12,16 @@ Description ...@@ -12,13 +12,16 @@ 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 .. raw:: latex
\newline\newline\begin{adjustbox}{width=\columnwidth} \begingroup
\tiny
\setlength{\tabcolsep}{2pt}
.. _packed-yuv-formats: .. _packed-yuv-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}| .. tabularcolumns:: |p{2.0cm}|p{0.67cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|p{0.29cm}|
.. flat-table:: Packed YUV Image Formats .. flat-table:: Packed YUV Image Formats
:header-rows: 2 :header-rows: 2
...@@ -26,17 +29,15 @@ component of each pixel in one 16 or 32 bit word. ...@@ -26,17 +29,15 @@ component of each pixel in one 16 or 32 bit word.
* - Identifier * - Identifier
- Code - Code
-
- :cspan:`7` Byte 0 in memory - :cspan:`7` Byte 0 in memory
-
- :cspan:`7` Byte 1 - :cspan:`7` Byte 1
-
- :cspan:`7` Byte 2 - :cspan:`7` Byte 2
-
- :cspan:`7` Byte 3 - :cspan:`7` Byte 3
* - * - :cspan:`1`
-
- Bit
- 7 - 7
- 6 - 6
- 5 - 5
...@@ -45,7 +46,7 @@ component of each pixel in one 16 or 32 bit word. ...@@ -45,7 +46,7 @@ component of each pixel in one 16 or 32 bit word.
- 2 - 2
- 1 - 1
- 0 - 0
-
- 7 - 7
- 6 - 6
- 5 - 5
...@@ -54,7 +55,7 @@ component of each pixel in one 16 or 32 bit word. ...@@ -54,7 +55,7 @@ component of each pixel in one 16 or 32 bit word.
- 2 - 2
- 1 - 1
- 0 - 0
-
- 7 - 7
- 6 - 6
- 5 - 5
...@@ -63,7 +64,7 @@ component of each pixel in one 16 or 32 bit word. ...@@ -63,7 +64,7 @@ component of each pixel in one 16 or 32 bit word.
- 2 - 2
- 1 - 1
- 0 - 0
-
- 7 - 7
- 6 - 6
- 5 - 5
...@@ -76,7 +77,7 @@ component of each pixel in one 16 or 32 bit word. ...@@ -76,7 +77,7 @@ component of each pixel in one 16 or 32 bit word.
- ``V4L2_PIX_FMT_YUV444`` - ``V4L2_PIX_FMT_YUV444``
- 'Y444' - 'Y444'
-
- Cb\ :sub:`3` - Cb\ :sub:`3`
- Cb\ :sub:`2` - Cb\ :sub:`2`
- Cb\ :sub:`1` - Cb\ :sub:`1`
...@@ -85,7 +86,7 @@ component of each pixel in one 16 or 32 bit word. ...@@ -85,7 +86,7 @@ component of each pixel in one 16 or 32 bit word.
- Cr\ :sub:`2` - Cr\ :sub:`2`
- Cr\ :sub:`1` - Cr\ :sub:`1`
- Cr\ :sub:`0` - Cr\ :sub:`0`
-
- a\ :sub:`3` - a\ :sub:`3`
- a\ :sub:`2` - a\ :sub:`2`
- a\ :sub:`1` - a\ :sub:`1`
...@@ -94,11 +95,12 @@ component of each pixel in one 16 or 32 bit word. ...@@ -94,11 +95,12 @@ component of each pixel in one 16 or 32 bit word.
- Y'\ :sub:`2` - Y'\ :sub:`2`
- Y'\ :sub:`1` - Y'\ :sub:`1`
- Y'\ :sub:`0` - Y'\ :sub:`0`
-
* .. _V4L2-PIX-FMT-YUV555: * .. _V4L2-PIX-FMT-YUV555:
- ``V4L2_PIX_FMT_YUV555`` - ``V4L2_PIX_FMT_YUV555``
- 'YUVO' - 'YUVO'
-
- Cb\ :sub:`2` - Cb\ :sub:`2`
- Cb\ :sub:`1` - Cb\ :sub:`1`
- Cb\ :sub:`0` - Cb\ :sub:`0`
...@@ -107,7 +109,7 @@ component of each pixel in one 16 or 32 bit word. ...@@ -107,7 +109,7 @@ component of each pixel in one 16 or 32 bit word.
- Cr\ :sub:`2` - Cr\ :sub:`2`
- Cr\ :sub:`1` - Cr\ :sub:`1`
- Cr\ :sub:`0` - Cr\ :sub:`0`
-
- a - a
- Y'\ :sub:`4` - Y'\ :sub:`4`
- Y'\ :sub:`3` - Y'\ :sub:`3`
...@@ -116,11 +118,12 @@ component of each pixel in one 16 or 32 bit word. ...@@ -116,11 +118,12 @@ component of each pixel in one 16 or 32 bit word.
- Y'\ :sub:`0` - Y'\ :sub:`0`
- Cb\ :sub:`4` - Cb\ :sub:`4`
- Cb\ :sub:`3` - Cb\ :sub:`3`
-
* .. _V4L2-PIX-FMT-YUV565: * .. _V4L2-PIX-FMT-YUV565:
- ``V4L2_PIX_FMT_YUV565`` - ``V4L2_PIX_FMT_YUV565``
- 'YUVP' - 'YUVP'
-
- Cb\ :sub:`2` - Cb\ :sub:`2`
- Cb\ :sub:`1` - Cb\ :sub:`1`
- Cb\ :sub:`0` - Cb\ :sub:`0`
...@@ -129,7 +132,7 @@ component of each pixel in one 16 or 32 bit word. ...@@ -129,7 +132,7 @@ component of each pixel in one 16 or 32 bit word.
- Cr\ :sub:`2` - Cr\ :sub:`2`
- Cr\ :sub:`1` - Cr\ :sub:`1`
- Cr\ :sub:`0` - Cr\ :sub:`0`
-
- Y'\ :sub:`4` - Y'\ :sub:`4`
- Y'\ :sub:`3` - Y'\ :sub:`3`
- Y'\ :sub:`2` - Y'\ :sub:`2`
...@@ -138,11 +141,12 @@ component of each pixel in one 16 or 32 bit word. ...@@ -138,11 +141,12 @@ component of each pixel in one 16 or 32 bit word.
- Cb\ :sub:`5` - Cb\ :sub:`5`
- Cb\ :sub:`4` - Cb\ :sub:`4`
- Cb\ :sub:`3` - Cb\ :sub:`3`
-
* .. _V4L2-PIX-FMT-YUV32: * .. _V4L2-PIX-FMT-YUV32:
- ``V4L2_PIX_FMT_YUV32`` - ``V4L2_PIX_FMT_YUV32``
- 'YUV4' - 'YUV4'
-
- a\ :sub:`7` - a\ :sub:`7`
- a\ :sub:`6` - a\ :sub:`6`
- a\ :sub:`5` - a\ :sub:`5`
...@@ -151,7 +155,7 @@ component of each pixel in one 16 or 32 bit word. ...@@ -151,7 +155,7 @@ component of each pixel in one 16 or 32 bit word.
- a\ :sub:`2` - a\ :sub:`2`
- a\ :sub:`1` - a\ :sub:`1`
- a\ :sub:`0` - a\ :sub:`0`
-
- Y'\ :sub:`7` - Y'\ :sub:`7`
- Y'\ :sub:`6` - Y'\ :sub:`6`
- Y'\ :sub:`5` - Y'\ :sub:`5`
...@@ -160,7 +164,7 @@ component of each pixel in one 16 or 32 bit word. ...@@ -160,7 +164,7 @@ component of each pixel in one 16 or 32 bit word.
- Y'\ :sub:`2` - Y'\ :sub:`2`
- Y'\ :sub:`1` - Y'\ :sub:`1`
- Y'\ :sub:`0` - Y'\ :sub:`0`
-
- Cb\ :sub:`7` - Cb\ :sub:`7`
- Cb\ :sub:`6` - Cb\ :sub:`6`
- Cb\ :sub:`5` - Cb\ :sub:`5`
...@@ -169,7 +173,7 @@ component of each pixel in one 16 or 32 bit word. ...@@ -169,7 +173,7 @@ component of each pixel in one 16 or 32 bit word.
- Cb\ :sub:`2` - Cb\ :sub:`2`
- Cb\ :sub:`1` - Cb\ :sub:`1`
- Cb\ :sub:`0` - Cb\ :sub:`0`
-
- Cr\ :sub:`7` - Cr\ :sub:`7`
- Cr\ :sub:`6` - Cr\ :sub:`6`
- Cr\ :sub:`5` - Cr\ :sub:`5`
...@@ -181,7 +185,7 @@ component of each pixel in one 16 or 32 bit word. ...@@ -181,7 +185,7 @@ component of each pixel in one 16 or 32 bit word.
.. raw:: latex .. raw:: latex
\end{adjustbox}\newline\newline \endgroup
.. note:: .. note::
......
...@@ -33,11 +33,12 @@ of a small V4L2_PIX_FMT_SBGGR10P image: ...@@ -33,11 +33,12 @@ of a small V4L2_PIX_FMT_SBGGR10P image:
**Byte Order.** **Byte Order.**
Each cell is one byte. Each cell is one byte.
.. raw:: latex .. raw:: latex
\newline\newline\begin{adjustbox}{width=\columnwidth} \small
.. tabularcolumns:: |p{2.0cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|p{10.9cm}| .. tabularcolumns:: |p{2.0cm}|p{1.0cm}|p{1.0cm}|p{1.0cm}|p{1.0cm}|p{10.0cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -75,4 +76,4 @@ Each cell is one byte. ...@@ -75,4 +76,4 @@ Each cell is one byte.
.. raw:: latex .. raw:: latex
\end{adjustbox}\newline\newline \normalsize
...@@ -1586,7 +1586,7 @@ JEIDA defined bit mapping will be named ...@@ -1586,7 +1586,7 @@ JEIDA defined bit mapping will be named
.. raw:: latex .. raw:: latex
\begin{adjustbox}{width=\columnwidth} \tiny
.. _v4l2-mbus-pixelcode-rgb-lvds: .. _v4l2-mbus-pixelcode-rgb-lvds:
...@@ -1784,7 +1784,7 @@ JEIDA defined bit mapping will be named ...@@ -1784,7 +1784,7 @@ JEIDA defined bit mapping will be named
.. raw:: latex .. raw:: latex
\end{adjustbox}\newline\newline \normalsize
Bayer Formats Bayer Formats
...@@ -7321,11 +7321,14 @@ following information. ...@@ -7321,11 +7321,14 @@ following information.
The following table lists existing HSV/HSL formats. The following table lists existing HSV/HSL formats.
.. raw:: latex .. raw:: latex
\newline\newline\begin{adjustbox}{width=\columnwidth} \begingroup
\tiny
\setlength{\tabcolsep}{2pt}
.. tabularcolumns:: |p{6.2cm}|p{1.6cm}|p{0.7cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}| .. tabularcolumns:: |p{3.0cm}|p{0.60cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
.. _v4l2-mbus-pixelcode-hsv: .. _v4l2-mbus-pixelcode-hsv:
...@@ -7413,7 +7416,7 @@ The following table lists existing HSV/HSL formats. ...@@ -7413,7 +7416,7 @@ The following table lists existing HSV/HSL formats.
.. raw:: latex .. raw:: latex
\end{adjustbox}\newline\newline \normalsize
JPEG Compressed Formats JPEG Compressed Formats
...@@ -7435,7 +7438,7 @@ The following table lists existing JPEG compressed formats. ...@@ -7435,7 +7438,7 @@ The following table lists existing JPEG compressed formats.
.. _v4l2-mbus-pixelcode-jpeg: .. _v4l2-mbus-pixelcode-jpeg:
.. tabularcolumns:: |p{5.6cm}|p{1.2cm}|p{10.7cm}| .. tabularcolumns:: |p{5.4cm}|p{1.4cm}|p{10.7cm}|
.. flat-table:: JPEG Formats .. flat-table:: JPEG Formats
:header-rows: 1 :header-rows: 1
...@@ -7468,7 +7471,7 @@ formats. ...@@ -7468,7 +7471,7 @@ formats.
.. _v4l2-mbus-pixelcode-vendor-specific: .. _v4l2-mbus-pixelcode-vendor-specific:
.. tabularcolumns:: |p{6.6cm}|p{1.2cm}|p{9.7cm}| .. tabularcolumns:: |p{6.8cm}|p{1.4cm}|p{9.3cm}|
.. flat-table:: Vendor and device specific formats .. flat-table:: Vendor and device specific formats
:header-rows: 1 :header-rows: 1
......
...@@ -38,7 +38,7 @@ exceptions which the application may get by e.g. using the select system ...@@ -38,7 +38,7 @@ exceptions which the application may get by e.g. using the select system
call. call.
.. tabularcolumns:: |p{3.0cm}|p{4.3cm}|p{2.5cm}|p{7.7cm}| .. tabularcolumns:: |p{3.0cm}|p{4.4cm}|p{2.4cm}|p{7.7cm}|
.. c:type:: v4l2_event .. c:type:: v4l2_event
......
...@@ -97,7 +97,7 @@ that doesn't support them will return an ``EINVAL`` error code. ...@@ -97,7 +97,7 @@ that doesn't support them will return an ``EINVAL`` error code.
.. tabularcolumns:: |p{1.0cm}|p{3.5cm}|p{3.5cm}|p{9.5cm}| .. tabularcolumns:: |p{1.0cm}|p{4.0cm}|p{3.5cm}|p{9.2cm}|
.. c:type:: v4l2_dv_timings_cap .. c:type:: v4l2_dv_timings_cap
......
...@@ -124,6 +124,8 @@ application should zero out all members except for the *IN* fields. ...@@ -124,6 +124,8 @@ application should zero out all members except for the *IN* fields.
.. c:type:: v4l2_frmivalenum .. c:type:: v4l2_frmivalenum
.. tabularcolumns:: |p{1.8cm}|p{4.4cm}|p{2.4cm}|p{8.9cm}|
.. flat-table:: struct v4l2_frmivalenum .. flat-table:: struct v4l2_frmivalenum
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -224,12 +224,15 @@ support digital TV. See also the Linux DVB API at ...@@ -224,12 +224,15 @@ support digital TV. See also the Linux DVB API at
#define V4L2_STD_ALL (V4L2_STD_525_60 | #define V4L2_STD_ALL (V4L2_STD_525_60 |
V4L2_STD_625_50) V4L2_STD_625_50)
.. raw:: latex .. raw:: latex
\begin{adjustbox}{width=\columnwidth} \begingroup
\tiny
\setlength{\tabcolsep}{2pt}
.. NTSC/M PAL/M /N /B /D /H /I SECAM/B /D /K1 /L .. NTSC/M PAL/M /N /B /D /H /I SECAM/B /D /K1 /L
.. tabularcolumns:: |p{2.7cm}|p{2.6cm}|p{3.0cm}|p{3.2cm}|p{3.2cm}|p{2.2cm}|p{1.2cm}|p{3.2cm}|p{3.0cm}|p{2.0cm}|p{2.0cm}|p{2.0cm}| .. tabularcolumns:: |p{1.43cm}|p{1.38cm}|p{1.59cm}|p{1.7cm}|p{1.7cm}|p{1.17cm}|p{0.64cm}|p{1.71cm}|p{1.6cm}|p{1.07cm}|p{1.07cm}|p{1.07cm}|
.. _video-standards: .. _video-standards:
...@@ -293,7 +296,7 @@ support digital TV. See also the Linux DVB API at ...@@ -293,7 +296,7 @@ support digital TV. See also the Linux DVB API at
.. raw:: latex .. raw:: latex
\end{adjustbox}\newline\newline \endgroup
......
...@@ -208,7 +208,7 @@ EBUSY ...@@ -208,7 +208,7 @@ EBUSY
- 0 - 0
- BT.656/1120 timings - BT.656/1120 timings
.. tabularcolumns:: |p{4.5cm}|p{12.8cm}|
.. _dv-bt-standards: .. _dv-bt-standards:
...@@ -231,7 +231,7 @@ EBUSY ...@@ -231,7 +231,7 @@ EBUSY
There are no horizontal syncs/porches at all in this format. There are no horizontal syncs/porches at all in this format.
Total blanking timings must be set in hsync or vsync fields only. Total blanking timings must be set in hsync or vsync fields only.
.. tabularcolumns:: |p{6.0cm}|p{11.5cm}| .. tabularcolumns:: |p{7.0cm}|p{10.5cm}|
.. _dv-bt-flags: .. _dv-bt-flags:
......
...@@ -55,7 +55,7 @@ Currently this ioctl is only defined for MPEG-2 program streams and ...@@ -55,7 +55,7 @@ Currently this ioctl is only defined for MPEG-2 program streams and
video elementary streams. video elementary streams.
.. tabularcolumns:: |p{3.5cm}|p{5.6cm}|p{8.4cm}| .. tabularcolumns:: |p{3.8cm}|p{5.6cm}|p{8.1cm}|
.. c:type:: v4l2_enc_idx .. c:type:: v4l2_enc_idx
......
...@@ -180,7 +180,7 @@ still cause this situation. ...@@ -180,7 +180,7 @@ still cause this situation.
``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is set for this control. ``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is set for this control.
.. tabularcolumns:: |p{4.0cm}|p{2.0cm}|p{2.0cm}|p{8.5cm}| .. tabularcolumns:: |p{4.0cm}|p{2.2cm}|p{2.1cm}|p{8.2cm}|
.. c:type:: v4l2_ext_controls .. c:type:: v4l2_ext_controls
......
...@@ -122,9 +122,9 @@ the sliced VBI API is unsupported or ``type`` is invalid. ...@@ -122,9 +122,9 @@ the sliced VBI API is unsupported or ``type`` is invalid.
.. raw:: latex .. raw:: latex
\begin{adjustbox}{width=\columnwidth} \scriptsize
.. tabularcolumns:: |p{5.0cm}|p{1.4cm}|p{3.0cm}|p{2.5cm}|p{9.0cm}| .. tabularcolumns:: |p{3.5cm}|p{1.0cm}|p{2.0cm}|p{2.0cm}|p{8.0cm}|
.. _vbi-services: .. _vbi-services:
...@@ -180,7 +180,7 @@ the sliced VBI API is unsupported or ``type`` is invalid. ...@@ -180,7 +180,7 @@ the sliced VBI API is unsupported or ``type`` is invalid.
.. raw:: latex .. raw:: latex
\end{adjustbox}\newline\newline \normalsize
Return Value Return Value
......
...@@ -392,7 +392,7 @@ To change the radio frequency the ...@@ -392,7 +392,7 @@ To change the radio frequency the
.. raw:: latex .. raw:: latex
\begin{adjustbox}{width=\columnwidth} \scriptsize
.. _tuner-matrix: .. _tuner-matrix:
...@@ -441,7 +441,7 @@ To change the radio frequency the ...@@ -441,7 +441,7 @@ To change the radio frequency the
.. raw:: latex .. raw:: latex
\end{adjustbox}\newline\newline \normalsize
Return Value Return Value
============ ============
......
...@@ -274,7 +274,7 @@ See also the examples in :ref:`control`. ...@@ -274,7 +274,7 @@ See also the examples in :ref:`control`.
.. tabularcolumns:: |p{1.2cm}|p{0.6cm}|p{1.6cm}|p{13.5cm}| .. tabularcolumns:: |p{1.2cm}|p{1.0cm}|p{1.7cm}|p{13.0cm}|
.. _v4l2-querymenu: .. _v4l2-querymenu:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment