Commit 0101036c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] dev-sliced-vbi.rst: Adjust tables on LaTeX output



Better format the tables in a way that will fit inside the
page.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 23c751f0
Loading
Loading
Loading
Loading
+24 −10
Original line number Diff line number Diff line
@@ -105,7 +105,9 @@ which may return ``EBUSY`` can be the
struct v4l2_sliced_vbi_format
-----------------------------

.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{2.9cm}|p{2.9cm}|p{2.9cm}|
.. tabularcolumns:: |p{1.0cm}|p{4.5cm}|p{4.0cm}|p{4.0cm}|p{4.0cm}|

.. cssclass:: longtable

.. flat-table::
    :header-rows:  0
@@ -242,8 +244,8 @@ struct v4l2_sliced_vbi_format
       -  ``reserved``\ [2]

       -  :cspan:`2` This array is reserved for future extensions.
	  Applications and drivers must set it to zero.

	  Applications and drivers must set it to zero.


.. _vbi-services2:
@@ -251,7 +253,11 @@ struct v4l2_sliced_vbi_format
Sliced VBI services
-------------------

.. tabularcolumns:: |p{4.4cm}|p{2.2cm}|p{2.2cm}|p{4.4cm}|p{4.3cm}|
.. raw:: latex

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

.. tabularcolumns:: |p{5.0cm}|p{1.4cm}|p{3.0cm}|p{2.5cm}|p{9.0cm}|

.. flat-table::
    :header-rows:  1
@@ -277,7 +283,9 @@ Sliced VBI services

       -  0x0001

       -  :ref:`ets300706`, :ref:`itu653`
       -  :ref:`ets300706`,

	  :ref:`itu653`

       -  PAL/SECAM line 7-22, 320-335 (second field 7-22)

@@ -316,7 +324,9 @@ Sliced VBI services

       -  0x4000

       -  :ref:`itu1119`, :ref:`en300294`
       -  :ref:`itu1119`,

	  :ref:`en300294`

       -  PAL/SECAM line 23

@@ -344,6 +354,10 @@ Sliced VBI services

       -  :cspan:`2` Set of services applicable to 625 line systems.

.. raw:: latex

    \end{adjustbox}\newline\newline


Drivers may return an ``EINVAL`` error code when applications attempt to
read or write data without prior format negotiation, after switching the
@@ -561,7 +575,7 @@ number).
struct v4l2_mpeg_vbi_fmt_ivtv
-----------------------------

.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{7.0cm}|
.. tabularcolumns:: |p{1.0cm}|p{3.5cm}|p{1.0cm}|p{11.5cm}|

.. flat-table::
    :header-rows:  0
@@ -661,7 +675,7 @@ Magic Constants for struct v4l2_mpeg_vbi_fmt_ivtv magic field
struct v4l2_mpeg_vbi_itv0
-------------------------

.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. tabularcolumns:: |p{4.4cm}|p{2.4cm}|p{10.7cm}|

.. flat-table::
    :header-rows:  0