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

[media] docs-rst: fix warnings introduced by LaTeX patchset

Sphinx is really pedantic with respect to the order where
table tags and references are created. Putting things at
the wrong order causes troubles.

The order that seems to work is:

	.. raw:: latex

	.. tabularcolumns::

	.. _foo_name:

	.. cssclass: longtable

	.. flat-table::

Reorder the tags to the above order, to avoid troubles, and
fix remaining warnings introduced by media recent patches.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 42858b55
......@@ -41,11 +41,10 @@ device information, applications call the ioctl with a pointer to a
struct :ref:`cec_caps <cec-caps>`. The driver fills the structure and
returns the information to the application. The ioctl never fails.
.. tabularcolumns:: |p{1.2cm}|p{2.5cm}|p{13.8cm}|
.. _cec-caps:
.. tabularcolumns:: |p{1.2cm}|p{2.5cm}|p{13.8cm}|
.. flat-table:: struct cec_caps
:header-rows: 0
:stub-columns: 0
......@@ -88,11 +87,10 @@ returns the information to the application. The ioctl never fails.
macro.
.. tabularcolumns:: |p{4.4cm}|p{2.5cm}|p{10.6cm}|
.. _cec-capabilities:
.. tabularcolumns:: |p{4.4cm}|p{2.5cm}|p{10.6cm}|
.. flat-table:: CEC Capabilities Flags
:header-rows: 0
:stub-columns: 0
......
......@@ -66,11 +66,10 @@ logical addresses are claimed or cleared.
Attempting to call :ref:`ioctl CEC_ADAP_S_LOG_ADDRS <CEC_ADAP_S_LOG_ADDRS>` when
logical address types are already defined will return with error ``EBUSY``.
.. tabularcolumns:: |p{1.0cm}|p{7.5cm}|p{8.0cm}|
.. _cec-log-addrs:
.. tabularcolumns:: |p{1.0cm}|p{7.5cm}|p{8.0cm}|
.. cssclass:: longtable
.. flat-table:: struct cec_log_addrs
......@@ -207,10 +206,10 @@ logical address types are already defined will return with error ``EBUSY``.
give the CEC framework more information about the device type, even
though the framework won't use it directly in the CEC message.
.. _cec-versions:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _cec-versions:
.. flat-table:: CEC Versions
:header-rows: 0
:stub-columns: 0
......@@ -242,11 +241,10 @@ logical address types are already defined will return with error ``EBUSY``.
- CEC version according to the HDMI 2.0 standard.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _cec-prim-dev-types:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. flat-table:: CEC Primary Device Types
:header-rows: 0
:stub-columns: 0
......@@ -310,11 +308,10 @@ logical address types are already defined will return with error ``EBUSY``.
- Use for a video processor device.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _cec-log-addr-types:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. flat-table:: CEC Logical Address Types
:header-rows: 0
:stub-columns: 0
......@@ -381,10 +378,10 @@ logical address types are already defined will return with error ``EBUSY``.
.. _cec-all-dev-types-flags:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _cec-all-dev-types-flags:
.. flat-table:: CEC All Device Types Flags
:header-rows: 0
:stub-columns: 0
......
......@@ -51,11 +51,10 @@ two :ref:`CEC_EVENT_STATE_CHANGE <CEC-EVENT-STATE-CHANGE>` events with
the same state). In that case the intermediate state changes were lost but
it is guaranteed that the state did change in between the two events.
.. tabularcolumns:: |p{1.2cm}|p{2.9cm}|p{13.4cm}|
.. _cec-event-state-change_s:
.. tabularcolumns:: |p{1.2cm}|p{2.9cm}|p{13.4cm}|
.. flat-table:: struct cec_event_state_change
:header-rows: 0
:stub-columns: 0
......@@ -79,11 +78,10 @@ it is guaranteed that the state did change in between the two events.
- The current set of claimed logical addresses.
.. tabularcolumns:: |p{1.0cm}|p{2.0cm}|p{14.5cm}|
.. _cec-event-lost-msgs_s:
.. tabularcolumns:: |p{1.0cm}|p{2.0cm}|p{14.5cm}|
.. flat-table:: struct cec_event_lost_msgs
:header-rows: 0
:stub-columns: 0
......@@ -107,11 +105,10 @@ it is guaranteed that the state did change in between the two events.
this is more than enough.
.. tabularcolumns:: |p{1.0cm}|p{4.2cm}|p{2.5cm}|p{8.8cm}|
.. _cec-event:
.. tabularcolumns:: |p{1.0cm}|p{4.2cm}|p{2.5cm}|p{8.8cm}|
.. flat-table:: struct cec_event
:header-rows: 0
:stub-columns: 0
......@@ -175,11 +172,10 @@ it is guaranteed that the state did change in between the two events.
event.
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|
.. _cec-events:
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|
.. flat-table:: CEC Events Types
:header-rows: 0
:stub-columns: 0
......@@ -206,11 +202,10 @@ it is guaranteed that the state did change in between the two events.
application didn't dequeue CEC messages fast enough.
.. tabularcolumns:: |p{6.0cm}|p{0.6cm}|p{10.9cm}|
.. _cec-event-flags:
.. tabularcolumns:: |p{6.0cm}|p{0.6cm}|p{10.9cm}|
.. flat-table:: CEC Event Flags
:header-rows: 0
:stub-columns: 0
......
......@@ -73,11 +73,10 @@ always call :ref:`ioctl CEC_TRANSMIT <CEC_TRANSMIT>`.
Available initiator modes are:
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|
.. _cec-mode-initiator_e:
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|
.. flat-table:: Initiator Modes
:header-rows: 0
:stub-columns: 0
......@@ -118,11 +117,10 @@ Available initiator modes are:
Available follower modes are:
.. tabularcolumns:: |p{6.6cm}|p{0.9cm}|p{10.0cm}|
.. _cec-mode-follower_e:
.. tabularcolumns:: |p{6.6cm}|p{0.9cm}|p{10.0cm}|
.. flat-table:: Follower Modes
:header-rows: 0
:stub-columns: 0
......@@ -212,11 +210,10 @@ Available follower modes are:
Core message processing details:
.. tabularcolumns:: |p{6.6cm}|p{10.9cm}|
.. _cec-core-processing:
.. tabularcolumns:: |p{6.6cm}|p{10.9cm}|
.. flat-table:: Core Message Processing
:header-rows: 0
:stub-columns: 0
......
......@@ -73,10 +73,10 @@ checked against the received messages to find the corresponding transmit
result.
.. _cec-msg:
.. tabularcolumns:: |p{1.0cm}|p{3.5cm}|p{13.0cm}|
.. _cec-msg:
.. flat-table:: struct cec_msg
:header-rows: 0
:stub-columns: 0
......@@ -251,11 +251,10 @@ result.
valid if the :ref:`CEC_TX_STATUS_ERROR <CEC-TX-STATUS-ERROR>` status bit is set.
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|
.. _cec-tx-status:
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|
.. flat-table:: CEC Transmit Status
:header-rows: 0
:stub-columns: 0
......@@ -321,11 +320,10 @@ result.
be set to explain which failures were seen.
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|
.. _cec-rx-status:
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|
.. flat-table:: CEC Receive Status
:header-rows: 0
:stub-columns: 0
......
......@@ -48,11 +48,10 @@ other values untouched.
If the ``topology_version`` remains the same, the ioctl should fill the
desired arrays with the media graph elements.
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}|
.. _media-v2-topology:
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}|
.. flat-table:: struct media_v2_topology
:header-rows: 0
:stub-columns: 0
......@@ -144,11 +143,10 @@ desired arrays with the media graph elements.
won't store the links. It will just update ``num_links``
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}|
.. _media-v2-entity:
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}|
.. flat-table:: struct media_v2_entity
:header-rows: 0
:stub-columns: 0
......@@ -189,11 +187,10 @@ desired arrays with the media graph elements.
this array to zero.
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}|
.. _media-v2-interface:
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}|
.. flat-table:: struct media_v2_interface
:header-rows: 0
:stub-columns: 0
......@@ -242,11 +239,10 @@ desired arrays with the media graph elements.
:ref:`media-v2-intf-devnode` for details..
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}|
.. _media-v2-intf-devnode:
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}|
.. flat-table:: struct media_v2_interface
:header-rows: 0
:stub-columns: 0
......@@ -270,11 +266,10 @@ desired arrays with the media graph elements.
- Device node minor number.
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}|
.. _media-v2-pad:
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}|
.. flat-table:: struct media_v2_pad
:header-rows: 0
:stub-columns: 0
......@@ -315,11 +310,10 @@ desired arrays with the media graph elements.
this array to zero.
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}|
.. _media-v2-link:
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}|
.. flat-table:: struct media_v2_pad
:header-rows: 0
:stub-columns: 0
......
......@@ -99,11 +99,10 @@ VBI devices must implement both the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` and
and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does.
:ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` is optional.
.. tabularcolumns:: |p{2.4cm}|p{4.4cm}|p{10.7cm}|
.. _v4l2-vbi-format:
.. tabularcolumns:: |p{2.4cm}|p{4.4cm}|p{10.7cm}|
.. cssclass:: longtable
.. flat-table:: struct v4l2_vbi_format
......@@ -227,11 +226,10 @@ and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does
applications must set it to zero.
.. tabularcolumns:: |p{4.0cm}|p{1.5cm}|p{12.0cm}|
.. _vbifmt-flags:
.. tabularcolumns:: |p{4.0cm}|p{1.5cm}|p{12.0cm}|
.. flat-table:: Raw VBI Format Flags
:header-rows: 0
:stub-columns: 0
......
......@@ -202,14 +202,14 @@ for the pipeline described in :ref:`pipeline-scaling` (table columns
list entity names and pad numbers).
.. _sample-pipeline-config:
.. raw:: latex
\newline\newline\begin{adjustbox}{width=\columnwidth}
.. tabularcolumns:: |p{4.5cm}|p{4.5cm}|p{4.5cm}|p{4.5cm}|p{4.5cm}|p{4.5cm}|p{4.5cm}|
.. _sample-pipeline-config:
.. flat-table:: Sample Pipeline Configuration
:header-rows: 1
:stub-columns: 0
......
......@@ -4,11 +4,10 @@
Single-planar format structure
******************************
.. tabularcolumns:: |p{4.0cm}|p{2.5cm}|p{11.0cm}|
.. _v4l2-pix-format:
.. tabularcolumns:: |p{4.0cm}|p{2.5cm}|p{11.0cm}|
.. cssclass:: longtable
.. flat-table:: struct v4l2_pix_format
......
......@@ -12,10 +12,10 @@ array of :ref:`struct v4l2_plane_pix_format <v4l2-plane-pix-format>` structures,
describing all planes of that format.
.. _v4l2-plane-pix-format:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-plane-pix-format:
.. flat-table:: struct v4l2_plane_pix_format
:header-rows: 0
:stub-columns: 0
......@@ -49,11 +49,10 @@ describing all planes of that format.
applications.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-pix-format-mplane:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. flat-table:: struct v4l2_pix_format_mplane
:header-rows: 0
:stub-columns: 0
......
......@@ -18,10 +18,10 @@ next to each other in memory.
\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}|
.. _rgb-formats:
.. flat-table:: Packed RGB Image Formats
:header-rows: 2
:stub-columns: 0
......@@ -1113,8 +1113,6 @@ The meaning of their alpha bits (a) is ill-defined and interpreted as in
either the corresponding ARGB or XRGB format, depending on the driver.
.. _rgb-formats-deprecated:
.. raw:: latex
\newline\newline
......@@ -1122,6 +1120,8 @@ either the corresponding ARGB or XRGB format, depending on the driver.
.. 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}|
.. _rgb-formats-deprecated:
.. flat-table:: Deprecated Packed RGB Image Formats
:header-rows: 2
:stub-columns: 0
......
......@@ -16,7 +16,7 @@ component of each pixel in one 16 or 32 bit word.
\newline\newline\begin{adjustbox}{width=\columnwidth}
.. _rgb-formats:
.. _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}|
......
......@@ -17,10 +17,10 @@ you think your format should be listed in a standard format section
please make a proposal on the linux-media mailing list.
.. _reserved-formats:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _reserved-formats:
.. flat-table:: Reserved Image Formats
:header-rows: 1
:stub-columns: 0
......@@ -341,10 +341,10 @@ please make a proposal on the linux-media mailing list.
.. _format-flags:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _format-flags:
.. flat-table:: Format Flags
:header-rows: 0
:stub-columns: 0
......
......@@ -5,11 +5,10 @@
Media Bus Formats
=================
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-mbus-framefmt:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. flat-table:: struct v4l2_mbus_framefmt
:header-rows: 0
:stub-columns: 0
......@@ -3758,7 +3757,7 @@ the following codes.
.. _v4l2-mbus-pixelcode-yuv8:
.. cssclass: longtable
.. cssclass:: longtable
.. flat-table:: YUV Formats
:header-rows: 2
......
......@@ -78,10 +78,10 @@ is available from the LinuxTV v4l-dvb repository; see
instructions.
.. _name-v4l2-dbg-match:
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{7.0cm}|
.. _name-v4l2-dbg-match:
.. flat-table:: struct v4l2_dbg_match
:header-rows: 0
:stub-columns: 0
......@@ -124,10 +124,10 @@ instructions.
.. _v4l2-dbg-chip-info:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-dbg-chip-info:
.. flat-table:: struct v4l2_dbg_chip_info
:header-rows: 0
:stub-columns: 0
......@@ -171,10 +171,10 @@ instructions.
.. _name-chip-match-types:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _name-chip-match-types:
.. flat-table:: Chip Match Types
:header-rows: 0
:stub-columns: 0
......
......@@ -86,10 +86,10 @@ It is available from the LinuxTV v4l-dvb repository; see
instructions.
.. _v4l2-dbg-match:
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{7.0cm}|
.. _v4l2-dbg-match:
.. flat-table:: struct v4l2_dbg_match
:header-rows: 0
:stub-columns: 0
......@@ -173,10 +173,10 @@ instructions.
.. _chip-match-types:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _chip-match-types:
.. flat-table:: Chip Match Types
:header-rows: 0
:stub-columns: 0
......
......@@ -56,12 +56,12 @@ These ioctls are optional, not all drivers may support them. They were
introduced in Linux 3.3.
.. tabularcolumns:: |p{1.1cm}|p{2.4cm}|p{1.2cm}|p{1.6cm}|p{10.6cm}|
.. _v4l2-decoder-cmd:
.. cssclass:: longtable
.. tabularcolumns:: |p{1.1cm}|p{2.4cm}|p{1.2cm}|p{1.6cm}|p{10.6cm}|
.. flat-table:: struct v4l2_decoder_cmd
:header-rows: 0
:stub-columns: 0
......@@ -189,10 +189,10 @@ introduced in Linux 3.3.
.. _decoder-cmds:
.. tabularcolumns:: |p{5.6cm}|p{0.6cm}|p{11.3cm}|
.. _decoder-cmds:
.. flat-table:: Decoder Commands
:header-rows: 0
:stub-columns: 0
......
......@@ -40,10 +40,10 @@ exceptions which the application may get by e.g. using the select system
call.
.. _v4l2-event:
.. tabularcolumns:: |p{3.0cm}|p{4.3cm}|p{2.5cm}|p{7.7cm}|
.. _v4l2-event:
.. cssclass: longtable
.. flat-table:: struct v4l2_event
......@@ -179,12 +179,12 @@ call.
.. _event-type:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. cssclass:: longtable
.. _event-type:
.. flat-table:: Event Types
:header-rows: 0
:stub-columns: 0
......@@ -310,10 +310,10 @@ call.
.. _v4l2-event-vsync:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-event-vsync:
.. flat-table:: struct v4l2_event_vsync
:header-rows: 0
:stub-columns: 0
......@@ -330,10 +330,10 @@ call.
.. _v4l2-event-ctrl:
.. tabularcolumns:: |p{3.5cm}|p{3.0cm}|p{1.8cm}|p{8.5cm}|
.. _v4l2-event-ctrl:
.. flat-table:: struct v4l2_event_ctrl
:header-rows: 0
:stub-columns: 0
......@@ -439,10 +439,10 @@ call.
.. _v4l2-event-frame-sync:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-event-frame-sync:
.. flat-table:: struct v4l2_event_frame_sync
:header-rows: 0
:stub-columns: 0
......@@ -459,10 +459,10 @@ call.
.. _v4l2-event-src-change:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-event-src-change:
.. flat-table:: struct v4l2_event_src_change
:header-rows: 0
:stub-columns: 0
......@@ -480,10 +480,10 @@ call.
.. _v4l2-event-motion-det:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-event-motion-det:
.. flat-table:: struct v4l2_event_motion_det
:header-rows: 0
:stub-columns: 0
......@@ -525,10 +525,10 @@ call.
.. _ctrl-changes-flags:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _ctrl-changes-flags:
.. flat-table:: Control Changes
:header-rows: 0
:stub-columns: 0
......@@ -566,10 +566,10 @@ call.
.. _src-changes-flags:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _src-changes-flags:
.. flat-table:: Source Changes
:header-rows: 0
:stub-columns: 0
......
......@@ -54,10 +54,10 @@ zero the ``reserved`` array. Attempts to query capabilities on a pad
that doesn't support them will return an ``EINVAL`` error code.
.. _v4l2-bt-timings-cap:
.. tabularcolumns:: |p{1.2cm}|p{3.0cm}|p{13.3cm}|
.. _v4l2-bt-timings-cap:
.. flat-table:: struct v4l2_bt_timings_cap
:header-rows: 0
:stub-columns: 0
......@@ -141,10 +141,10 @@ that doesn't support them will return an ``EINVAL`` error code.
.. _v4l2-dv-timings-cap:
.. tabularcolumns:: |p{1.0cm}|p{3.5cm}|p{3.5cm}|p{9.5cm}|
.. _v4l2-dv-timings-cap:
.. flat-table:: struct v4l2_dv_timings_cap
:header-rows: 0
:stub-columns: 0
......@@ -206,7 +206,6 @@ that doesn't support them will return an ``EINVAL`` error code.
.. tabularcolumns:: |p{7.0cm}|p{10.5cm}|
.. _dv-bt-cap-capabilities:
.. flat-table:: DV BT Timing capabilities
......
......@@ -64,10 +64,10 @@ These ioctls are optional, not all drivers may support them. They were
introduced in Linux 2.6.21.
.. _v4l2-encoder-cmd:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-encoder-cmd:
.. flat-table:: struct v4l2_encoder_cmd
:header-rows: 0
:stub-columns: 0
......@@ -103,10 +103,10 @@ introduced in Linux 2.6.21.
.. _encoder-cmds:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _encoder-cmds:
.. flat-table:: Encoder Commands
:header-rows: 0
:stub-columns: 0
......@@ -165,11 +165,10 @@ introduced in Linux 2.6.21.
flags are defined for this command.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _encoder-flags:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. flat-table:: Encoder Command Flags
:header-rows: 0
:stub-columns: 0
......
......@@ -46,10 +46,10 @@ one until ``EINVAL`` is returned.
formats may be different.
.. _v4l2-fmtdesc:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-fmtdesc:
.. flat-table:: struct v4l2_fmtdesc
:header-rows: 0
:stub-columns: 0
......@@ -108,6 +108,7 @@ one until ``EINVAL`` is returned.
- :cspan:`2`
.. _v4l2-fourcc:
``#define v4l2_fourcc(a,b,c,d)``
``(((__u32)(a)<<0)|((__u32)(b)<<8)|((__u32)(c)<<16)|((__u32)(d)<<24))``
......@@ -131,10 +132,10 @@ one until ``EINVAL`` is returned.
.. _fmtdesc-flags:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _fmtdesc-flags:
.. flat-table:: Image Format Description Flags
:header-rows: 0
:stub-columns: 0
......
......@@ -43,10 +43,10 @@ This ioctl is supported if the ``V4L2_TUNER_CAP_FREQ_BANDS`` capability
of the corresponding tuner/modulator is set.
.. _v4l2-frequency-band:
.. tabularcolumns:: |p{2.9cm}|p{2.9cm}|p{5.8cm}|p{2.9cm}|p{3.0cm}|
.. _v4l2-frequency-band:
.. flat-table:: struct v4l2_frequency_band
:header-rows: 0
:stub-columns: 0
......@@ -152,10 +152,10 @@ of the corresponding tuner/modulator is set.
.. _band-modulation:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _band-modulation:
.. flat-table:: Band Modulation Systems
:header-rows: 0
:stub-columns: 0
......
......@@ -41,10 +41,10 @@ index is out of bounds. To enumerate all inputs applications shall begin
at index zero, incrementing by one until the driver returns ``EINVAL``.
.. _v4l2-input:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-input:
.. flat-table:: struct v4l2_input
:header-rows: 0
:stub-columns: 0
......@@ -150,10 +150,10 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
.. _input-type:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _input-type:
.. flat-table:: Input Types
:header-rows: 0
:stub-columns: 0
......@@ -179,10 +179,10 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
.. _input-status:
.. tabularcolumns:: |p{4.8cm}|p{2.6cm}|p{10.1cm}|
.. _input-status:
.. flat-table:: Input Status Flags
:header-rows: 0
:stub-columns: 0
......@@ -324,10 +324,10 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
.. _input-capabilities:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _input-capabilities:
.. flat-table:: Input capabilities
:header-rows: 0
:stub-columns: 0
......
......@@ -42,10 +42,10 @@ shall begin at index zero, incrementing by one until the driver returns
EINVAL.
.. _v4l2-output:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-output:
.. flat-table:: struct v4l2_output
:header-rows: 0
:stub-columns: 0
......@@ -140,10 +140,10 @@ EINVAL.
.. _output-type:
.. tabularcolumns:: |p{7.0cm}|p{1.8cm}|p{8.7cm}|
.. _output-type:
.. flat-table:: Output Type
:header-rows: 0
:stub-columns: 0
......@@ -177,10 +177,10 @@ EINVAL.
.. _output-capabilities:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _output-capabilities:
.. flat-table:: Output capabilities
:header-rows: 0
:stub-columns: 0
......
......@@ -141,11 +141,10 @@ or output. [#f1]_
-
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-std-id:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. flat-table:: typedef v4l2_std_id
:header-rows: 0
:stub-columns: 0
......
......@@ -50,10 +50,10 @@ cannot be satisfied. However, this is a write-only ioctl, it does not
return the actual new audio mode.
.. _v4l2-audio:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-audio:
.. flat-table:: struct v4l2_audio
:header-rows: 0
:stub-columns: 0
......@@ -106,10 +106,10 @@ return the actual new audio mode.
.. _audio-capability:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _audio-capability:
.. flat-table:: Audio Capability Flags
:header-rows: 0
:stub-columns: 0
......@@ -137,10 +137,10 @@ return the actual new audio mode.
.. _audio-mode:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _audio-mode:
.. flat-table:: Audio Mode Flags
:header-rows: 0
:stub-columns: 0
......
......@@ -68,10 +68,10 @@ EBUSY
The device is busy and therefore can not change the timings.
.. _v4l2-bt-timings:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-bt-timings:
.. flat-table:: struct v4l2_bt_timings
:header-rows: 0
:stub-columns: 0
......@@ -223,10 +223,10 @@ EBUSY
.. _v4l2-dv-timings:
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{7.0cm}|p{3.5cm}|
.. _v4l2-dv-timings:
.. flat-table:: struct v4l2_dv_timings
:header-rows: 0
:stub-columns: 0
......@@ -267,12 +267,10 @@ EBUSY
-
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _dv-timing-types:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. flat-table:: DV Timing types
:header-rows: 0
:stub-columns: 0
......
......@@ -57,10 +57,10 @@ Currently this ioctl is only defined for MPEG-2 program streams and
video elementary streams.
.. _v4l2-enc-idx:
.. tabularcolumns:: |p{3.5cm}|p{5.6cm}|p{8.4cm}|
.. _v4l2-enc-idx:
.. flat-table:: struct v4l2_enc_idx
:header-rows: 0
:stub-columns: 0
......@@ -105,10 +105,10 @@ video elementary streams.
.. _v4l2-enc-idx-entry:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-enc-idx-entry:
.. flat-table:: struct v4l2_enc_idx_entry
:header-rows: 0
:stub-columns: 0
......@@ -163,11 +163,10 @@ video elementary streams.
zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _enc-idx-flags:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. flat-table:: Index Entry Flags
:header-rows: 0
:stub-columns: 0
......
......@@ -95,10 +95,10 @@ were set/get. Only low-level errors (e. g. a failed i2c command) can
still cause this situation.
.. _v4l2-ext-control:
.. tabularcolumns:: |p{1.2cm}|p{3.0cm}|p{1.5cm}|p{11.8cm}|
.. _v4l2-ext-control:
.. cssclass: longtable
.. flat-table:: struct v4l2_ext_control
......@@ -229,11 +229,10 @@ still cause this situation.
``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is set for this control.
.. tabularcolumns:: |p{4.0cm}|p{3.0cm}|p{2.0cm}|p{8.5cm}|
.. _v4l2-ext-controls:
.. tabularcolumns:: |p{4.0cm}|p{3.0cm}|p{2.0cm}|p{8.5cm}|
.. cssclass:: longtable
.. flat-table:: struct v4l2_ext_controls
......@@ -367,11 +366,10 @@ still cause this situation.
Ignored if ``count`` equals zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _ctrl-class:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. flat-table:: Control classes
:header-rows: 0
:stub-columns: 0
......
......@@ -76,10 +76,10 @@ hardware, therefore only the superuser can set the parameters for a
destructive video overlay.
.. _v4l2-framebuffer:
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{7.0cm}|
.. _v4l2-framebuffer:
.. cssclass:: longtable
.. flat-table:: struct v4l2_framebuffer
......@@ -284,11 +284,10 @@ destructive video overlay.
- Reserved. Drivers and applications must set this field to zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _framebuffer-cap:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. flat-table:: Frame Buffer Capability Flags
:header-rows: 0
:stub-columns: 0
......@@ -374,11 +373,10 @@ destructive video overlay.
exactly opposite of ``V4L2_FBUF_CAP_CHROMAKEY``
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _framebuffer-flags:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. cssclass:: longtable
.. flat-table:: Frame Buffer Flags
......
......@@ -52,10 +52,10 @@ assumes the closest possible value. However :ref:`VIDIOC_S_FREQUENCY <VIDIOC_G_F
write-only ioctl, it does not return the actual new frequency.
.. _v4l2-frequency:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-frequency:
.. flat-table:: struct v4l2_frequency
:header-rows: 0
:stub-columns: 0
......
......@@ -55,10 +55,10 @@ encoded. If you omit them, applications assume you've used standard
encoding. You usually do want to add them.
.. _v4l2-jpegcompression:
.. tabularcolumns:: |p{1.2cm}|p{3.0cm}|p{13.3cm}|
.. _v4l2-jpegcompression:
.. flat-table:: struct v4l2_jpegcompression
:header-rows: 0
:stub-columns: 0
......@@ -128,11 +128,10 @@ encoding. You usually do want to add them.
and ignore this field.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _jpeg-markers:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. flat-table:: JPEG Markers Flags
:header-rows: 0
:stub-columns: 0
......
......@@ -61,10 +61,10 @@ To change the radio frequency the
:ref:`VIDIOC_S_FREQUENCY <VIDIOC_G_FREQUENCY>` ioctl is available.
.. _v4l2-modulator:
.. tabularcolumns:: |p{2.9cm}|p{2.9cm}|p{5.8cm}|p{2.9cm}|p{3.0cm}|
.. _v4l2-modulator:
.. flat-table:: struct v4l2_modulator
:header-rows: 0
:stub-columns: 0
......@@ -162,10 +162,10 @@ To change the radio frequency the
.. _modulator-txsubchans:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _modulator-txsubchans:
.. flat-table:: Modulator Audio Transmission Flags
:header-rows: 0
:stub-columns: 0
......
......@@ -50,10 +50,10 @@ pointer to a struct :ref:`struct v4l2_streamparm <v4l2-streamparm>` which contai
union holding separate parameters for input and output devices.
.. _v4l2-streamparm:
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{7.0cm}|
.. _v4l2-streamparm:
.. flat-table:: struct v4l2_streamparm
:header-rows: 0
:stub-columns: 0
......@@ -111,10 +111,10 @@ union holding separate parameters for input and output devices.
.. _v4l2-captureparm:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-captureparm:
.. flat-table:: struct v4l2_captureparm
:header-rows: 0
:stub-columns: 0
......@@ -194,10 +194,10 @@ union holding separate parameters for input and output devices.
.. _v4l2-outputparm:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-outputparm:
.. flat-table:: struct v4l2_outputparm
:header-rows: 0
:stub-columns: 0
......@@ -284,10 +284,10 @@ union holding separate parameters for input and output devices.
.. _parm-caps:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _parm-caps:
.. flat-table:: Streaming Parameters Capabilites
:header-rows: 0
:stub-columns: 0
......@@ -305,10 +305,10 @@ union holding separate parameters for input and output devices.
.. _parm-flags:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _parm-flags:
.. flat-table:: Capture Parameters Flags
:header-rows: 0
:stub-columns: 0
......
......@@ -262,10 +262,10 @@ To change the radio frequency the
.. _v4l2-tuner-type:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _v4l2-tuner-type:
.. flat-table:: enum v4l2_tuner_type
:header-rows: 0
:stub-columns: 0
......@@ -306,10 +306,10 @@ To change the radio frequency the
- Tuner controls the RF part of a Sofware Digital Radio (SDR)
.. _tuner-capability:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _tuner-capability:
.. cssclass:: longtable
.. flat-table:: Tuner and Modulator Capability Flags
......@@ -468,10 +468,10 @@ To change the radio frequency the
.. _tuner-rxsubchans:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _tuner-rxsubchans:
.. flat-table:: Tuner Audio Reception Flags
:header-rows: 0
:stub-columns: 0
......@@ -537,10 +537,10 @@ To change the radio frequency the
.. _tuner-audmode:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _tuner-audmode:
.. flat-table:: Tuner Audio Modes
:header-rows: 0
:stub-columns: 0
......
......@@ -41,10 +41,10 @@ filled by the driver. When the driver is not compatible with this
specification the ioctl returns an ``EINVAL`` error code.
.. _v4l2-capability:
.. tabularcolumns:: |p{1.5cm}|p{2.5cm}|p{13cm}|
.. _v4l2-capability:
.. flat-table:: struct v4l2_capability
:header-rows: 0
:stub-columns: 0
......@@ -170,10 +170,10 @@ specification the ioctl returns an ``EINVAL`` error code.
.. _device-capabilities:
.. tabularcolumns:: |p{6cm}|p{2.2cm}|p{8.8cm}|
.. _device-capabilities:
.. cssclass:: longtable
.. flat-table:: Device Capabilities Flags
......
......@@ -94,10 +94,10 @@ inclusive.
See also the examples in :ref:`control`.
.. _v4l2-queryctrl:
.. tabularcolumns:: |p{1.2cm}|p{3.6cm}|p{12.7cm}|
.. _v4l2-queryctrl:
.. cssclass:: longtable
.. flat-table:: struct v4l2_queryctrl
......@@ -218,10 +218,10 @@ See also the examples in :ref:`control`.
.. _v4l2-query-ext-ctrl:
.. tabularcolumns:: |p{1.2cm}|p{5.0cm}|p{11.3cm}|
.. _v4l2-query-ext-ctrl:
.. cssclass:: longtable
.. flat-table:: struct v4l2_query_ext_ctrl
......@@ -384,10 +384,10 @@ See also the examples in :ref:`control`.
.. _v4l2-querymenu:
.. tabularcolumns:: |p{1.2cm}|p{0.6cm}|p{1.6cm}|p{13.5cm}|
.. _v4l2-querymenu:
.. flat-table:: struct v4l2_querymenu
:header-rows: 0
:stub-columns: 0
......@@ -454,10 +454,10 @@ See also the examples in :ref:`control`.
.. _v4l2-ctrl-type:
.. tabularcolumns:: |p{5.8cm}|p{1.4cm}|p{1.0cm}|p{1.4cm}|p{6.9cm}|
.. _v4l2-ctrl-type:
.. cssclass:: longtable
.. flat-table:: enum v4l2_ctrl_type
......@@ -655,10 +655,10 @@ See also the examples in :ref:`control`.
.. _control-flags:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _control-flags:
.. cssclass:: longtable
.. flat-table:: Control Flags
......
......@@ -61,10 +61,10 @@ If this ioctl is called from a non-blocking filehandle, then ``EAGAIN``
error code is returned and no seek takes place.
.. _v4l2-hw-freq-seek:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-hw-freq-seek:
.. flat-table:: struct v4l2_hw_freq_seek
:header-rows: 0
:stub-columns: 0
......
......@@ -75,10 +75,10 @@ format to match what the hardware can provide. The modified format
should be as close as possible to the original request.
.. _v4l2-subdev-format:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-subdev-format:
.. flat-table:: struct v4l2_subdev_format
:header-rows: 0
:stub-columns: 0
......@@ -122,10 +122,10 @@ should be as close as possible to the original request.
.. _v4l2-subdev-format-whence:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _v4l2-subdev-format-whence:
.. flat-table:: enum v4l2_subdev_format_whence
:header-rows: 0
:stub-columns: 0
......
......@@ -38,10 +38,10 @@ Subscribe or unsubscribe V4L2 event. Subscribed events are dequeued by
using the :ref:`VIDIOC_DQEVENT` ioctl.
.. _v4l2-event-subscription:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. _v4l2-event-subscription:
.. flat-table:: struct v4l2_event_subscription
:header-rows: 0
:stub-columns: 0
......@@ -91,10 +91,10 @@ using the :ref:`VIDIOC_DQEVENT` ioctl.
.. _event-flags:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _event-flags:
.. flat-table:: Event Flags
:header-rows: 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