Commit ef76c068 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] adjust some vidioc-*rst tables with wrong columns

Adjust simple cases where the columns on some vidioc files
are overriding their neighbours.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent e7eaeb37
...@@ -183,6 +183,8 @@ call. ...@@ -183,6 +183,8 @@ call.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. cssclass:: longtable
.. flat-table:: Event Types .. flat-table:: Event Types
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -108,7 +108,9 @@ one until ``EINVAL`` is returned. ...@@ -108,7 +108,9 @@ one until ``EINVAL`` is returned.
- :cspan:`2` - :cspan:`2`
.. _v4l2-fourcc: .. _v4l2-fourcc:
``#define v4l2_fourcc(a,b,c,d) (((__u32)(a)<<0)|((__u32)(b)<<8)|((__u32)(c)<<16)|((__u32)(d)<<24))`` ``#define v4l2_fourcc(a,b,c,d)``
``(((__u32)(a)<<0)|((__u32)(b)<<8)|((__u32)(c)<<16)|((__u32)(d)<<24))``
Several image formats are already defined by this specification in Several image formats are already defined by this specification in
:ref:`pixfmt`. :ref:`pixfmt`.
......
...@@ -146,8 +146,9 @@ of the corresponding tuner/modulator is set. ...@@ -146,8 +146,9 @@ of the corresponding tuner/modulator is set.
- ``reserved``\ [9] - ``reserved``\ [9]
- Reserved for future extensions. Applications and drivers must set - Reserved for future extensions.
the array to zero.
Applications and drivers must set the array to zero.
......
...@@ -181,6 +181,8 @@ at index zero, incrementing by one until the driver returns ``EINVAL``. ...@@ -181,6 +181,8 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
.. _input-status: .. _input-status:
.. tabularcolumns:: |p{4.8cm}|p{2.6cm}|p{10.1cm}|
.. flat-table:: Input Status Flags .. flat-table:: Input Status Flags
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -142,7 +142,7 @@ EINVAL. ...@@ -142,7 +142,7 @@ EINVAL.
.. _output-type: .. _output-type:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{7.0cm}|p{1.8cm}|p{8.7cm}|
.. flat-table:: Output Type .. flat-table:: Output Type
:header-rows: 0 :header-rows: 0
......
...@@ -316,11 +316,6 @@ EBUSY ...@@ -316,11 +316,6 @@ EBUSY
- Description - Description
- .. row 2
-
-
- .. row 3 - .. row 3
- ``V4L2_DV_BT_STD_CEA861`` - ``V4L2_DV_BT_STD_CEA861``
...@@ -346,6 +341,7 @@ EBUSY ...@@ -346,6 +341,7 @@ EBUSY
- The timings follow the VESA Generalized Timings Formula standard - The timings follow the VESA Generalized Timings Formula standard
.. tabularcolumns:: |p{6.0cm}|p{11.5cm}|
.. _dv-bt-flags: .. _dv-bt-flags:
...@@ -360,11 +356,6 @@ EBUSY ...@@ -360,11 +356,6 @@ EBUSY
- Description - Description
- .. row 2
-
-
- .. row 3 - .. row 3
- ``V4L2_DV_FL_REDUCED_BLANKING`` - ``V4L2_DV_FL_REDUCED_BLANKING``
......
...@@ -59,12 +59,12 @@ video elementary streams. ...@@ -59,12 +59,12 @@ video elementary streams.
.. _v4l2-enc-idx: .. _v4l2-enc-idx:
.. tabularcolumns:: |p{2.9cm}|p{2.9cm}|p{5.8cm}|p{2.9cm}|p{3.0cm}| .. tabularcolumns:: |p{3.5cm}|p{5.6cm}|p{8.4cm}|
.. flat-table:: struct v4l2_enc_idx .. flat-table:: struct v4l2_enc_idx
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
:widths: 1 1 2 1 1 :widths: 1 3 8
- .. row 1 - .. row 1
...@@ -90,7 +90,7 @@ video elementary streams. ...@@ -90,7 +90,7 @@ video elementary streams.
- ``reserved``\ [4] - ``reserved``\ [4]
- :cspan:`2` Reserved for future extensions. Drivers must set the - Reserved for future extensions. Drivers must set the
array to zero. array to zero.
- .. row 4 - .. row 4
......
...@@ -97,7 +97,9 @@ still cause this situation. ...@@ -97,7 +97,9 @@ still cause this situation.
.. _v4l2-ext-control: .. _v4l2-ext-control:
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{7.0cm}| .. tabularcolumns:: |p{1.2cm}|p{3.0cm}|p{1.5cm}|p{11.8cm}|
.. cssclass: longtable
.. flat-table:: struct v4l2_ext_control .. flat-table:: struct v4l2_ext_control
:header-rows: 0 :header-rows: 0
...@@ -230,7 +232,9 @@ still cause this situation. ...@@ -230,7 +232,9 @@ still cause this situation.
.. _v4l2-ext-controls: .. _v4l2-ext-controls:
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{7.0cm}|p{3.5cm}| .. tabularcolumns:: |p{4.0cm}|p{3.0cm}|p{2.0cm}|p{8.5cm}|
.. cssclass:: longtable
.. flat-table:: struct v4l2_ext_controls .. flat-table:: struct v4l2_ext_controls
:header-rows: 0 :header-rows: 0
...@@ -348,8 +352,9 @@ still cause this situation. ...@@ -348,8 +352,9 @@ still cause this situation.
- ``reserved``\ [2] - ``reserved``\ [2]
- Reserved for future extensions. Drivers and applications must set - Reserved for future extensions.
the array to zero.
Drivers and applications must set the array to zero.
- .. row 7 - .. row 7
...@@ -358,6 +363,7 @@ still cause this situation. ...@@ -358,6 +363,7 @@ still cause this situation.
- ``controls`` - ``controls``
- Pointer to an array of ``count`` v4l2_ext_control structures. - Pointer to an array of ``count`` v4l2_ext_control structures.
Ignored if ``count`` equals zero. Ignored if ``count`` equals zero.
......
...@@ -80,6 +80,8 @@ destructive video overlay. ...@@ -80,6 +80,8 @@ destructive video overlay.
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{7.0cm}| .. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{7.0cm}|
.. cssclass:: longtable
.. flat-table:: struct v4l2_framebuffer .. flat-table:: struct v4l2_framebuffer
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -377,6 +379,8 @@ destructive video overlay. ...@@ -377,6 +379,8 @@ destructive video overlay.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. cssclass:: longtable
.. flat-table:: Frame Buffer Flags .. flat-table:: Frame Buffer Flags
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -84,6 +84,8 @@ The format as returned by :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` must be identical ...@@ -84,6 +84,8 @@ The format as returned by :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` must be identical
.. _v4l2-format: .. _v4l2-format:
.. tabularcolumns:: |p{1.2cm}|p{4.3cm}|p{3.0cm}|p{9.0cm}|
.. flat-table:: struct v4l2_format .. flat-table:: struct v4l2_format
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -57,7 +57,7 @@ encoding. You usually do want to add them. ...@@ -57,7 +57,7 @@ encoding. You usually do want to add them.
.. _v4l2-jpegcompression: .. _v4l2-jpegcompression:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{1.2cm}|p{3.0cm}|p{13.3cm}|
.. flat-table:: struct v4l2_jpegcompression .. flat-table:: struct v4l2_jpegcompression
:header-rows: 0 :header-rows: 0
......
...@@ -85,8 +85,9 @@ To change the radio frequency the ...@@ -85,8 +85,9 @@ To change the radio frequency the
- ``name``\ [32] - ``name``\ [32]
- Name of the modulator, a NUL-terminated ASCII string. This - Name of the modulator, a NUL-terminated ASCII string.
information is intended for the user.
This information is intended for the user.
- .. row 3 - .. row 3
...@@ -155,8 +156,9 @@ To change the radio frequency the ...@@ -155,8 +156,9 @@ To change the radio frequency the
- ``reserved``\ [3] - ``reserved``\ [3]
- Reserved for future extensions. Drivers and applications must set - Reserved for future extensions.
the array to zero.
Drivers and applications must set the array to zero.
......
...@@ -96,7 +96,9 @@ See also the examples in :ref:`control`. ...@@ -96,7 +96,9 @@ See also the examples in :ref:`control`.
.. _v4l2-queryctrl: .. _v4l2-queryctrl:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{1.2cm}|p{3.6cm}|p{12.7cm}|
.. cssclass:: longtable
.. flat-table:: struct v4l2_queryctrl .. flat-table:: struct v4l2_queryctrl
:header-rows: 0 :header-rows: 0
...@@ -218,7 +220,9 @@ See also the examples in :ref:`control`. ...@@ -218,7 +220,9 @@ See also the examples in :ref:`control`.
.. _v4l2-query-ext-ctrl: .. _v4l2-query-ext-ctrl:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{1.2cm}|p{5.0cm}|p{11.3cm}|
.. cssclass:: longtable
.. flat-table:: struct v4l2_query_ext_ctrl .. flat-table:: struct v4l2_query_ext_ctrl
:header-rows: 0 :header-rows: 0
...@@ -382,7 +386,7 @@ See also the examples in :ref:`control`. ...@@ -382,7 +386,7 @@ See also the examples in :ref:`control`.
.. _v4l2-querymenu: .. _v4l2-querymenu:
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{7.0cm}|p{3.5cm}| .. tabularcolumns:: |p{1.2cm}|p{0.6cm}|p{1.6cm}|p{13.5cm}|
.. flat-table:: struct v4l2_querymenu .. flat-table:: struct v4l2_querymenu
:header-rows: 0 :header-rows: 0
...@@ -452,7 +456,9 @@ See also the examples in :ref:`control`. ...@@ -452,7 +456,9 @@ See also the examples in :ref:`control`.
.. _v4l2-ctrl-type: .. _v4l2-ctrl-type:
.. tabularcolumns:: |p{5.3cm}|p{0.9cm}|p{0.9cm}|p{0.9cm}|p{9.5cm}| .. tabularcolumns:: |p{5.8cm}|p{1.4cm}|p{1.0cm}|p{1.4cm}|p{6.9cm}|
.. cssclass:: longtable
.. flat-table:: enum v4l2_ctrl_type .. flat-table:: enum v4l2_ctrl_type
:header-rows: 1 :header-rows: 1
...@@ -653,6 +659,8 @@ See also the examples in :ref:`control`. ...@@ -653,6 +659,8 @@ See also the examples in :ref:`control`.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. cssclass:: longtable
.. flat-table:: Control Flags .. flat-table:: Control Flags
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
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