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

media: docs: uAPI: fix table output in LaTeX/PDF format

There are lots of tables that are not properly displayed
in LaTeX/PDF.

Fix the tablecolumns, add longtable where needed and LaTeX
formatting macros, in order to address such issues.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 4a1873f5
...@@ -35,7 +35,7 @@ device information, applications call the ioctl with a pointer to a ...@@ -35,7 +35,7 @@ device information, applications call the ioctl with a pointer to a
struct :c:type:`cec_caps`. The driver fills the structure and struct :c:type:`cec_caps`. The driver fills the structure and
returns the information to the application. The ioctl never fails. returns the information to the application. The ioctl never fails.
.. tabularcolumns:: |p{1.2cm}|p{2.5cm}|p{13.8cm}| .. tabularcolumns:: |p{1.2cm}|p{2.5cm}|p{13.6cm}|
.. c:type:: cec_caps .. c:type:: cec_caps
...@@ -63,7 +63,7 @@ returns the information to the application. The ioctl never fails. ...@@ -63,7 +63,7 @@ returns the information to the application. The ioctl never fails.
- CEC Framework API version, formatted with the ``KERNEL_VERSION()`` - CEC Framework API version, formatted with the ``KERNEL_VERSION()``
macro. macro.
.. tabularcolumns:: |p{4.4cm}|p{2.5cm}|p{10.6cm}| .. tabularcolumns:: |p{4.4cm}|p{2.5cm}|p{10.4cm}|
.. _cec-capabilities: .. _cec-capabilities:
......
...@@ -39,7 +39,7 @@ provide a pointer to a cec_connector_info struct which will be populated ...@@ -39,7 +39,7 @@ provide a pointer to a cec_connector_info struct which will be populated
by the kernel with the info provided by the adapter's driver. This ioctl by the kernel with the info provided by the adapter's driver. This ioctl
is only available if the ``CEC_CAP_CONNECTOR_INFO`` capability is set. is only available if the ``CEC_CAP_CONNECTOR_INFO`` capability is set.
.. tabularcolumns:: |p{1.0cm}|p{4.4cm}|p{2.5cm}|p{9.6cm}| .. tabularcolumns:: |p{1.0cm}|p{4.4cm}|p{2.5cm}|p{9.2cm}|
.. c:type:: cec_connector_info .. c:type:: cec_connector_info
...@@ -59,7 +59,7 @@ is only available if the ``CEC_CAP_CONNECTOR_INFO`` capability is set. ...@@ -59,7 +59,7 @@ is only available if the ``CEC_CAP_CONNECTOR_INFO`` capability is set.
* - } * - }
- -
.. tabularcolumns:: |p{4.4cm}|p{2.5cm}|p{10.6cm}| .. tabularcolumns:: |p{4.4cm}|p{2.5cm}|p{10.4cm}|
.. _connector-type: .. _connector-type:
...@@ -82,7 +82,7 @@ is only available if the ``CEC_CAP_CONNECTOR_INFO`` capability is set. ...@@ -82,7 +82,7 @@ is only available if the ``CEC_CAP_CONNECTOR_INFO`` capability is set.
Information about the connector can be found in Information about the connector can be found in
:ref:`cec-drm-connector-info`. :ref:`cec-drm-connector-info`.
.. tabularcolumns:: |p{4.4cm}|p{2.5cm}|p{10.6cm}| .. tabularcolumns:: |p{4.4cm}|p{2.5cm}|p{10.4cm}|
.. c:type:: cec_drm_connector_info .. c:type:: cec_drm_connector_info
......
...@@ -67,7 +67,7 @@ logical address types are already defined will return with error ``EBUSY``. ...@@ -67,7 +67,7 @@ logical address types are already defined will return with error ``EBUSY``.
.. c:type:: cec_log_addrs .. c:type:: cec_log_addrs
.. tabularcolumns:: |p{1.0cm}|p{8.0cm}|p{7.5cm}| .. tabularcolumns:: |p{1.0cm}|p{8.0cm}|p{8.0cm}|
.. cssclass:: longtable .. cssclass:: longtable
...@@ -150,7 +150,7 @@ logical address types are already defined will return with error ``EBUSY``. ...@@ -150,7 +150,7 @@ logical address types are already defined will return with error ``EBUSY``.
give the CEC framework more information about the device type, even give the CEC framework more information about the device type, even
though the framework won't use it directly in the CEC message. though the framework won't use it directly in the CEC message.
.. tabularcolumns:: |p{7.8cm}|p{1.0cm}|p{8.7cm}| .. tabularcolumns:: |p{7.8cm}|p{1.0cm}|p{8.5cm}|
.. _cec-log-addrs-flags: .. _cec-log-addrs-flags:
...@@ -186,7 +186,7 @@ logical address types are already defined will return with error ``EBUSY``. ...@@ -186,7 +186,7 @@ logical address types are already defined will return with error ``EBUSY``.
All other messages are ignored. All other messages are ignored.
.. tabularcolumns:: |p{7.8cm}|p{1.0cm}|p{8.7cm}| .. tabularcolumns:: |p{7.8cm}|p{1.0cm}|p{8.5cm}|
.. _cec-versions: .. _cec-versions:
...@@ -211,7 +211,7 @@ logical address types are already defined will return with error ``EBUSY``. ...@@ -211,7 +211,7 @@ logical address types are already defined will return with error ``EBUSY``.
- 6 - 6
- CEC version according to the HDMI 2.0 standard. - CEC version according to the HDMI 2.0 standard.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _cec-prim-dev-types: .. _cec-prim-dev-types:
...@@ -256,7 +256,7 @@ logical address types are already defined will return with error ``EBUSY``. ...@@ -256,7 +256,7 @@ logical address types are already defined will return with error ``EBUSY``.
- 7 - 7
- Use for a video processor device. - Use for a video processor device.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _cec-log-addr-types: .. _cec-log-addr-types:
...@@ -304,7 +304,7 @@ logical address types are already defined will return with error ``EBUSY``. ...@@ -304,7 +304,7 @@ logical address types are already defined will return with error ``EBUSY``.
Control). Control).
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _cec-all-dev-types-flags: .. _cec-all-dev-types-flags:
......
...@@ -44,7 +44,7 @@ two :ref:`CEC_EVENT_STATE_CHANGE <CEC-EVENT-STATE-CHANGE>` events with ...@@ -44,7 +44,7 @@ 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 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. it is guaranteed that the state did change in between the two events.
.. tabularcolumns:: |p{1.2cm}|p{2.9cm}|p{13.4cm}| .. tabularcolumns:: |p{1.2cm}|p{2.9cm}|p{13.2cm}|
.. c:type:: cec_event_state_change .. c:type:: cec_event_state_change
...@@ -74,7 +74,7 @@ it is guaranteed that the state did change in between the two events. ...@@ -74,7 +74,7 @@ it is guaranteed that the state did change in between the two events.
.. c:type:: cec_event_lost_msgs .. c:type:: cec_event_lost_msgs
.. tabularcolumns:: |p{1.0cm}|p{2.0cm}|p{14.5cm}| .. tabularcolumns:: |p{1.0cm}|p{2.0cm}|p{14.3cm}|
.. flat-table:: struct cec_event_lost_msgs .. flat-table:: struct cec_event_lost_msgs
:header-rows: 0 :header-rows: 0
...@@ -93,7 +93,7 @@ it is guaranteed that the state did change in between the two events. ...@@ -93,7 +93,7 @@ it is guaranteed that the state did change in between the two events.
replied to within a second according to the CEC specification, replied to within a second according to the CEC specification,
this is more than enough. this is more than enough.
.. tabularcolumns:: |p{1.0cm}|p{4.4cm}|p{2.5cm}|p{9.6cm}| .. tabularcolumns:: |p{1.0cm}|p{4.4cm}|p{2.5cm}|p{9.2cm}|
.. c:type:: cec_event .. c:type:: cec_event
...@@ -128,7 +128,7 @@ it is guaranteed that the state did change in between the two events. ...@@ -128,7 +128,7 @@ it is guaranteed that the state did change in between the two events.
* - } * - }
- -
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}| .. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{10.8cm}|
.. _cec-events: .. _cec-events:
...@@ -201,7 +201,7 @@ it is guaranteed that the state did change in between the two events. ...@@ -201,7 +201,7 @@ it is guaranteed that the state did change in between the two events.
if the 5V is high, then an initial event will be generated for that if the 5V is high, then an initial event will be generated for that
filehandle. filehandle.
.. tabularcolumns:: |p{6.0cm}|p{0.6cm}|p{10.9cm}| .. tabularcolumns:: |p{6.0cm}|p{0.6cm}|p{10.7cm}|
.. _cec-event-flags: .. _cec-event-flags:
......
...@@ -72,7 +72,7 @@ always call :ref:`ioctl CEC_TRANSMIT <CEC_TRANSMIT>`. ...@@ -72,7 +72,7 @@ always call :ref:`ioctl CEC_TRANSMIT <CEC_TRANSMIT>`.
Available initiator modes are: Available initiator modes are:
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}| .. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{10.8cm}|
.. _cec-mode-initiator_e: .. _cec-mode-initiator_e:
...@@ -106,7 +106,7 @@ Available initiator modes are: ...@@ -106,7 +106,7 @@ Available initiator modes are:
Available follower modes are: Available follower modes are:
.. tabularcolumns:: |p{6.6cm}|p{0.9cm}|p{10.0cm}| .. tabularcolumns:: |p{6.6cm}|p{0.9cm}|p{9.8cm}|
.. _cec-mode-follower_e: .. _cec-mode-follower_e:
......
...@@ -84,7 +84,7 @@ physical address, but the cable is still connected and CEC still works. ...@@ -84,7 +84,7 @@ physical address, but the cable is still connected and CEC still works.
In order to detect/wake up the device it is allowed to send poll and 'Image/Text In order to detect/wake up the device it is allowed to send poll and 'Image/Text
View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV'). View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV').
.. tabularcolumns:: |p{1.0cm}|p{3.5cm}|p{13.0cm}| .. tabularcolumns:: |p{1.0cm}|p{3.5cm}|p{12.8cm}|
.. c:type:: cec_msg .. c:type:: cec_msg
...@@ -196,7 +196,7 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV'). ...@@ -196,7 +196,7 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV').
supports this, otherwise it is always 0. This counter is only supports this, otherwise it is always 0. This counter is only
valid if the :ref:`CEC_TX_STATUS_ERROR <CEC-TX-STATUS-ERROR>` status bit is set. valid if the :ref:`CEC_TX_STATUS_ERROR <CEC-TX-STATUS-ERROR>` status bit is set.
.. tabularcolumns:: |p{6.2cm}|p{1.0cm}|p{10.3cm}| .. tabularcolumns:: |p{6.2cm}|p{1.0cm}|p{10.1cm}|
.. _cec-msg-flags: .. _cec-msg-flags:
...@@ -229,7 +229,7 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV'). ...@@ -229,7 +229,7 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV').
capability. If that is not set, then the ``EPERM`` error code is capability. If that is not set, then the ``EPERM`` error code is
returned. returned.
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}| .. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{10.8cm}|
.. _cec-tx-status: .. _cec-tx-status:
...@@ -298,7 +298,7 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV'). ...@@ -298,7 +298,7 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV').
- The transmit timed out. This should not normally happen and this - The transmit timed out. This should not normally happen and this
indicates a driver problem. indicates a driver problem.
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}| .. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{10.8cm}|
.. _cec-rx-status: .. _cec-rx-status:
......
...@@ -11,7 +11,7 @@ fe_type_t type, defined as: ...@@ -11,7 +11,7 @@ fe_type_t type, defined as:
.. c:type:: fe_type .. c:type:: fe_type
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. flat-table:: Frontend types .. flat-table:: Frontend types
:header-rows: 1 :header-rows: 1
......
...@@ -39,7 +39,7 @@ ioctl never fails. ...@@ -39,7 +39,7 @@ ioctl never fails.
.. c:type:: media_device_info .. c:type:: media_device_info
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct media_device_info .. flat-table:: struct media_device_info
:header-rows: 0 :header-rows: 0
......
...@@ -50,7 +50,7 @@ id's until they get an error. ...@@ -50,7 +50,7 @@ id's until they get an error.
.. c:type:: media_entity_desc .. c:type:: media_entity_desc
.. tabularcolumns:: |p{1.5cm}|p{1.7cm}|p{1.6cm}|p{1.5cm}|p{11.2cm}| .. tabularcolumns:: |p{1.5cm}|p{1.7cm}|p{1.6cm}|p{1.5cm}|p{10.6cm}|
.. flat-table:: struct media_entity_desc .. flat-table:: struct media_entity_desc
:header-rows: 0 :header-rows: 0
......
...@@ -54,7 +54,7 @@ returned during the enumeration process. ...@@ -54,7 +54,7 @@ returned during the enumeration process.
.. c:type:: media_links_enum .. c:type:: media_links_enum
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct media_links_enum .. flat-table:: struct media_links_enum
:header-rows: 0 :header-rows: 0
...@@ -82,7 +82,7 @@ returned during the enumeration process. ...@@ -82,7 +82,7 @@ returned during the enumeration process.
.. c:type:: media_pad_desc .. c:type:: media_pad_desc
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct media_pad_desc .. flat-table:: struct media_pad_desc
:header-rows: 0 :header-rows: 0
...@@ -109,7 +109,7 @@ returned during the enumeration process. ...@@ -109,7 +109,7 @@ returned during the enumeration process.
.. c:type:: media_link_desc .. c:type:: media_link_desc
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct media_link_desc .. flat-table:: struct media_link_desc
:header-rows: 0 :header-rows: 0
......
...@@ -46,7 +46,7 @@ other values untouched. ...@@ -46,7 +46,7 @@ other values untouched.
If the ``topology_version`` remains the same, the ioctl should fill the If the ``topology_version`` remains the same, the ioctl should fill the
desired arrays with the media graph elements. desired arrays with the media graph elements.
.. tabularcolumns:: |p{1.6cm}|p{3.4cm}|p{12.5cm}| .. tabularcolumns:: |p{1.6cm}|p{3.4cm}|p{12.3cm}|
.. c:type:: media_v2_topology .. c:type:: media_v2_topology
...@@ -119,7 +119,7 @@ desired arrays with the media graph elements. ...@@ -119,7 +119,7 @@ desired arrays with the media graph elements.
converted to a 64-bits integer. It can be zero. if zero, the ioctl converted to a 64-bits integer. It can be zero. if zero, the ioctl
won't store the links. It will just update ``num_links`` won't store the links. It will just update ``num_links``
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}| .. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.5cm}|
.. c:type:: media_v2_entity .. c:type:: media_v2_entity
...@@ -156,7 +156,7 @@ desired arrays with the media graph elements. ...@@ -156,7 +156,7 @@ desired arrays with the media graph elements.
- Reserved for future extensions. Drivers and applications must set - Reserved for future extensions. Drivers and applications must set
this array to zero. this array to zero.
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}| .. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.5cm}|
.. c:type:: media_v2_interface .. c:type:: media_v2_interface
...@@ -189,7 +189,7 @@ desired arrays with the media graph elements. ...@@ -189,7 +189,7 @@ desired arrays with the media graph elements.
- Used only for device node interfaces. See - Used only for device node interfaces. See
:c:type:`media_v2_intf_devnode` for details. :c:type:`media_v2_intf_devnode` for details.
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}| .. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.5cm}|
.. c:type:: media_v2_intf_devnode .. c:type:: media_v2_intf_devnode
...@@ -206,7 +206,7 @@ desired arrays with the media graph elements. ...@@ -206,7 +206,7 @@ desired arrays with the media graph elements.
- ``minor`` - ``minor``
- Device node minor number. - Device node minor number.
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}| .. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.5cm}|
.. c:type:: media_v2_pad .. c:type:: media_v2_pad
...@@ -241,7 +241,7 @@ desired arrays with the media graph elements. ...@@ -241,7 +241,7 @@ desired arrays with the media graph elements.
- Reserved for future extensions. Drivers and applications must set - Reserved for future extensions. Drivers and applications must set
this array to zero. this array to zero.
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}| .. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.5cm}|
.. c:type:: media_v2_link .. c:type:: media_v2_link
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
Types and flags used to represent the media graph elements Types and flags used to represent the media graph elements
========================================================== ==========================================================
.. tabularcolumns:: |p{8.2cm}|p{10.3cm}| .. tabularcolumns:: |p{8.2cm}|p{9.3cm}|
.. _media-entity-functions: .. _media-entity-functions:
.. _MEDIA-ENT-F-UNKNOWN: .. _MEDIA-ENT-F-UNKNOWN:
...@@ -251,7 +251,7 @@ Types and flags used to represent the media graph elements ...@@ -251,7 +251,7 @@ Types and flags used to represent the media graph elements
- The entity represents a connector. - The entity represents a connector.
.. tabularcolumns:: |p{6.5cm}|p{6.0cm}|p{5.0cm}| .. tabularcolumns:: |p{6.5cm}|p{6.0cm}|p{4.8cm}|
.. _media-intf-type: .. _media-intf-type:
.. _MEDIA-INTF-T-DVB-FE: .. _MEDIA-INTF-T-DVB-FE:
......
...@@ -25,7 +25,7 @@ the remote via /dev/input/event devices. ...@@ -25,7 +25,7 @@ the remote via /dev/input/event devices.
.. _rc_standard_keymap: .. _rc_standard_keymap:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: IR default keymapping .. flat-table:: IR default keymapping
:header-rows: 0 :header-rows: 0
......
...@@ -157,7 +157,7 @@ of appropriately sized buffers for each use case). ...@@ -157,7 +157,7 @@ of appropriately sized buffers for each use case).
struct v4l2_buffer struct v4l2_buffer
================== ==================
.. tabularcolumns:: |p{2.8cm}|p{2.5cm}|p{1.6cm}|p{10.2cm}| .. tabularcolumns:: |p{2.9cm}|p{2.4cm}|p{12.0cm}|
.. cssclass:: longtable .. cssclass:: longtable
...@@ -314,7 +314,7 @@ struct v4l2_buffer ...@@ -314,7 +314,7 @@ struct v4l2_buffer
struct v4l2_plane struct v4l2_plane
================= =================
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{7.0cm}| .. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{10.3cm}|
.. cssclass:: longtable .. cssclass:: longtable
...@@ -389,7 +389,7 @@ enum v4l2_buf_type ...@@ -389,7 +389,7 @@ enum v4l2_buf_type
.. cssclass:: longtable .. cssclass:: longtable
.. tabularcolumns:: |p{7.8cm}|p{0.6cm}|p{9.1cm}| .. tabularcolumns:: |p{7.8cm}|p{0.6cm}|p{8.9cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -681,7 +681,7 @@ Buffer Flags ...@@ -681,7 +681,7 @@ Buffer Flags
enum v4l2_memory enum v4l2_memory
================ ================
.. tabularcolumns:: |p{5.0cm}|p{0.8cm}|p{11.7cm}| .. tabularcolumns:: |p{5.0cm}|p{0.8cm}|p{11.5cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -715,7 +715,7 @@ The :c:type:`v4l2_buffer_timecode` structure is designed to hold a ...@@ -715,7 +715,7 @@ The :c:type:`v4l2_buffer_timecode` structure is designed to hold a
struct v4l2_timecode struct v4l2_timecode
-------------------- --------------------
.. tabularcolumns:: |p{1.4cm}|p{2.8cm}|p{12.3cm}| .. tabularcolumns:: |p{1.4cm}|p{2.8cm}|p{13.1cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -751,8 +751,6 @@ struct v4l2_timecode ...@@ -751,8 +751,6 @@ struct v4l2_timecode
Timecode Types Timecode Types
-------------- --------------
.. tabularcolumns:: |p{5.6cm}|p{0.8cm}|p{11.1cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -780,7 +778,7 @@ Timecode Types ...@@ -780,7 +778,7 @@ Timecode Types
Timecode Flags Timecode Flags
-------------- --------------
.. tabularcolumns:: |p{6.6cm}|p{1.4cm}|p{9.5cm}| .. tabularcolumns:: |p{6.6cm}|p{1.4cm}|p{9.3cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
......
...@@ -200,7 +200,7 @@ Control IDs ...@@ -200,7 +200,7 @@ Control IDs
.. tabularcolumns:: |p{5.5cm}|p{12cm}| .. tabularcolumns:: |p{5.7cm}|p{11.8cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
......
...@@ -49,7 +49,7 @@ to 0. ...@@ -49,7 +49,7 @@ to 0.
.. c:type:: v4l2_meta_format .. c:type:: v4l2_meta_format
.. tabularcolumns:: |p{1.4cm}|p{2.2cm}|p{13.9cm}| .. tabularcolumns:: |p{1.4cm}|p{2.4cm}|p{13.5cm}|
.. flat-table:: struct v4l2_meta_format .. flat-table:: struct v4l2_meta_format
:header-rows: 0 :header-rows: 0
......
...@@ -97,7 +97,7 @@ VBI devices must implement both the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` and ...@@ -97,7 +97,7 @@ 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. and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does.
:ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` is optional. :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` is optional.
.. tabularcolumns:: |p{1.6cm}|p{4.2cm}|p{11.7cm}| .. tabularcolumns:: |p{1.6cm}|p{4.2cm}|p{11.5cm}|
.. c:type:: v4l2_vbi_format .. c:type:: v4l2_vbi_format
...@@ -180,7 +180,7 @@ and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does ...@@ -180,7 +180,7 @@ and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does
- This array is reserved for future extensions. Drivers and - This array is reserved for future extensions. Drivers and
applications must set it to zero. applications must set it to zero.
.. tabularcolumns:: |p{4.4cm}|p{1.5cm}|p{11.6cm}| .. tabularcolumns:: |p{4.4cm}|p{1.5cm}|p{11.4cm}|
.. _vbifmt-flags: .. _vbifmt-flags:
......
...@@ -91,8 +91,6 @@ RDS datastructures ...@@ -91,8 +91,6 @@ RDS datastructures
.. c:type:: v4l2_rds_data .. c:type:: v4l2_rds_data
.. tabularcolumns:: |p{2.5cm}|p{2.5cm}|p{12.5cm}|
.. flat-table:: struct v4l2_rds_data .. flat-table:: struct v4l2_rds_data
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -133,7 +131,7 @@ RDS datastructures ...@@ -133,7 +131,7 @@ RDS datastructures
.. _v4l2-rds-block-codes: .. _v4l2-rds-block-codes:
.. tabularcolumns:: |p{6.4cm}|p{2.0cm}|p{1.2cm}|p{7.9cm}| .. tabularcolumns:: |p{6.4cm}|p{2.0cm}|p{1.2cm}|p{7.0cm}|
.. flat-table:: Block defines .. flat-table:: Block defines
:header-rows: 0 :header-rows: 0
......
...@@ -80,7 +80,7 @@ data transfer, set by the driver in order to inform application. ...@@ -80,7 +80,7 @@ data transfer, set by the driver in order to inform application.
.. c:type:: v4l2_sdr_format .. c:type:: v4l2_sdr_format
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_sdr_format .. flat-table:: struct v4l2_sdr_format
:header-rows: 0 :header-rows: 0
......
...@@ -108,7 +108,7 @@ struct v4l2_sliced_vbi_format ...@@ -108,7 +108,7 @@ struct v4l2_sliced_vbi_format
\scriptsize \scriptsize
\setlength{\tabcolsep}{2pt} \setlength{\tabcolsep}{2pt}
.. tabularcolumns:: |p{.85cm}|p{3.3cm}|p{4.4cm}|p{4.4cm}|p{4.4cm}| .. tabularcolumns:: |p{.85cm}|p{3.3cm}|p{4.45cm}|p{4.45cm}|p{4.45cm}|
.. cssclass:: longtable .. cssclass:: longtable
...@@ -213,9 +213,9 @@ Sliced VBI services ...@@ -213,9 +213,9 @@ Sliced VBI services
.. raw:: latex .. raw:: latex
\scriptsize \footnotesize
.. tabularcolumns:: |p{4.1cm}|p{1.1cm}|p{2.4cm}|p{2.0cm}|p{7.3cm}| .. tabularcolumns:: |p{4.2cm}|p{1.1cm}|p{2.1cm}|p{2.0cm}|p{6.5cm}|
.. flat-table:: .. flat-table::
:header-rows: 1 :header-rows: 1
...@@ -307,7 +307,7 @@ struct :c:type:`v4l2_sliced_vbi_data` elements must be zero. ...@@ -307,7 +307,7 @@ struct :c:type:`v4l2_sliced_vbi_data` elements must be zero.
struct v4l2_sliced_vbi_data struct v4l2_sliced_vbi_data
--------------------------- ---------------------------
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{1.2cm}|p{2.2cm}|p{13.9cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -464,7 +464,7 @@ number). ...@@ -464,7 +464,7 @@ number).
struct v4l2_mpeg_vbi_fmt_ivtv struct v4l2_mpeg_vbi_fmt_ivtv
----------------------------- -----------------------------
.. tabularcolumns:: |p{1.0cm}|p{3.8cm}|p{1.0cm}|p{11.2cm}| .. tabularcolumns:: |p{4.2cm}|p{2.0cm}|p{11.1cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -499,7 +499,7 @@ struct v4l2_mpeg_vbi_fmt_ivtv ...@@ -499,7 +499,7 @@ struct v4l2_mpeg_vbi_fmt_ivtv
Magic Constants for struct v4l2_mpeg_vbi_fmt_ivtv magic field Magic Constants for struct v4l2_mpeg_vbi_fmt_ivtv magic field
------------------------------------------------------------- -------------------------------------------------------------
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. flat-table:: .. flat-table::
:header-rows: 1 :header-rows: 1
...@@ -528,7 +528,11 @@ Magic Constants for struct v4l2_mpeg_vbi_fmt_ivtv magic field ...@@ -528,7 +528,11 @@ 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{5.2cm}|p{2.4cm}|p{9.9cm}| .. raw:: latex
\footnotesize
.. tabularcolumns:: |p{4.6cm}|p{2.0cm}|p{10.7cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -569,13 +573,16 @@ structs v4l2_mpeg_vbi_itv0 and v4l2_mpeg_vbi_ITV0 ...@@ -569,13 +573,16 @@ structs v4l2_mpeg_vbi_itv0 and v4l2_mpeg_vbi_ITV0
one line of unspecified data that should be ignored by one line of unspecified data that should be ignored by
applications. applications.
.. raw:: latex
\normalsize
.. _v4l2-mpeg-vbi-itv0-1: .. _v4l2-mpeg-vbi-itv0-1:
struct v4l2_mpeg_vbi_ITV0 struct v4l2_mpeg_vbi_ITV0
------------------------- -------------------------
.. tabularcolumns:: |p{5.2cm}|p{2.4cm}|p{9.9cm}| .. tabularcolumns:: |p{5.2cm}|p{2.4cm}|p{9.7cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -596,7 +603,7 @@ struct v4l2_mpeg_vbi_ITV0 ...@@ -596,7 +603,7 @@ struct v4l2_mpeg_vbi_ITV0
struct v4l2_mpeg_vbi_itv0_line struct v4l2_mpeg_vbi_itv0_line
------------------------------ ------------------------------
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -618,7 +625,7 @@ struct v4l2_mpeg_vbi_itv0_line ...@@ -618,7 +625,7 @@ struct v4l2_mpeg_vbi_itv0_line
Line Identifiers for struct v4l2_mpeg_vbi_itv0_line id field Line Identifiers for struct v4l2_mpeg_vbi_itv0_line id field
------------------------------------------------------------ ------------------------------------------------------------
.. tabularcolumns:: |p{7.0cm}|p{1.8cm}|p{8.7cm}| .. tabularcolumns:: |p{7.0cm}|p{1.8cm}|p{8.5cm}|
.. flat-table:: .. flat-table::
:header-rows: 1 :header-rows: 1
......
...@@ -209,9 +209,11 @@ list entity names and pad numbers). ...@@ -209,9 +209,11 @@ list entity names and pad numbers).
.. raw:: latex .. raw:: latex
\begingroup
\scriptsize \scriptsize
\setlength{\tabcolsep}{2pt}
.. tabularcolumns:: |p{2.0cm}|p{2.3cm}|p{2.3cm}|p{2.3cm}|p{2.3cm}|p{2.3cm}|p{2.3cm}| .. tabularcolumns:: |p{2.0cm}|p{2.1cm}|p{2.1cm}|p{2.1cm}|p{2.1cm}|p{2.1cm}|p{2.1cm}|
.. _sample-pipeline-config: .. _sample-pipeline-config:
...@@ -298,7 +300,7 @@ list entity names and pad numbers). ...@@ -298,7 +300,7 @@ list entity names and pad numbers).
.. raw:: latex .. raw:: latex
\normalsize \endgroup
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
......
...@@ -72,7 +72,11 @@ and radio devices supporting a set of related functions like video ...@@ -72,7 +72,11 @@ and radio devices supporting a set of related functions like video
capturing, video overlay and VBI capturing. See :ref:`open` for an capturing, video overlay and VBI capturing. See :ref:`open` for an
introduction. introduction.
.. tabularcolumns:: |p{5.5cm}|p{6.5cm}|p{5.5cm} .. raw:: latex
\small
.. tabularcolumns:: |p{5.3cm}|p{6.7cm}|p{5.3cm}|
.. cssclass:: longtable .. cssclass:: longtable
...@@ -148,6 +152,10 @@ introduction. ...@@ -148,6 +152,10 @@ introduction.
- ``-`` - ``-``
- See above. - See above.
.. raw:: latex
\normalsize
The ``audios`` field was replaced by ``capabilities`` flag The ``audios`` field was replaced by ``capabilities`` flag
``V4L2_CAP_AUDIO``, indicating *if* the device has any audio inputs or ``V4L2_CAP_AUDIO``, indicating *if* the device has any audio inputs or
outputs. To determine their number applications can enumerate audio outputs. To determine their number applications can enumerate audio
......
...@@ -32,6 +32,7 @@ enum v4l2_exposure_auto_type - ...@@ -32,6 +32,7 @@ enum v4l2_exposure_auto_type -
should ignore such requests. Possible values are: should ignore such requests. Possible values are:
.. tabularcolumns:: |p{7.1cm}|p{10.4cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -81,7 +82,7 @@ enum v4l2_exposure_metering - ...@@ -81,7 +82,7 @@ enum v4l2_exposure_metering -
Determines how the camera measures the amount of light available for Determines how the camera measures the amount of light available for
the frame exposure. Possible values are: the frame exposure. Possible values are:
.. tabularcolumns:: |p{8.7cm}|p{8.8cm}| .. tabularcolumns:: |p{8.7cm}|p{8.7cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -173,7 +174,7 @@ enum v4l2_exposure_metering - ...@@ -173,7 +174,7 @@ enum v4l2_exposure_metering -
control may stop updates of the ``V4L2_CID_AUTO_FOCUS_STATUS`` control may stop updates of the ``V4L2_CID_AUTO_FOCUS_STATUS``
control value. control value.
.. tabularcolumns:: |p{6.7cm}|p{10.8cm}| .. tabularcolumns:: |p{6.8cm}|p{10.7cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -199,7 +200,7 @@ enum v4l2_exposure_metering - ...@@ -199,7 +200,7 @@ enum v4l2_exposure_metering -
enum v4l2_auto_focus_range - enum v4l2_auto_focus_range -
Determines auto focus distance range for which lens may be adjusted. Determines auto focus distance range for which lens may be adjusted.
.. tabularcolumns:: |p{6.8cm}|p{10.7cm}| .. tabularcolumns:: |p{6.9cm}|p{10.6cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -274,7 +275,7 @@ enum v4l2_auto_n_preset_white_balance - ...@@ -274,7 +275,7 @@ enum v4l2_auto_n_preset_white_balance -
representation. The following white balance presets are listed in representation. The following white balance presets are listed in
order of increasing color temperature. order of increasing color temperature.
.. tabularcolumns:: |p{7.2 cm}|p{10.3cm}| .. tabularcolumns:: |p{7.4cm}|p{10.1cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -384,7 +385,9 @@ enum v4l2_scene_mode - ...@@ -384,7 +385,9 @@ enum v4l2_scene_mode -
\small \small
.. tabularcolumns:: |p{5.9cm}|p{11.5cm}| .. tabularcolumns:: |p{5.9cm}|p{11.6cm}|
.. cssclass:: longtable
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -519,6 +522,7 @@ enum v4l2_scene_mode - ...@@ -519,6 +522,7 @@ enum v4l2_scene_mode -
have the ``V4L2_CAMERA_ORIENTATION_EXTERNAL`` orientation. have the ``V4L2_CAMERA_ORIENTATION_EXTERNAL`` orientation.
.. tabularcolumns:: |p{7.7cm}|p{9.8cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
......
...@@ -34,7 +34,11 @@ Stateless Codec Control ID ...@@ -34,7 +34,11 @@ Stateless Codec Control ID
.. c:type:: v4l2_ctrl_h264_sps .. c:type:: v4l2_ctrl_h264_sps
.. cssclass:: longtable .. raw:: latex
\small
.. tabularcolumns:: |p{1.2cm}|p{8.6cm}|p{7.5cm}|
.. flat-table:: struct v4l2_ctrl_h264_sps .. flat-table:: struct v4l2_ctrl_h264_sps
:header-rows: 0 :header-rows: 0
...@@ -96,6 +100,10 @@ Stateless Codec Control ID ...@@ -96,6 +100,10 @@ Stateless Codec Control ID
- ``flags`` - ``flags``
- See :ref:`Sequence Parameter Set Flags <h264_sps_flags>` - See :ref:`Sequence Parameter Set Flags <h264_sps_flags>`
.. raw:: latex
\normalsize
.. _h264_sps_constraints_set_flags: .. _h264_sps_constraints_set_flags:
``Sequence Parameter Set Constraints Set Flags`` ``Sequence Parameter Set Constraints Set Flags``
...@@ -171,7 +179,9 @@ Stateless Codec Control ID ...@@ -171,7 +179,9 @@ Stateless Codec Control ID
.. c:type:: v4l2_ctrl_h264_pps .. c:type:: v4l2_ctrl_h264_pps
.. cssclass:: longtable .. raw:: latex
\small
.. flat-table:: struct v4l2_ctrl_h264_pps .. flat-table:: struct v4l2_ctrl_h264_pps
:header-rows: 0 :header-rows: 0
...@@ -273,7 +283,11 @@ Stateless Codec Control ID ...@@ -273,7 +283,11 @@ Stateless Codec Control ID
.. c:type:: v4l2_ctrl_h264_scaling_matrix .. c:type:: v4l2_ctrl_h264_scaling_matrix
.. cssclass:: longtable .. raw:: latex
\small
.. tabularcolumns:: |p{0.6cm}|p{4.8cm}|p{11.9cm}|
.. flat-table:: struct v4l2_ctrl_h264_scaling_matrix .. flat-table:: struct v4l2_ctrl_h264_scaling_matrix
:header-rows: 0 :header-rows: 0
...@@ -304,7 +318,11 @@ Stateless Codec Control ID ...@@ -304,7 +318,11 @@ Stateless Codec Control ID
.. c:type:: v4l2_ctrl_h264_slice_params .. c:type:: v4l2_ctrl_h264_slice_params
.. cssclass:: longtable .. raw:: latex
\small
.. tabularcolumns:: |p{4.0cm}|p{5.9cm}|p{7.4cm}|
.. flat-table:: struct v4l2_ctrl_h264_slice_params .. flat-table:: struct v4l2_ctrl_h264_slice_params
:header-rows: 0 :header-rows: 0
...@@ -347,11 +365,11 @@ Stateless Codec Control ID ...@@ -347,11 +365,11 @@ Stateless Codec Control ID
* - __u8 * - __u8
- ``num_ref_idx_l0_active_minus1`` - ``num_ref_idx_l0_active_minus1``
- If num_ref_idx_active_override_flag is not set, this field must be - If num_ref_idx_active_override_flag is not set, this field must be
set to the value of num_ref_idx_l0_default_active_minus1. set to the value of num_ref_idx_l0_default_active_minus1
* - __u8 * - __u8
- ``num_ref_idx_l1_active_minus1`` - ``num_ref_idx_l1_active_minus1``
- If num_ref_idx_active_override_flag is not set, this field must be - If num_ref_idx_active_override_flag is not set, this field must be
set to the value of num_ref_idx_l1_default_active_minus1. set to the value of num_ref_idx_l1_default_active_minus1
* - __u8 * - __u8
- ``reserved`` - ``reserved``
- Applications and drivers must set this to zero. - Applications and drivers must set this to zero.
...@@ -365,6 +383,10 @@ Stateless Codec Control ID ...@@ -365,6 +383,10 @@ Stateless Codec Control ID
- ``flags`` - ``flags``
- See :ref:`Slice Parameter Flags <h264_slice_flags>` - See :ref:`Slice Parameter Flags <h264_slice_flags>`
.. raw:: latex
\normalsize
.. _h264_slice_flags: .. _h264_slice_flags:
``Slice Parameter Set Flags`` ``Slice Parameter Set Flags``
...@@ -392,7 +414,11 @@ Stateless Codec Control ID ...@@ -392,7 +414,11 @@ Stateless Codec Control ID
.. c:type:: v4l2_ctrl_h264_pred_weights .. c:type:: v4l2_ctrl_h264_pred_weights
.. cssclass:: longtable .. raw:: latex
\small
.. tabularcolumns:: |p{4.9cm}|p{4.9cm}|p{7.5cm}|
.. flat-table:: struct v4l2_ctrl_h264_pred_weights .. flat-table:: struct v4l2_ctrl_h264_pred_weights
:header-rows: 0 :header-rows: 0
...@@ -410,9 +436,17 @@ Stateless Codec Control ID ...@@ -410,9 +436,17 @@ Stateless Codec Control ID
- The weight factors at index 0 are the weight factors for the reference - The weight factors at index 0 are the weight factors for the reference
list 0, the one at index 1 for the reference list 1. list 0, the one at index 1 for the reference list 1.
.. raw:: latex
\normalsize
.. c:type:: v4l2_h264_weight_factors .. c:type:: v4l2_h264_weight_factors
.. cssclass:: longtable .. raw:: latex
\small
.. tabularcolumns:: |p{1.0cm}|p{4.5cm}|p{11.8cm}|
.. flat-table:: struct v4l2_h264_weight_factors .. flat-table:: struct v4l2_h264_weight_factors
:header-rows: 0 :header-rows: 0
...@@ -432,6 +466,10 @@ Stateless Codec Control ID ...@@ -432,6 +466,10 @@ Stateless Codec Control ID
- ``chroma_offset[32][2]`` - ``chroma_offset[32][2]``
- -
.. raw:: latex
\normalsize
``Picture Reference`` ``Picture Reference``
.. c:type:: v4l2_h264_reference .. c:type:: v4l2_h264_reference
...@@ -454,7 +492,11 @@ Stateless Codec Control ID ...@@ -454,7 +492,11 @@ Stateless Codec Control ID
``Reference Fields`` ``Reference Fields``
.. cssclass:: longtable .. raw:: latex
\small
.. tabularcolumns:: |p{5.4cm}|p{0.8cm}|p{11.1cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -472,6 +514,10 @@ Stateless Codec Control ID ...@@ -472,6 +514,10 @@ Stateless Codec Control ID
- The frame (or the top/bottom fields, if it's a field pair) - The frame (or the top/bottom fields, if it's a field pair)
is used for short-term reference. is used for short-term reference.
.. raw:: latex
\normalsize
``V4L2_CID_STATELESS_H264_DECODE_PARAMS (struct)`` ``V4L2_CID_STATELESS_H264_DECODE_PARAMS (struct)``
Specifies the decode parameters (as extracted from the bitstream) Specifies the decode parameters (as extracted from the bitstream)
for the associated H264 slice data. This includes the necessary for the associated H264 slice data. This includes the necessary
...@@ -483,7 +529,11 @@ Stateless Codec Control ID ...@@ -483,7 +529,11 @@ Stateless Codec Control ID
.. c:type:: v4l2_ctrl_h264_decode_params .. c:type:: v4l2_ctrl_h264_decode_params
.. cssclass:: longtable .. raw:: latex
\small
.. tabularcolumns:: |p{4.0cm}|p{5.9cm}|p{7.4cm}|
.. flat-table:: struct v4l2_ctrl_h264_decode_params .. flat-table:: struct v4l2_ctrl_h264_decode_params
:header-rows: 0 :header-rows: 0
...@@ -538,11 +588,19 @@ Stateless Codec Control ID ...@@ -538,11 +588,19 @@ Stateless Codec Control ID
- ``flags`` - ``flags``
- See :ref:`Decode Parameters Flags <h264_decode_params_flags>` - See :ref:`Decode Parameters Flags <h264_decode_params_flags>`
.. raw:: latex
\normalsize
.. _h264_decode_params_flags: .. _h264_decode_params_flags:
``Decode Parameters Flags`` ``Decode Parameters Flags``
.. cssclass:: longtable .. raw:: latex
\small
.. tabularcolumns:: |p{8.3cm}|p{2.1cm}|p{6.9cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -559,9 +617,17 @@ Stateless Codec Control ID ...@@ -559,9 +617,17 @@ Stateless Codec Control ID
- 0x00000004 - 0x00000004
- -
.. raw:: latex
\normalsize
.. c:type:: v4l2_h264_dpb_entry .. c:type:: v4l2_h264_dpb_entry
.. cssclass:: longtable .. raw:: latex
\small
.. tabularcolumns:: |p{1.0cm}|p{4.9cm}|p{11.4cm}|
.. flat-table:: struct v4l2_h264_dpb_entry .. flat-table:: struct v4l2_h264_dpb_entry
:header-rows: 0 :header-rows: 0
...@@ -597,11 +663,19 @@ Stateless Codec Control ID ...@@ -597,11 +663,19 @@ Stateless Codec Control ID
- ``flags`` - ``flags``
- See :ref:`DPB Entry Flags <h264_dpb_flags>` - See :ref:`DPB Entry Flags <h264_dpb_flags>`
.. raw:: latex
\normalsize
.. _h264_dpb_flags: .. _h264_dpb_flags:
``DPB Entries Flags`` ``DPB Entries Flags``
.. cssclass:: longtable .. raw:: latex
\small
.. tabularcolumns:: |p{7.7cm}|p{2.1cm}|p{7.5cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -621,6 +695,10 @@ Stateless Codec Control ID ...@@ -621,6 +695,10 @@ Stateless Codec Control ID
- 0x00000008 - 0x00000008
- The DPB entry is a single field or a complementary field pair. - The DPB entry is a single field or a complementary field pair.
.. raw:: latex
\normalsize
``V4L2_CID_STATELESS_H264_DECODE_MODE (enum)`` ``V4L2_CID_STATELESS_H264_DECODE_MODE (enum)``
Specifies the decoding mode to use. Currently exposes slice-based and Specifies the decoding mode to use. Currently exposes slice-based and
frame-based decoding but new modes might be added later on. frame-based decoding but new modes might be added later on.
...@@ -633,7 +711,11 @@ Stateless Codec Control ID ...@@ -633,7 +711,11 @@ Stateless Codec Control ID
.. c:type:: v4l2_stateless_h264_decode_mode .. c:type:: v4l2_stateless_h264_decode_mode
.. cssclass:: longtable .. raw:: latex
\scriptsize
.. tabularcolumns:: |p{7.4cm}|p{0.3cm}|p{9.6cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -658,6 +740,10 @@ Stateless Codec Control ID ...@@ -658,6 +740,10 @@ Stateless Codec Control ID
selected, the ``V4L2_CID_STATELESS_H264_SLICE_PARAMS`` selected, the ``V4L2_CID_STATELESS_H264_SLICE_PARAMS``
control shall not be set. control shall not be set.
.. raw:: latex
\normalsize
``V4L2_CID_STATELESS_H264_START_CODE (enum)`` ``V4L2_CID_STATELESS_H264_START_CODE (enum)``
Specifies the H264 slice start code expected for each slice. Specifies the H264 slice start code expected for each slice.
This control is used as a modifier for V4L2_PIX_FMT_H264_SLICE This control is used as a modifier for V4L2_PIX_FMT_H264_SLICE
...@@ -669,12 +755,16 @@ Stateless Codec Control ID ...@@ -669,12 +755,16 @@ Stateless Codec Control ID
.. c:type:: v4l2_stateless_h264_start_code .. c:type:: v4l2_stateless_h264_start_code
.. cssclass:: longtable .. raw:: latex
\small
.. tabularcolumns:: |p{7.9cm}|p{0.4cm}|p{9.0cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
:widths: 1 1 2 :widths: 4 1 4
* - ``V4L2_STATELESS_H264_START_CODE_NONE`` * - ``V4L2_STATELESS_H264_START_CODE_NONE``
- 0 - 0
...@@ -686,6 +776,9 @@ Stateless Codec Control ID ...@@ -686,6 +776,9 @@ Stateless Codec Control ID
to be prefixed by Annex B start codes. According to :ref:`h264` to be prefixed by Annex B start codes. According to :ref:`h264`
valid start codes can be 3-bytes 0x000001 or 4-bytes 0x00000001. valid start codes can be 3-bytes 0x000001 or 4-bytes 0x00000001.
.. raw:: latex
\normalsize
.. _codec-stateless-fwht: .. _codec-stateless-fwht:
...@@ -697,9 +790,11 @@ Stateless Codec Control ID ...@@ -697,9 +790,11 @@ Stateless Codec Control ID
.. c:type:: v4l2_ctrl_fwht_params .. c:type:: v4l2_ctrl_fwht_params
.. cssclass:: longtable .. raw:: latex
\small
.. tabularcolumns:: |p{1.4cm}|p{4.3cm}|p{11.8cm}| .. tabularcolumns:: |p{1.4cm}|p{3.9cm}|p{12.0cm}|
.. flat-table:: struct v4l2_ctrl_fwht_params .. flat-table:: struct v4l2_ctrl_fwht_params
:header-rows: 0 :header-rows: 0
...@@ -738,16 +833,20 @@ Stateless Codec Control ID ...@@ -738,16 +833,20 @@ Stateless Codec Control ID
- ``quantization`` - ``quantization``
- The quantization range, from enum :c:type:`v4l2_quantization`. - The quantization range, from enum :c:type:`v4l2_quantization`.
.. raw:: latex
\normalsize
.. _fwht-flags: .. _fwht-flags:
FWHT Flags FWHT Flags
========== ==========
.. cssclass:: longtable .. raw:: latex
\small
.. tabularcolumns:: |p{6.8cm}|p{2.4cm}|p{8.3cm}| .. tabularcolumns:: |p{7.0cm}|p{2.3cm}|p{8.0cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -805,3 +904,7 @@ FWHT Flags ...@@ -805,3 +904,7 @@ FWHT Flags
* - ``V4L2_FWHT_FL_PIXENC_HSV`` * - ``V4L2_FWHT_FL_PIXENC_HSV``
- 0x00180000 - 0x00180000
- Set if the pixel encoding is HSV. - Set if the pixel encoding is HSV.
.. raw:: latex
\normalsize
...@@ -99,7 +99,7 @@ enum v4l2_dv_it_content_type - ...@@ -99,7 +99,7 @@ enum v4l2_dv_it_content_type -
or an analog source. The enum v4l2_dv_it_content_type defines or an analog source. The enum v4l2_dv_it_content_type defines
the possible content types: the possible content types:
.. tabularcolumns:: |p{7.3cm}|p{10.4cm}| .. tabularcolumns:: |p{7.3cm}|p{10.2cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
......
...@@ -63,6 +63,7 @@ Flash Control IDs ...@@ -63,6 +63,7 @@ Flash Control IDs
presence of some faults. See V4L2_CID_FLASH_FAULT. presence of some faults. See V4L2_CID_FLASH_FAULT.
.. tabularcolumns:: |p{5.7cm}|p{11.8cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -73,14 +74,16 @@ Flash Control IDs ...@@ -73,14 +74,16 @@ Flash Control IDs
* - ``V4L2_FLASH_LED_MODE_FLASH`` * - ``V4L2_FLASH_LED_MODE_FLASH``
- Flash mode. - Flash mode.
* - ``V4L2_FLASH_LED_MODE_TORCH`` * - ``V4L2_FLASH_LED_MODE_TORCH``
- Torch mode. See V4L2_CID_FLASH_TORCH_INTENSITY. - Torch mode.
See V4L2_CID_FLASH_TORCH_INTENSITY.
``V4L2_CID_FLASH_STROBE_SOURCE (menu)`` ``V4L2_CID_FLASH_STROBE_SOURCE (menu)``
Defines the source of the flash LED strobe. Defines the source of the flash LED strobe.
.. tabularcolumns:: |p{7.5cm}|p{10.0cm}| .. tabularcolumns:: |p{7.5cm}|p{7.5cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
......
...@@ -62,7 +62,7 @@ enum v4l2_field ...@@ -62,7 +62,7 @@ enum v4l2_field
.. c:type:: v4l2_field .. c:type:: v4l2_field
.. tabularcolumns:: |p{5.8cm}|p{0.6cm}|p{11.1cm}| .. tabularcolumns:: |p{5.8cm}|p{0.6cm}|p{10.9cm}|
.. cssclass:: longtable .. cssclass:: longtable
......
...@@ -7,7 +7,13 @@ Compressed Formats ...@@ -7,7 +7,13 @@ Compressed Formats
.. _compressed-formats: .. _compressed-formats:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. raw:: latex
\small
.. tabularcolumns:: |p{5.8cm}|p{1.2cm}|p{10.3cm}|
.. cssclass:: longtable
.. flat-table:: Compressed Image Formats .. flat-table:: Compressed Image Formats
:header-rows: 1 :header-rows: 1
...@@ -220,3 +226,7 @@ Compressed Formats ...@@ -220,3 +226,7 @@ Compressed Formats
Metadata associated with the frame to decode is required to be passed Metadata associated with the frame to decode is required to be passed
through the ``V4L2_CID_STATELESS_FWHT_PARAMS`` control. through the ``V4L2_CID_STATELESS_FWHT_PARAMS`` control.
See the :ref:`associated Codec Control ID <codec-stateless-fwht>`. See the :ref:`associated Codec Control ID <codec-stateless-fwht>`.
.. raw:: latex
\normalsize
...@@ -36,10 +36,10 @@ Cb\ :sub:`5-0` Cr\ :sub:`4-0`], and stored in memory in two bytes, ...@@ -36,10 +36,10 @@ Cb\ :sub:`5-0` Cr\ :sub:`4-0`], and stored in memory in two bytes,
.. raw:: latex .. raw:: latex
\begingroup \begingroup
\tiny \scriptsize
\setlength{\tabcolsep}{2pt} \setlength{\tabcolsep}{2pt}
.. tabularcolumns:: |p{2.5cm}|p{0.69cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}| .. tabularcolumns:: |p{3.5cm}|p{0.96cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|
.. flat-table:: Packed YUV 4:4:4 Image Formats (less than 8bpc) .. flat-table:: Packed YUV 4:4:4 Image Formats (less than 8bpc)
:header-rows: 2 :header-rows: 2
...@@ -234,6 +234,12 @@ the second byte and Y'\ :sub:`7-0` in the third byte. ...@@ -234,6 +234,12 @@ the second byte and Y'\ :sub:`7-0` in the third byte.
These formats, commonly referred to as YUYV or YUY2, subsample the chroma These formats, commonly referred to as YUYV or YUY2, subsample the chroma
components horizontally by 2, storing 2 pixels in 4 bytes. components horizontally by 2, storing 2 pixels in 4 bytes.
.. raw:: latex
\footnotesize
.. tabularcolumns:: |p{3.4cm}|p{1.2cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|
.. flat-table:: Packed YUV 4:2:2 Formats .. flat-table:: Packed YUV 4:2:2 Formats
:header-rows: 1 :header-rows: 1
:stub-columns: 0 :stub-columns: 0
...@@ -301,6 +307,10 @@ components horizontally by 2, storing 2 pixels in 4 bytes. ...@@ -301,6 +307,10 @@ components horizontally by 2, storing 2 pixels in 4 bytes.
- Y'\ :sub:`3` - Y'\ :sub:`3`
- Cb\ :sub:`2` - Cb\ :sub:`2`
.. raw:: latex
\normalsize
**Color Sample Location:** **Color Sample Location:**
Chroma samples are :ref:`interstitially sited<yuv-chroma-centered>` Chroma samples are :ref:`interstitially sited<yuv-chroma-centered>`
horizontally. horizontally.
...@@ -312,6 +322,12 @@ horizontally. ...@@ -312,6 +322,12 @@ horizontally.
This format subsamples the chroma components horizontally by 4, storing 8 This format subsamples the chroma components horizontally by 4, storing 8
pixels in 12 bytes. pixels in 12 bytes.
.. raw:: latex
\scriptsize
.. tabularcolumns:: |p{2.9cm}|p{0.8cm}|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}|
.. flat-table:: Packed YUV 4:1:1 Formats .. flat-table:: Packed YUV 4:1:1 Formats
:header-rows: 1 :header-rows: 1
:stub-columns: 0 :stub-columns: 0
...@@ -348,11 +364,15 @@ pixels in 12 bytes. ...@@ -348,11 +364,15 @@ pixels in 12 bytes.
- Y'\ :sub:`6` - Y'\ :sub:`6`
- Y'\ :sub:`7` - Y'\ :sub:`7`
.. raw:: latex
\normalsize
.. note:: .. note::
Do not confuse ``V4L2_PIX_FMT_Y41P`` with Do not confuse ``V4L2_PIX_FMT_Y41P`` with
:ref:`V4L2_PIX_FMT_YUV411P <V4L2-PIX-FMT-YUV411P>`. Y41P is derived from :ref:`V4L2_PIX_FMT_YUV411P <V4L2-PIX-FMT-YUV411P>`. Y41P is derived from
"YUV 4:1:1 *packed*", while YUV411P stands for "YUV 4:1:1 *planar*". "YUV 4:1:1 **packed**", while YUV411P stands for "YUV 4:1:1 **planar**".
**Color Sample Location:** **Color Sample Location:**
Chroma samples are :ref:`interstitially sited<yuv-chroma-centered>` Chroma samples are :ref:`interstitially sited<yuv-chroma-centered>`
......
...@@ -17,10 +17,14 @@ you think your format should be listed in a standard format section ...@@ -17,10 +17,14 @@ you think your format should be listed in a standard format section
please make a proposal on the linux-media mailing list. please make a proposal on the linux-media mailing list.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _reserved-formats: .. _reserved-formats:
.. raw:: latex
\small
.. flat-table:: Reserved Image Formats .. flat-table:: Reserved Image Formats
:header-rows: 1 :header-rows: 1
:stub-columns: 0 :stub-columns: 0
...@@ -256,3 +260,7 @@ please make a proposal on the linux-media mailing list. ...@@ -256,3 +260,7 @@ please make a proposal on the linux-media mailing list.
of tiles, resulting in 32-aligned resolutions for the luminance plane of tiles, resulting in 32-aligned resolutions for the luminance plane
and 16-aligned resolutions for the chrominance plane (with 2x2 and 16-aligned resolutions for the chrominance plane (with 2x2
subsampling). subsampling).
.. raw:: latex
\normalsize
...@@ -655,12 +655,7 @@ nomenclature that instead use the order of components as seen in a 24- or ...@@ -655,12 +655,7 @@ nomenclature that instead use the order of components as seen in a 24- or
.. raw:: latex .. raw:: latex
\begingroup \small
\tiny
\setlength{\tabcolsep}{2pt}
.. tabularcolumns:: |p{2.8cm}|p{2.0cm}|p{2.0cm}|p{2.0cm}|p{2.0cm}|p{2.0cm}|p{2.0cm}|p{2.0cm}|
.. flat-table:: RGB Formats With 8 Bits Per Component .. flat-table:: RGB Formats With 8 Bits Per Component
:header-rows: 1 :header-rows: 1
...@@ -765,7 +760,7 @@ nomenclature that instead use the order of components as seen in a 24- or ...@@ -765,7 +760,7 @@ nomenclature that instead use the order of components as seen in a 24- or
.. raw:: latex .. raw:: latex
\endgroup \normalsize
Deprecated RGB Formats Deprecated RGB Formats
......
...@@ -27,7 +27,11 @@ Below is an example of a small image in V4L2_PIX_FMT_IPU3_SBGGR10 format. ...@@ -27,7 +27,11 @@ Below is an example of a small image in V4L2_PIX_FMT_IPU3_SBGGR10 format.
**Byte Order.** **Byte Order.**
Each cell is one byte. Each cell is one byte.
.. tabularcolumns:: |p{0.8cm}|p{4.0cm}|p{4.0cm}|p{4.0cm}|p{4.0cm}| .. raw:: latex
\small
.. tabularcolumns:: |p{0.8cm}|p{3.3cm}|p{3.3cm}|p{3.3cm}|p{3.3cm}|
.. flat-table:: .. flat-table::
...@@ -335,3 +339,7 @@ Each cell is one byte. ...@@ -335,3 +339,7 @@ Each cell is one byte.
- R\ :sub:`0323high` - R\ :sub:`0323high`
- G\ :sub:`0324low` - G\ :sub:`0324low`
- G\ :sub:`0324high`\ (bits 1--0) - G\ :sub:`0324high`\ (bits 1--0)
.. raw:: latex
\normalsize
...@@ -33,7 +33,7 @@ of a small V4L2_PIX_FMT_SBGGR10P image: ...@@ -33,7 +33,7 @@ of a small V4L2_PIX_FMT_SBGGR10P image:
**Byte Order.** **Byte Order.**
Each cell is one byte. Each cell is one byte.
.. tabularcolumns:: |p{2.4cm}|p{1.4cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{6.4cm}| .. tabularcolumns:: |p{2.4cm}|p{1.4cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{9.3cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
......
...@@ -31,7 +31,7 @@ Below is an example of a small V4L2_PIX_FMT_SBGGR12P image: ...@@ -31,7 +31,7 @@ Below is an example of a small V4L2_PIX_FMT_SBGGR12P image:
**Byte Order.** **Byte Order.**
Each cell is one byte. Each cell is one byte.
.. tabularcolumns:: |p{2.2cm}|p{1.2cm}|p{1.2cm}|p{3.1cm}|p{1.2cm}|p{1.2cm}|p{3.1cm}| .. tabularcolumns:: |p{2.2cm}|p{1.2cm}|p{1.2cm}|p{3.1cm}|p{1.2cm}|p{1.2cm}|p{6.4cm}|
.. flat-table:: .. flat-table::
......
...@@ -36,9 +36,11 @@ Each cell is one byte. ...@@ -36,9 +36,11 @@ Each cell is one byte.
.. raw:: latex .. raw:: latex
\begingroup
\footnotesize \footnotesize
\setlength{\tabcolsep}{2pt}
.. tabularcolumns:: |p{1.8cm}|p{1.0cm}|p{1.0cm}|p{1.0cm}|p{1.1cm}|p{3.3cm}|p{3.3cm}|p{3.3cm}| .. tabularcolumns:: |p{1.6cm}|p{1.0cm}|p{1.0cm}|p{1.0cm}|p{1.0cm}|p{3.5cm}|p{3.5cm}|p{3.5cm}|
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
...@@ -141,5 +143,5 @@ Each cell is one byte. ...@@ -141,5 +143,5 @@ Each cell is one byte.
.. raw:: latex .. raw:: latex
\normalsize \endgroup
...@@ -13,7 +13,7 @@ describing all planes of that format. ...@@ -13,7 +13,7 @@ describing all planes of that format.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{1.4cm}|p{4.0cm}|p{11.9cm}|
.. c:type:: v4l2_plane_pix_format .. c:type:: v4l2_plane_pix_format
...@@ -52,7 +52,7 @@ describing all planes of that format. ...@@ -52,7 +52,7 @@ describing all planes of that format.
\small \small
.. tabularcolumns:: |p{4.4cm}|p{5.6cm}|p{7.5cm}| .. tabularcolumns:: |p{4.4cm}|p{5.6cm}|p{7.3cm}|
.. c:type:: v4l2_pix_format_mplane .. c:type:: v4l2_pix_format_mplane
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
Single-planar format structure Single-planar format structure
****************************** ******************************
.. tabularcolumns:: |p{4.0cm}|p{2.5cm}|p{11.0cm}| .. tabularcolumns:: |p{4.0cm}|p{2.6cm}|p{10.7cm}|
.. c:type:: v4l2_pix_format .. c:type:: v4l2_pix_format
...@@ -205,7 +205,7 @@ Single-planar format structure ...@@ -205,7 +205,7 @@ Single-planar format structure
the flag V4L2_FMT_FLAG_CSC_XFER_FUNC in the corresponding struct the flag V4L2_FMT_FLAG_CSC_XFER_FUNC in the corresponding struct
:c:type:`v4l2_fmtdesc` during enumeration. See :ref:`fmtdesc-flags`. :c:type:`v4l2_fmtdesc` during enumeration. See :ref:`fmtdesc-flags`.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.8cm}|p{2.3cm}|p{8.2cm}|
.. _format-flags: .. _format-flags:
......
...@@ -19,6 +19,12 @@ are often referred to as greyscale formats. ...@@ -19,6 +19,12 @@ are often referred to as greyscale formats.
- `0` denotes padding bits set to 0. - `0` denotes padding bits set to 0.
.. raw:: latex
\scriptsize
.. tabularcolumns:: |p{3.6cm}|p{3.0cm}|p{1.3cm}|p{2.6cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|
.. flat-table:: Luma-Only Image Formats .. flat-table:: Luma-Only Image Formats
:header-rows: 1 :header-rows: 1
:stub-columns: 0 :stub-columns: 0
...@@ -119,6 +125,10 @@ are often referred to as greyscale formats. ...@@ -119,6 +125,10 @@ are often referred to as greyscale formats.
- ... - ...
- ... - ...
.. raw:: latex
\normalsize
.. note:: .. note::
For the Y16 and Y16_BE formats, the actual sampling precision may be lower For the Y16 and Y16_BE formats, the actual sampling precision may be lower
......
...@@ -5,10 +5,12 @@ ...@@ -5,10 +5,12 @@
Media Bus Formats Media Bus Formats
================= =================
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. c:type:: v4l2_mbus_framefmt .. c:type:: v4l2_mbus_framefmt
.. tabularcolumns:: |p{2.0cm}|p{4.0cm}|p{11.3cm}|
.. cssclass:: longtable
.. flat-table:: struct v4l2_mbus_framefmt .. flat-table:: struct v4l2_mbus_framefmt
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -113,6 +115,8 @@ Media Bus Formats ...@@ -113,6 +115,8 @@ Media Bus Formats
.. _v4l2-mbus-framefmt-flags: .. _v4l2-mbus-framefmt-flags:
.. tabularcolumns:: |p{6.5cm}|p{1.6cm}|p{9.2cm}|
.. flat-table:: v4l2_mbus_framefmt Flags .. flat-table:: v4l2_mbus_framefmt Flags
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -204,7 +208,7 @@ The following tables list existing packed RGB formats. ...@@ -204,7 +208,7 @@ The following tables list existing packed RGB formats.
.. it switches to long table, and there's no way to override it. .. it switches to long table, and there's no way to override it.
.. tabularcolumns:: |p{4.0cm}|p{0.7cm}|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}| .. tabularcolumns:: |p{5.0cm}|p{0.7cm}|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-rgb: .. _v4l2-mbus-pixelcode-rgb:
...@@ -1890,7 +1894,7 @@ JEIDA defined bit mapping will be named ...@@ -1890,7 +1894,7 @@ JEIDA defined bit mapping will be named
.. raw:: latex .. raw:: latex
\tiny \small
.. _v4l2-mbus-pixelcode-rgb-lvds: .. _v4l2-mbus-pixelcode-rgb-lvds:
...@@ -2152,7 +2156,7 @@ organization is given as an example for the first pixel only. ...@@ -2152,7 +2156,7 @@ organization is given as an example for the first pixel only.
\tiny \tiny
\setlength{\tabcolsep}{2pt} \setlength{\tabcolsep}{2pt}
.. tabularcolumns:: |p{4.0cm}|p{0.7cm}|p{0.3cm}|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}| .. tabularcolumns:: |p{6.0cm}|p{0.7cm}|p{0.3cm}|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-bayer: .. _v4l2-mbus-pixelcode-bayer:
...@@ -3005,7 +3009,7 @@ the following codes. ...@@ -3005,7 +3009,7 @@ the following codes.
\tiny \tiny
\setlength{\tabcolsep}{2pt} \setlength{\tabcolsep}{2pt}
.. tabularcolumns:: |p{4.0cm}|p{0.7cm}|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}| .. tabularcolumns:: |p{5.0cm}|p{0.7cm}|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-yuv8: .. _v4l2-mbus-pixelcode-yuv8:
...@@ -7210,7 +7214,7 @@ The following table list existing packed 36bit wide YUV formats. ...@@ -7210,7 +7214,7 @@ The following table list existing packed 36bit wide YUV formats.
\tiny \tiny
\setlength{\tabcolsep}{2pt} \setlength{\tabcolsep}{2pt}
.. tabularcolumns:: |p{4.0cm}|p{0.7cm}|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}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}| .. tabularcolumns:: |p{4.1cm}|p{0.7cm}|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}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
.. _v4l2-mbus-pixelcode-yuv8-36bit: .. _v4l2-mbus-pixelcode-yuv8-36bit:
...@@ -7398,7 +7402,7 @@ The following table list existing packed 48bit wide YUV formats. ...@@ -7398,7 +7402,7 @@ The following table list existing packed 48bit wide YUV formats.
\tiny \tiny
\setlength{\tabcolsep}{2pt} \setlength{\tabcolsep}{2pt}
.. tabularcolumns:: |p{4.0cm}|p{0.7cm}|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}| .. tabularcolumns:: |p{5.6cm}|p{0.7cm}|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-yuv8-48bit: .. _v4l2-mbus-pixelcode-yuv8-48bit:
...@@ -7851,7 +7855,7 @@ The following table lists existing JPEG compressed formats. ...@@ -7851,7 +7855,7 @@ The following table lists existing JPEG compressed formats.
.. _v4l2-mbus-pixelcode-jpeg: .. _v4l2-mbus-pixelcode-jpeg:
.. tabularcolumns:: |p{6.0cm}|p{1.4cm}|p{10.1cm}| .. tabularcolumns:: |p{6.0cm}|p{1.4cm}|p{9.9cm}|
.. flat-table:: JPEG Formats .. flat-table:: JPEG Formats
:header-rows: 1 :header-rows: 1
...@@ -7884,7 +7888,7 @@ formats. ...@@ -7884,7 +7888,7 @@ formats.
.. _v4l2-mbus-pixelcode-vendor-specific: .. _v4l2-mbus-pixelcode-vendor-specific:
.. tabularcolumns:: |p{8.0cm}|p{1.4cm}|p{7.7cm}| .. tabularcolumns:: |p{8.0cm}|p{1.4cm}|p{7.9cm}|
.. flat-table:: Vendor and device specific formats .. flat-table:: Vendor and device specific formats
:header-rows: 1 :header-rows: 1
...@@ -7909,7 +7913,7 @@ This section lists all metadata formats. ...@@ -7909,7 +7913,7 @@ This section lists all metadata formats.
The following table lists the existing metadata formats. The following table lists the existing metadata formats.
.. tabularcolumns:: |p{8.0cm}|p{1.4cm}|p{7.7cm}| .. tabularcolumns:: |p{8.0cm}|p{1.4cm}|p{7.9cm}|
.. flat-table:: Metadata formats .. flat-table:: Metadata formats
:header-rows: 1 :header-rows: 1
......
...@@ -6,10 +6,16 @@ ...@@ -6,10 +6,16 @@
Selection flags Selection flags
*************** ***************
.. tabularcolumns:: |p{5.2cm}|p{2.0cm}|p{6.5cm}|p{1.2cm}|p{1.6cm}|
.. _v4l2-selection-flags-table: .. _v4l2-selection-flags-table:
.. raw:: latex
\small
.. tabularcolumns:: |p{5.6cm}|p{2.0cm}|p{6.5cm}|p{1.2cm}|p{1.2cm}|
.. cssclass:: longtable
.. flat-table:: Selection flag definitions .. flat-table:: Selection flag definitions
:header-rows: 1 :header-rows: 1
:stub-columns: 0 :stub-columns: 0
...@@ -42,3 +48,7 @@ Selection flags ...@@ -42,3 +48,7 @@ Selection flags
inside the subdevice to all further processing steps. inside the subdevice to all further processing steps.
- No - No
- Yes - Yes
.. raw:: latex
\normalsize
...@@ -12,7 +12,13 @@ of the two interfaces they are used. ...@@ -12,7 +12,13 @@ of the two interfaces they are used.
.. _v4l2-selection-targets-table: .. _v4l2-selection-targets-table:
.. tabularcolumns:: |p{6.0cm}|p{1.4cm}|p{7.4cm}|p{1.2cm}|p{1.4cm}| .. raw:: latex
\small
.. tabularcolumns:: |p{6.2cm}|p{1.4cm}|p{7.3cm}|p{1.2cm}|p{0.8cm}|
.. cssclass:: longtable
.. flat-table:: Selection target definitions .. flat-table:: Selection target definitions
:header-rows: 1 :header-rows: 1
...@@ -69,3 +75,7 @@ of the two interfaces they are used. ...@@ -69,3 +75,7 @@ of the two interfaces they are used.
modified by hardware. modified by hardware.
- Yes - Yes
- No - No
.. raw:: latex
\normalsize
...@@ -72,7 +72,7 @@ than the number requested. ...@@ -72,7 +72,7 @@ than the number requested.
.. c:type:: v4l2_create_buffers .. c:type:: v4l2_create_buffers
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_create_buffers .. flat-table:: struct v4l2_create_buffers
:header-rows: 0 :header-rows: 0
......
...@@ -45,7 +45,7 @@ overlay devices. ...@@ -45,7 +45,7 @@ overlay devices.
.. c:type:: v4l2_cropcap .. c:type:: v4l2_cropcap
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_cropcap .. flat-table:: struct v4l2_cropcap
:header-rows: 0 :header-rows: 0
...@@ -96,7 +96,7 @@ overlay devices. ...@@ -96,7 +96,7 @@ overlay devices.
.. _v4l2-rect-crop: .. _v4l2-rect-crop:
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_rect .. flat-table:: struct v4l2_rect
:header-rows: 0 :header-rows: 0
......
...@@ -75,7 +75,7 @@ is available from the LinuxTV v4l-dvb repository; see ...@@ -75,7 +75,7 @@ is available from the LinuxTV v4l-dvb repository; see
`https://linuxtv.org/repo/ <https://linuxtv.org/repo/>`__ for access `https://linuxtv.org/repo/ <https://linuxtv.org/repo/>`__ for access
instructions. instructions.
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{7.0cm}| .. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{6.6cm}|
.. _name-v4l2-dbg-match: .. _name-v4l2-dbg-match:
...@@ -101,7 +101,7 @@ instructions. ...@@ -101,7 +101,7 @@ instructions.
- -
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_dbg_chip_info .. c:type:: v4l2_dbg_chip_info
...@@ -127,7 +127,7 @@ instructions. ...@@ -127,7 +127,7 @@ instructions.
- Reserved fields, both application and driver must set these to 0. - Reserved fields, both application and driver must set these to 0.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _name-chip-match-types: .. _name-chip-match-types:
......
...@@ -85,7 +85,7 @@ It is available from the LinuxTV v4l-dvb repository; see ...@@ -85,7 +85,7 @@ It is available from the LinuxTV v4l-dvb repository; see
`https://linuxtv.org/repo/ <https://linuxtv.org/repo/>`__ for access `https://linuxtv.org/repo/ <https://linuxtv.org/repo/>`__ for access
instructions. instructions.
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{7.0cm}| .. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{6.6cm}|
.. c:type:: v4l2_dbg_match .. c:type:: v4l2_dbg_match
...@@ -131,7 +131,7 @@ instructions. ...@@ -131,7 +131,7 @@ instructions.
- The value read from, or to be written into the register. - The value read from, or to be written into the register.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _chip-match-types: .. _chip-match-types:
......
...@@ -59,7 +59,7 @@ In principle, these ioctls are optional, not all drivers may support them. They ...@@ -59,7 +59,7 @@ In principle, these ioctls are optional, not all drivers may support them. They
introduced in Linux 3.3. They are, however, mandatory for stateful mem2mem decoders introduced in Linux 3.3. They are, however, mandatory for stateful mem2mem decoders
(as further documented in :ref:`decoder`). (as further documented in :ref:`decoder`).
.. tabularcolumns:: |p{1.1cm}|p{2.4cm}|p{1.2cm}|p{1.6cm}|p{10.6cm}| .. tabularcolumns:: |p{2.0cm}|p{1.1cm}|p{2.2cm}|p{11.8cm}|
.. c:type:: v4l2_decoder_cmd .. c:type:: v4l2_decoder_cmd
...@@ -129,10 +129,12 @@ introduced in Linux 3.3. They are, however, mandatory for stateful mem2mem decod ...@@ -129,10 +129,12 @@ introduced in Linux 3.3. They are, however, mandatory for stateful mem2mem decod
- -
.. tabularcolumns:: |p{5.6cm}|p{0.6cm}|p{11.3cm}|
.. _decoder-cmds: .. _decoder-cmds:
.. tabularcolumns:: |p{5.6cm}|p{0.6cm}|p{11.1cm}|
.. cssclass:: longtable
.. flat-table:: Decoder Commands .. flat-table:: Decoder Commands
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -37,11 +37,10 @@ structure are filled by the driver. The file handle will also receive ...@@ -37,11 +37,10 @@ structure are filled by the driver. The file handle will also receive
exceptions which the application may get by e.g. using the select system exceptions which the application may get by e.g. using the select system
call. call.
.. tabularcolumns:: |p{3.0cm}|p{4.4cm}|p{2.4cm}|p{7.7cm}|
.. c:type:: v4l2_event .. c:type:: v4l2_event
.. cssclass: longtable .. tabularcolumns:: |p{3.0cm}|p{3.4cm}|p{10.9cm}|
.. flat-table:: struct v4l2_event .. flat-table:: struct v4l2_event
:header-rows: 0 :header-rows: 0
...@@ -98,7 +97,7 @@ call. ...@@ -98,7 +97,7 @@ call.
zero. zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.2cm}|p{2.6cm}|p{8.5cm}|
.. cssclass:: longtable .. cssclass:: longtable
...@@ -188,7 +187,7 @@ call. ...@@ -188,7 +187,7 @@ call.
- Base event number for driver-private events. - Base event number for driver-private events.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_event_vsync .. c:type:: v4l2_event_vsync
...@@ -202,7 +201,7 @@ call. ...@@ -202,7 +201,7 @@ call.
- The upcoming field. See enum :c:type:`v4l2_field`. - The upcoming field. See enum :c:type:`v4l2_field`.
.. tabularcolumns:: |p{3.5cm}|p{3.0cm}|p{1.8cm}|p{8.5cm}| .. tabularcolumns:: |p{3.5cm}|p{3.0cm}|p{10.8cm}|
.. c:type:: v4l2_event_ctrl .. c:type:: v4l2_event_ctrl
...@@ -252,7 +251,7 @@ call. ...@@ -252,7 +251,7 @@ call.
:ref:`v4l2_queryctrl <v4l2-queryctrl>`. :ref:`v4l2_queryctrl <v4l2-queryctrl>`.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_event_frame_sync .. c:type:: v4l2_event_frame_sync
...@@ -266,7 +265,7 @@ call. ...@@ -266,7 +265,7 @@ call.
- The sequence number of the frame being received. - The sequence number of the frame being received.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_event_src_change .. c:type:: v4l2_event_src_change
...@@ -281,7 +280,7 @@ call. ...@@ -281,7 +280,7 @@ call.
:ref:`src-changes-flags`. :ref:`src-changes-flags`.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_event_motion_det .. c:type:: v4l2_event_motion_det
...@@ -310,7 +309,7 @@ call. ...@@ -310,7 +309,7 @@ call.
automatically assigned to the default region 0. automatically assigned to the default region 0.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _ctrl-changes-flags: .. _ctrl-changes-flags:
...@@ -335,7 +334,7 @@ call. ...@@ -335,7 +334,7 @@ call.
step or the default value of the control changed. step or the default value of the control changed.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _src-changes-flags: .. _src-changes-flags:
......
...@@ -55,7 +55,7 @@ the desired pad number in the struct ...@@ -55,7 +55,7 @@ the desired pad number in the struct
zero the ``reserved`` array. Attempts to query capabilities on a pad zero the ``reserved`` array. Attempts to query capabilities on a pad
that doesn't support them will return an ``EINVAL`` error code. that doesn't support them will return an ``EINVAL`` error code.
.. tabularcolumns:: |p{1.2cm}|p{3.0cm}|p{13.3cm}| .. tabularcolumns:: |p{1.2cm}|p{3.2cm}|p{12.9cm}|
.. c:type:: v4l2_bt_timings_cap .. c:type:: v4l2_bt_timings_cap
...@@ -96,7 +96,7 @@ that doesn't support them will return an ``EINVAL`` error code. ...@@ -96,7 +96,7 @@ that doesn't support them will return an ``EINVAL`` error code.
Drivers must set the array to zero. Drivers must set the array to zero.
.. tabularcolumns:: |p{1.0cm}|p{4.0cm}|p{3.5cm}|p{9.2cm}| .. tabularcolumns:: |p{4.4cm}|p{3.6cm}|p{9.3cm}|
.. c:type:: v4l2_dv_timings_cap .. c:type:: v4l2_dv_timings_cap
...@@ -128,7 +128,7 @@ that doesn't support them will return an ``EINVAL`` error code. ...@@ -128,7 +128,7 @@ that doesn't support them will return an ``EINVAL`` error code.
* - } * - }
- -
.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| .. tabularcolumns:: |p{7.2cm}|p{10.3cm}|
.. _dv-bt-cap-capabilities: .. _dv-bt-cap-capabilities:
......
...@@ -66,7 +66,7 @@ These ioctls are optional, not all drivers may support them. They were ...@@ -66,7 +66,7 @@ These ioctls are optional, not all drivers may support them. They were
introduced in Linux 2.6.21. They are, however, mandatory for stateful mem2mem introduced in Linux 2.6.21. They are, however, mandatory for stateful mem2mem
encoders (as further documented in :ref:`encoder`). encoders (as further documented in :ref:`encoder`).
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_encoder_cmd .. c:type:: v4l2_encoder_cmd
...@@ -89,7 +89,7 @@ encoders (as further documented in :ref:`encoder`). ...@@ -89,7 +89,7 @@ encoders (as further documented in :ref:`encoder`).
the array to zero. the array to zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _encoder-cmds: .. _encoder-cmds:
...@@ -133,7 +133,7 @@ encoders (as further documented in :ref:`encoder`). ...@@ -133,7 +133,7 @@ encoders (as further documented in :ref:`encoder`).
the encoder is already running, this command does nothing. No the encoder is already running, this command does nothing. No
flags are defined for this command. flags are defined for this command.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _encoder-flags: .. _encoder-flags:
......
...@@ -67,7 +67,7 @@ return an ``EINVAL`` error code. ...@@ -67,7 +67,7 @@ return an ``EINVAL`` error code.
.. c:type:: v4l2_enum_dv_timings .. c:type:: v4l2_enum_dv_timings
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_enum_dv_timings .. flat-table:: struct v4l2_enum_dv_timings
:header-rows: 0 :header-rows: 0
......
...@@ -71,10 +71,12 @@ the ``mbus_code`` field is handled differently: ...@@ -71,10 +71,12 @@ the ``mbus_code`` field is handled differently:
formats shall not depend on the active configuration of the video device formats shall not depend on the active configuration of the video device
or device pipeline. or device pipeline.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. c:type:: v4l2_fmtdesc .. c:type:: v4l2_fmtdesc
.. cssclass:: longtable
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_fmtdesc .. flat-table:: struct v4l2_fmtdesc
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -135,7 +137,9 @@ the ``mbus_code`` field is handled differently: ...@@ -135,7 +137,9 @@ the ``mbus_code`` field is handled differently:
zero. zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{8.4cm}|p{1.8cm}|p{7.1cm}|
.. cssclass:: longtable
.. _fmtdesc-flags: .. _fmtdesc-flags:
......
...@@ -99,8 +99,6 @@ application should zero out all members except for the *IN* fields. ...@@ -99,8 +99,6 @@ application should zero out all members except for the *IN* fields.
.. c:type:: v4l2_frmival_stepwise .. c:type:: v4l2_frmival_stepwise
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. flat-table:: struct v4l2_frmival_stepwise .. flat-table:: struct v4l2_frmival_stepwise
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -119,7 +117,7 @@ application should zero out all members except for the *IN* fields. ...@@ -119,7 +117,7 @@ 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}| .. tabularcolumns:: |p{4.9cm}|p{3.3cm}|p{9.1cm}|
.. flat-table:: struct v4l2_frmivalenum .. flat-table:: struct v4l2_frmivalenum
:header-rows: 0 :header-rows: 0
...@@ -154,7 +152,6 @@ application should zero out all members except for the *IN* fields. ...@@ -154,7 +152,6 @@ application should zero out all members except for the *IN* fields.
- -
* - __u32 * - __u32
- ``reserved[2]`` - ``reserved[2]``
-
- Reserved space for future use. Must be zeroed by drivers and - Reserved space for future use. Must be zeroed by drivers and
applications. applications.
...@@ -164,7 +161,7 @@ Enums ...@@ -164,7 +161,7 @@ Enums
.. c:type:: v4l2_frmivaltypes .. c:type:: v4l2_frmivaltypes
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. flat-table:: enum v4l2_frmivaltypes .. flat-table:: enum v4l2_frmivaltypes
:header-rows: 0 :header-rows: 0
......
...@@ -89,8 +89,6 @@ application should zero out all members except for the *IN* fields. ...@@ -89,8 +89,6 @@ application should zero out all members except for the *IN* fields.
.. c:type:: v4l2_frmsize_discrete .. c:type:: v4l2_frmsize_discrete
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. flat-table:: struct v4l2_frmsize_discrete .. flat-table:: struct v4l2_frmsize_discrete
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -106,8 +104,6 @@ application should zero out all members except for the *IN* fields. ...@@ -106,8 +104,6 @@ application should zero out all members except for the *IN* fields.
.. c:type:: v4l2_frmsize_stepwise .. c:type:: v4l2_frmsize_stepwise
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. flat-table:: struct v4l2_frmsize_stepwise .. flat-table:: struct v4l2_frmsize_stepwise
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -135,7 +131,7 @@ application should zero out all members except for the *IN* fields. ...@@ -135,7 +131,7 @@ application should zero out all members except for the *IN* fields.
.. c:type:: v4l2_frmsizeenum .. c:type:: v4l2_frmsizeenum
.. tabularcolumns:: |p{1.4cm}|p{5.9cm}|p{2.3cm}|p{8.0cm}| .. tabularcolumns:: |p{6.4cm}|p{2.8cm}|p{8.1cm}|
.. flat-table:: struct v4l2_frmsizeenum .. flat-table:: struct v4l2_frmsizeenum
:header-rows: 0 :header-rows: 0
...@@ -173,7 +169,7 @@ Enums ...@@ -173,7 +169,7 @@ Enums
.. c:type:: v4l2_frmsizetypes .. c:type:: v4l2_frmsizetypes
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. flat-table:: enum v4l2_frmsizetypes .. flat-table:: enum v4l2_frmsizetypes
:header-rows: 0 :header-rows: 0
......
...@@ -40,7 +40,7 @@ fields, and zero out the ``reserved`` array of a struct ...@@ -40,7 +40,7 @@ fields, and zero out the ``reserved`` array of a struct
This ioctl is supported if the ``V4L2_TUNER_CAP_FREQ_BANDS`` capability This ioctl is supported if the ``V4L2_TUNER_CAP_FREQ_BANDS`` capability
of the corresponding tuner/modulator is set. of the corresponding tuner/modulator is set.
.. tabularcolumns:: |p{2.9cm}|p{2.9cm}|p{5.8cm}|p{2.9cm}|p{3.0cm}| .. tabularcolumns:: |p{2.9cm}|p{2.9cm}|p{5.8cm}|p{2.9cm}|p{2.4cm}|
.. c:type:: v4l2_frequency_band .. c:type:: v4l2_frequency_band
...@@ -108,7 +108,7 @@ of the corresponding tuner/modulator is set. ...@@ -108,7 +108,7 @@ of the corresponding tuner/modulator is set.
Applications and drivers must set the array to zero. Applications and drivers must set the array to zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _band-modulation: .. _band-modulation:
......
...@@ -38,7 +38,7 @@ fill the rest of the structure or return an ``EINVAL`` error code when the ...@@ -38,7 +38,7 @@ fill the rest of the structure or return an ``EINVAL`` error code when the
index is out of bounds. To enumerate all inputs applications shall begin index is out of bounds. To enumerate all inputs applications shall begin
at index zero, incrementing by one until the driver returns ``EINVAL``. at index zero, incrementing by one until the driver returns ``EINVAL``.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{3.0cm}|p{3.5cm}|p{10.8cm}|
.. c:type:: v4l2_input .. c:type:: v4l2_input
...@@ -101,7 +101,7 @@ at index zero, incrementing by one until the driver returns ``EINVAL``. ...@@ -101,7 +101,7 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
zero. zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{1.0cm}|p{9.7cm}|
.. _input-type: .. _input-type:
...@@ -123,7 +123,7 @@ at index zero, incrementing by one until the driver returns ``EINVAL``. ...@@ -123,7 +123,7 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
- This input is a touch device for capturing raw touch data. - This input is a touch device for capturing raw touch data.
.. tabularcolumns:: |p{4.8cm}|p{2.6cm}|p{10.1cm}| .. tabularcolumns:: |p{5.6cm}|p{2.6cm}|p{9.1cm}|
.. _input-status: .. _input-status:
...@@ -194,7 +194,7 @@ at index zero, incrementing by one until the driver returns ``EINVAL``. ...@@ -194,7 +194,7 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
- VTR time constant. [?] - VTR time constant. [?]
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.4cm}|p{8.3cm}|
.. _input-capabilities: .. _input-capabilities:
......
...@@ -39,7 +39,7 @@ when the index is out of bounds. To enumerate all outputs applications ...@@ -39,7 +39,7 @@ when the index is out of bounds. To enumerate all outputs applications
shall begin at index zero, incrementing by one until the driver returns shall begin at index zero, incrementing by one until the driver returns
``EINVAL``. ``EINVAL``.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_output .. c:type:: v4l2_output
...@@ -96,7 +96,7 @@ shall begin at index zero, incrementing by one until the driver returns ...@@ -96,7 +96,7 @@ shall begin at index zero, incrementing by one until the driver returns
zero. zero.
.. tabularcolumns:: |p{7.0cm}|p{1.8cm}|p{8.7cm}| .. tabularcolumns:: |p{7.5cm}|p{0.6cm}|p{9.2cm}|
.. _output-type: .. _output-type:
...@@ -118,7 +118,7 @@ shall begin at index zero, incrementing by one until the driver returns ...@@ -118,7 +118,7 @@ shall begin at index zero, incrementing by one until the driver returns
- The video output will be copied to a :ref:`video overlay <overlay>`. - The video output will be copied to a :ref:`video overlay <overlay>`.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.4cm}|p{2.4cm}|p{8.5cm}|
.. _output-capabilities: .. _output-capabilities:
......
...@@ -47,7 +47,7 @@ or output. [#f1]_ ...@@ -47,7 +47,7 @@ or output. [#f1]_
.. c:type:: v4l2_standard .. c:type:: v4l2_standard
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_standard .. flat-table:: struct v4l2_standard
:header-rows: 0 :header-rows: 0
...@@ -86,7 +86,7 @@ or output. [#f1]_ ...@@ -86,7 +86,7 @@ or output. [#f1]_
.. c:type:: v4l2_fract .. c:type:: v4l2_fract
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_fract .. flat-table:: struct v4l2_fract
:header-rows: 0 :header-rows: 0
...@@ -100,7 +100,7 @@ or output. [#f1]_ ...@@ -100,7 +100,7 @@ or output. [#f1]_
- ``denominator`` - ``denominator``
- -
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. _v4l2-std-id: .. _v4l2-std-id:
......
...@@ -112,7 +112,7 @@ Examples ...@@ -112,7 +112,7 @@ Examples
.. c:type:: v4l2_exportbuffer .. c:type:: v4l2_exportbuffer
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_exportbuffer .. flat-table:: struct v4l2_exportbuffer
:header-rows: 0 :header-rows: 0
......
...@@ -49,7 +49,7 @@ ioctl. Drivers may switch to a different audio mode if the request ...@@ -49,7 +49,7 @@ ioctl. Drivers may switch to a different audio mode if the request
cannot be satisfied. However, this is a write-only ioctl, it does not cannot be satisfied. However, this is a write-only ioctl, it does not
return the actual new audio mode. return the actual new audio mode.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_audio .. c:type:: v4l2_audio
...@@ -79,7 +79,7 @@ return the actual new audio mode. ...@@ -79,7 +79,7 @@ return the actual new audio mode.
the array to zero. the array to zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _audio-capability: .. _audio-capability:
...@@ -99,7 +99,7 @@ return the actual new audio mode. ...@@ -99,7 +99,7 @@ return the actual new audio mode.
- Automatic Volume Level mode is supported. - Automatic Volume Level mode is supported.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _audio-mode: .. _audio-mode:
......
...@@ -58,7 +58,7 @@ as ``VIDIOC_G_AUDOUT`` does. ...@@ -58,7 +58,7 @@ as ``VIDIOC_G_AUDOUT`` does.
.. c:type:: v4l2_audioout .. c:type:: v4l2_audioout
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_audioout .. flat-table:: struct v4l2_audioout
:header-rows: 0 :header-rows: 0
......
...@@ -71,7 +71,7 @@ When cropping is not supported then no parameters are changed and ...@@ -71,7 +71,7 @@ When cropping is not supported then no parameters are changed and
.. c:type:: v4l2_crop .. c:type:: v4l2_crop
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_crop .. flat-table:: struct v4l2_crop
:header-rows: 0 :header-rows: 0
......
...@@ -57,7 +57,7 @@ These ioctls work only with user controls. For other control classes the ...@@ -57,7 +57,7 @@ These ioctls work only with user controls. For other control classes the
.. c:type:: v4l2_control .. c:type:: v4l2_control
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_control .. flat-table:: struct v4l2_control
:header-rows: 0 :header-rows: 0
......
...@@ -82,10 +82,12 @@ EBUSY ...@@ -82,10 +82,12 @@ EBUSY
EPERM EPERM
``VIDIOC_SUBDEV_S_DV_TIMINGS`` has been called on a read-only subdevice. ``VIDIOC_SUBDEV_S_DV_TIMINGS`` has been called on a read-only subdevice.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
.. c:type:: v4l2_bt_timings .. c:type:: v4l2_bt_timings
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. cssclass:: longtable
.. flat-table:: struct v4l2_bt_timings .. flat-table:: struct v4l2_bt_timings
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -171,7 +173,7 @@ EPERM ...@@ -171,7 +173,7 @@ EPERM
- Reserved for future extensions. Drivers and applications must set - Reserved for future extensions. Drivers and applications must set
the array to zero. the array to zero.
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{7.0cm}|p{3.5cm}| .. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{7.0cm}|p{3.1cm}|
.. c:type:: v4l2_dv_timings .. c:type:: v4l2_dv_timings
...@@ -194,7 +196,7 @@ EPERM ...@@ -194,7 +196,7 @@ EPERM
* - } * - }
- -
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. _dv-timing-types: .. _dv-timing-types:
...@@ -213,7 +215,9 @@ EPERM ...@@ -213,7 +215,9 @@ EPERM
- 0 - 0
- BT.656/1120 timings - BT.656/1120 timings
.. tabularcolumns:: |p{4.5cm}|p{12.8cm}| .. tabularcolumns:: |p{6.5cm}|p{11.0cm}|
.. cssclass:: longtable
.. _dv-bt-standards: .. _dv-bt-standards:
...@@ -236,9 +240,11 @@ EPERM ...@@ -236,9 +240,11 @@ EPERM
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{7.0cm}|p{10.5cm}| _dv-bt-flags:
.. tabularcolumns:: |p{7.7cm}|p{9.8cm}|
.. _dv-bt-flags: .. cssclass:: longtable
.. flat-table:: DV BT Timing flags .. flat-table:: DV BT Timing flags
:header-rows: 0 :header-rows: 0
......
...@@ -100,7 +100,7 @@ EDID is no longer available. ...@@ -100,7 +100,7 @@ EDID is no longer available.
.. c:type:: v4l2_edid .. c:type:: v4l2_edid
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_edid .. flat-table:: struct v4l2_edid
:header-rows: 0 :header-rows: 0
......
...@@ -54,7 +54,7 @@ will be zero. ...@@ -54,7 +54,7 @@ will be zero.
Currently this ioctl is only defined for MPEG-2 program streams and Currently this ioctl is only defined for MPEG-2 program streams and
video elementary streams. video elementary streams.
.. tabularcolumns:: |p{3.8cm}|p{5.6cm}|p{8.1cm}| .. tabularcolumns:: |p{4.2cm}|p{6.2cm}|p{6.9cm}|
.. c:type:: v4l2_enc_idx .. c:type:: v4l2_enc_idx
...@@ -81,7 +81,7 @@ video elementary streams. ...@@ -81,7 +81,7 @@ video elementary streams.
their ``offset``. their ``offset``.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_enc_idx_entry .. c:type:: v4l2_enc_idx_entry
...@@ -113,7 +113,7 @@ video elementary streams. ...@@ -113,7 +113,7 @@ video elementary streams.
- Reserved for future extensions. Drivers must set the array to - Reserved for future extensions. Drivers must set the array to
zero. zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _enc-idx-flags: .. _enc-idx-flags:
......
...@@ -118,11 +118,15 @@ correct. This prevents the situation where only some of the controls ...@@ -118,11 +118,15 @@ correct. This prevents the situation where only some of the controls
were set/get. Only low-level errors (e. g. a failed i2c command) can were set/get. Only low-level errors (e. g. a failed i2c command) can
still cause this situation. still cause this situation.
.. tabularcolumns:: |p{1.2cm}|p{3.0cm}|p{1.5cm}|p{11.8cm}| .. tabularcolumns:: |p{6.8cm}|p{4.0cm}|p{6.5cm}|
.. c:type:: v4l2_ext_control .. c:type:: v4l2_ext_control
.. cssclass: longtable .. raw:: latex
\footnotesize
.. cssclass:: longtable
.. flat-table:: struct v4l2_ext_control .. flat-table:: struct v4l2_ext_control
:header-rows: 0 :header-rows: 0
...@@ -221,7 +225,11 @@ still cause this situation. ...@@ -221,7 +225,11 @@ still cause this situation.
* - } * - }
- -
.. tabularcolumns:: |p{4.0cm}|p{2.2cm}|p{2.1cm}|p{8.2cm}| .. raw:: latex
\normalsize
.. tabularcolumns:: |p{4.0cm}|p{2.5cm}|p{10.8cm}|
.. c:type:: v4l2_ext_controls .. c:type:: v4l2_ext_controls
...@@ -334,10 +342,12 @@ still cause this situation. ...@@ -334,10 +342,12 @@ still cause this situation.
Ignored if ``count`` equals zero. Ignored if ``count`` equals zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _ctrl-class: .. _ctrl-class:
.. tabularcolumns:: |p{7.3cm}|p{2.0cm}|p{8.0cm}|
.. cssclass:: longtable
.. flat-table:: Control classes .. flat-table:: Control classes
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -75,7 +75,7 @@ jeopardize the system security, its stability or even damage the ...@@ -75,7 +75,7 @@ jeopardize the system security, its stability or even damage the
hardware, therefore only the superuser can set the parameters for a hardware, therefore only the superuser can set the parameters for a
destructive video overlay. 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{6.6cm}|
.. c:type:: v4l2_framebuffer .. c:type:: v4l2_framebuffer
...@@ -207,7 +207,7 @@ destructive video overlay. ...@@ -207,7 +207,7 @@ destructive video overlay.
- ``priv`` - ``priv``
- Reserved. Drivers and applications must set this field to zero. - Reserved. Drivers and applications must set this field to zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{7.4cm}|p{1.6cm}|p{8.3cm}|
.. _framebuffer-cap: .. _framebuffer-cap:
...@@ -255,7 +255,7 @@ destructive video overlay. ...@@ -255,7 +255,7 @@ destructive video overlay.
chroma-key colors are replaced by framebuffer pixels, which is chroma-key colors are replaced by framebuffer pixels, which is
exactly opposite of ``V4L2_FBUF_CAP_CHROMAKEY`` exactly opposite of ``V4L2_FBUF_CAP_CHROMAKEY``
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{7.4cm}|p{1.6cm}|p{8.3cm}|
.. _framebuffer-flags: .. _framebuffer-flags:
......
...@@ -89,7 +89,7 @@ The format as returned by :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` must be identical ...@@ -89,7 +89,7 @@ The format as returned by :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` must be identical
.. c:type:: v4l2_format .. c:type:: v4l2_format
.. tabularcolumns:: |p{1.2cm}|p{4.6cm}|p{3.0cm}|p{8.6cm}| .. tabularcolumns:: |p{7.4cm}|p{4.4cm}|p{5.5cm}|
.. flat-table:: struct v4l2_format .. flat-table:: struct v4l2_format
:header-rows: 0 :header-rows: 0
......
...@@ -51,7 +51,7 @@ structure. When the requested frequency is not possible the driver ...@@ -51,7 +51,7 @@ structure. When the requested frequency is not possible the driver
assumes the closest possible value. However :ref:`VIDIOC_S_FREQUENCY <VIDIOC_G_FREQUENCY>` is a assumes the closest possible value. However :ref:`VIDIOC_S_FREQUENCY <VIDIOC_G_FREQUENCY>` is a
write-only ioctl, it does not return the actual new frequency. write-only ioctl, it does not return the actual new frequency.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_frequency .. c:type:: v4l2_frequency
......
...@@ -54,7 +54,7 @@ stored in the JPEG-encoded fields. These define how the JPEG field is ...@@ -54,7 +54,7 @@ stored in the JPEG-encoded fields. These define how the JPEG field is
encoded. If you omit them, applications assume you've used standard encoded. If you omit them, applications assume you've used standard
encoding. You usually do want to add them. encoding. You usually do want to add them.
.. tabularcolumns:: |p{1.2cm}|p{3.0cm}|p{13.3cm}| .. tabularcolumns:: |p{1.2cm}|p{3.0cm}|p{13.1cm}|
.. c:type:: v4l2_jpegcompression .. c:type:: v4l2_jpegcompression
...@@ -91,7 +91,7 @@ encoding. You usually do want to add them. ...@@ -91,7 +91,7 @@ encoding. You usually do want to add them.
control is exposed by a driver applications should use it instead control is exposed by a driver applications should use it instead
and ignore this field. and ignore this field.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _jpeg-markers: .. _jpeg-markers:
......
...@@ -60,7 +60,7 @@ context. ...@@ -60,7 +60,7 @@ context.
To change the radio frequency the To change the radio frequency the
:ref:`VIDIOC_S_FREQUENCY <VIDIOC_G_FREQUENCY>` ioctl is available. :ref:`VIDIOC_S_FREQUENCY <VIDIOC_G_FREQUENCY>` ioctl is available.
.. tabularcolumns:: |p{2.9cm}|p{2.9cm}|p{5.8cm}|p{2.9cm}|p{3.0cm}| .. tabularcolumns:: |p{2.9cm}|p{2.9cm}|p{5.8cm}|p{2.9cm}|p{2.4cm}|
.. c:type:: v4l2_modulator .. c:type:: v4l2_modulator
...@@ -119,10 +119,11 @@ To change the radio frequency the ...@@ -119,10 +119,11 @@ To change the radio frequency the
Drivers and applications must set the array to zero. Drivers and applications must set the array to zero.
.. _modulator-txsubchans:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.0cm}|p{2.0cm}|p{9.3cm}|
.. _modulator-txsubchans: .. cssclass:: longtable
.. flat-table:: Modulator Audio Transmission Flags .. flat-table:: Modulator Audio Transmission Flags
:header-rows: 0 :header-rows: 0
......
...@@ -56,7 +56,7 @@ To get and set the streaming parameters applications call the ...@@ -56,7 +56,7 @@ To get and set the streaming parameters applications call the
pointer to a struct :c:type:`v4l2_streamparm` which contains a pointer to a struct :c:type:`v4l2_streamparm` which contains a
union holding separate parameters for input and output devices. union holding separate parameters for input and output devices.
.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{7.0cm}| .. tabularcolumns:: |p{3.7cm}|p{3.5cm}|p{10.1cm}|
.. c:type:: v4l2_streamparm .. c:type:: v4l2_streamparm
...@@ -85,10 +85,9 @@ union holding separate parameters for input and output devices. ...@@ -85,10 +85,9 @@ union holding separate parameters for input and output devices.
- ``raw_data``\ [200] - ``raw_data``\ [200]
- A place holder for future extensions. - A place holder for future extensions.
* - } * - }
-
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_captureparm .. c:type:: v4l2_captureparm
...@@ -147,7 +146,7 @@ union holding separate parameters for input and output devices. ...@@ -147,7 +146,7 @@ union holding separate parameters for input and output devices.
the array to zero. the array to zero.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_outputparm .. c:type:: v4l2_outputparm
...@@ -207,7 +206,7 @@ union holding separate parameters for input and output devices. ...@@ -207,7 +206,7 @@ union holding separate parameters for input and output devices.
the array to zero. the array to zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _parm-caps: .. _parm-caps:
...@@ -222,7 +221,7 @@ union holding separate parameters for input and output devices. ...@@ -222,7 +221,7 @@ union holding separate parameters for input and output devices.
field. field.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _parm-flags: .. _parm-flags:
......
...@@ -45,7 +45,7 @@ with a pointer to this variable. ...@@ -45,7 +45,7 @@ with a pointer to this variable.
.. c:type:: v4l2_priority .. c:type:: v4l2_priority
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. flat-table:: enum v4l2_priority .. flat-table:: enum v4l2_priority
:header-rows: 0 :header-rows: 0
......
...@@ -129,7 +129,7 @@ Selection targets and flags are documented in ...@@ -129,7 +129,7 @@ Selection targets and flags are documented in
.. c:type:: v4l2_selection .. c:type:: v4l2_selection
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_selection .. flat-table:: struct v4l2_selection
:header-rows: 0 :header-rows: 0
......
...@@ -45,7 +45,7 @@ the sliced VBI API is unsupported or ``type`` is invalid. ...@@ -45,7 +45,7 @@ the sliced VBI API is unsupported or ``type`` is invalid.
.. c:type:: v4l2_sliced_vbi_cap .. c:type:: v4l2_sliced_vbi_cap
.. tabularcolumns:: |p{1.2cm}|p{4.2cm}|p{4.1cm}|p{4.0cm}|p{4.0cm}| .. tabularcolumns:: |p{1.4cm}|p{4.4cm}|p{4.5cm}|p{3.6cm}|p{3.6cm}|
.. flat-table:: struct v4l2_sliced_vbi_cap .. flat-table:: struct v4l2_sliced_vbi_cap
:header-rows: 0 :header-rows: 0
...@@ -122,7 +122,7 @@ the sliced VBI API is unsupported or ``type`` is invalid. ...@@ -122,7 +122,7 @@ the sliced VBI API is unsupported or ``type`` is invalid.
\scriptsize \scriptsize
.. tabularcolumns:: |p{3.5cm}|p{1.0cm}|p{2.0cm}|p{2.0cm}|p{8.0cm}| .. tabularcolumns:: |p{3.9cm}|p{1.0cm}|p{2.0cm}|p{3.0cm}|p{7.0cm}|
.. _vbi-services: .. _vbi-services:
...@@ -170,6 +170,7 @@ the sliced VBI API is unsupported or ``type`` is invalid. ...@@ -170,6 +170,7 @@ the sliced VBI API is unsupported or ``type`` is invalid.
- 0x4401 - 0x4401
- :cspan:`2` Set of services applicable to 625 line systems. - :cspan:`2` Set of services applicable to 625 line systems.
.. raw:: latex .. raw:: latex
\normalsize \normalsize
......
...@@ -59,7 +59,7 @@ to zero. The term 'tuner' means SDR receiver in this context. ...@@ -59,7 +59,7 @@ to zero. The term 'tuner' means SDR receiver in this context.
To change the radio frequency the To change the radio frequency the
:ref:`VIDIOC_S_FREQUENCY <VIDIOC_G_FREQUENCY>` ioctl is available. :ref:`VIDIOC_S_FREQUENCY <VIDIOC_G_FREQUENCY>` ioctl is available.
.. tabularcolumns:: |p{1.3cm}|p{3.0cm}|p{6.6cm}|p{6.6cm}| .. tabularcolumns:: |p{1.3cm}|p{3.0cm}|p{7.0cm}|p{5.8cm}|
.. c:type:: v4l2_tuner .. c:type:: v4l2_tuner
...@@ -182,7 +182,7 @@ To change the radio frequency the ...@@ -182,7 +182,7 @@ To change the radio frequency the
Drivers and applications must set the array to zero. Drivers and applications must set the array to zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. c:type:: v4l2_tuner_type .. c:type:: v4l2_tuner_type
...@@ -205,7 +205,7 @@ To change the radio frequency the ...@@ -205,7 +205,7 @@ To change the radio frequency the
- 5 - 5
- Tuner controls the RF part of a Software Digital Radio (SDR) - Tuner controls the RF part of a Software Digital Radio (SDR)
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{7.0cm}|p{2.2cm}|p{8.1cm}|
.. _tuner-capability: .. _tuner-capability:
...@@ -296,10 +296,10 @@ To change the radio frequency the ...@@ -296,10 +296,10 @@ To change the radio frequency the
instead of 62.5 kHz. instead of 62.5 kHz.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _tuner-rxsubchans: .. _tuner-rxsubchans:
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. flat-table:: Tuner Audio Reception Flags .. flat-table:: Tuner Audio Reception Flags
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -334,7 +334,7 @@ To change the radio frequency the ...@@ -334,7 +334,7 @@ To change the radio frequency the
- The tuner receives an RDS channel. - The tuner receives an RDS channel.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _tuner-audmode: .. _tuner-audmode:
......
...@@ -38,10 +38,12 @@ pointer to a struct :c:type:`v4l2_capability` which is ...@@ -38,10 +38,12 @@ pointer to a struct :c:type:`v4l2_capability` which is
filled by the driver. When the driver is not compatible with this filled by the driver. When the driver is not compatible with this
specification the ioctl returns an ``EINVAL`` error code. specification the ioctl returns an ``EINVAL`` error code.
.. tabularcolumns:: |p{1.5cm}|p{2.5cm}|p{13cm}|
.. c:type:: v4l2_capability .. c:type:: v4l2_capability
.. tabularcolumns:: |p{1.4cm}|p{2.8cm}|p{13.1cm}|
.. cssclass:: longtable
.. flat-table:: struct v4l2_capability .. flat-table:: struct v4l2_capability
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -130,7 +132,7 @@ specification the ioctl returns an ``EINVAL`` error code. ...@@ -130,7 +132,7 @@ specification the ioctl returns an ``EINVAL`` error code.
zero. zero.
.. tabularcolumns:: |p{6.1cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{7.0cm}|p{2.6cm}|p{7.7cm}|
.. _device-capabilities: .. _device-capabilities:
......
...@@ -94,7 +94,7 @@ inclusive. ...@@ -94,7 +94,7 @@ inclusive.
See also the examples in :ref:`control`. See also the examples in :ref:`control`.
.. tabularcolumns:: |p{1.2cm}|p{3.6cm}|p{12.7cm}| .. tabularcolumns:: |p{1.2cm}|p{3.6cm}|p{12.5cm}|
.. _v4l2-queryctrl: .. _v4l2-queryctrl:
...@@ -172,7 +172,7 @@ See also the examples in :ref:`control`. ...@@ -172,7 +172,7 @@ See also the examples in :ref:`control`.
zero. zero.
.. tabularcolumns:: |p{1.2cm}|p{5.0cm}|p{11.3cm}| .. tabularcolumns:: |p{1.2cm}|p{5.5cm}|p{10.6cm}|
.. _v4l2-query-ext-ctrl: .. _v4l2-query-ext-ctrl:
...@@ -272,7 +272,7 @@ See also the examples in :ref:`control`. ...@@ -272,7 +272,7 @@ See also the examples in :ref:`control`.
the array to zero. the array to zero.
.. tabularcolumns:: |p{1.2cm}|p{1.0cm}|p{1.7cm}|p{13.0cm}| .. tabularcolumns:: |p{1.2cm}|p{3.0cm}|p{13.1cm}|
.. _v4l2-querymenu: .. _v4l2-querymenu:
...@@ -306,10 +306,13 @@ See also the examples in :ref:`control`. ...@@ -306,10 +306,13 @@ See also the examples in :ref:`control`.
- Reserved for future extensions. Drivers must set the array to - Reserved for future extensions. Drivers must set the array to
zero. zero.
.. c:type:: v4l2_ctrl_type
.. tabularcolumns:: |p{5.8cm}|p{1.4cm}|p{1.0cm}|p{1.4cm}|p{6.9cm}| .. raw:: latex
.. c:type:: v4l2_ctrl_type \footnotesize
.. tabularcolumns:: |p{6.5cm}|p{1.5cm}|p{1.1cm}|p{1.5cm}|p{6.8cm}|
.. cssclass:: longtable .. cssclass:: longtable
...@@ -487,10 +490,14 @@ See also the examples in :ref:`control`. ...@@ -487,10 +490,14 @@ See also the examples in :ref:`control`.
- A struct :c:type:`v4l2_ctrl_hevc_slice_params`, containing HEVC - A struct :c:type:`v4l2_ctrl_hevc_slice_params`, containing HEVC
slice parameters for stateless video decoders. slice parameters for stateless video decoders.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. raw:: latex
\normalsize
.. _control-flags: .. _control-flags:
.. tabularcolumns:: |p{7.3cm}|p{1.8cm}|p{8.2cm}|
.. cssclass:: longtable .. cssclass:: longtable
.. flat-table:: Control Flags .. flat-table:: Control Flags
......
...@@ -71,7 +71,7 @@ aborting or finishing any DMA in progress, an implicit ...@@ -71,7 +71,7 @@ aborting or finishing any DMA in progress, an implicit
.. c:type:: v4l2_requestbuffers .. c:type:: v4l2_requestbuffers
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_requestbuffers .. flat-table:: struct v4l2_requestbuffers
:header-rows: 0 :header-rows: 0
...@@ -109,8 +109,6 @@ aborting or finishing any DMA in progress, an implicit ...@@ -109,8 +109,6 @@ aborting or finishing any DMA in progress, an implicit
- A place holder for future extensions. Drivers and applications - A place holder for future extensions. Drivers and applications
must set the array to zero. must set the array to zero.
.. tabularcolumns:: |p{6.1cm}|p{2.2cm}|p{8.7cm}|
.. _v4l2-buf-capabilities: .. _v4l2-buf-capabilities:
.. _V4L2-BUF-CAP-SUPPORTS-MMAP: .. _V4L2-BUF-CAP-SUPPORTS-MMAP:
.. _V4L2-BUF-CAP-SUPPORTS-USERPTR: .. _V4L2-BUF-CAP-SUPPORTS-USERPTR:
...@@ -120,6 +118,12 @@ aborting or finishing any DMA in progress, an implicit ...@@ -120,6 +118,12 @@ aborting or finishing any DMA in progress, an implicit
.. _V4L2-BUF-CAP-SUPPORTS-M2M-HOLD-CAPTURE-BUF: .. _V4L2-BUF-CAP-SUPPORTS-M2M-HOLD-CAPTURE-BUF:
.. _V4L2-BUF-CAP-SUPPORTS-MMAP-CACHE-HINTS: .. _V4L2-BUF-CAP-SUPPORTS-MMAP-CACHE-HINTS:
.. raw:: latex
\footnotesize
.. tabularcolumns:: |p{8.1cm}|p{2.2cm}|p{7.0cm}|
.. cssclass:: longtable .. cssclass:: longtable
.. flat-table:: V4L2 Buffer Capabilities Flags .. flat-table:: V4L2 Buffer Capabilities Flags
...@@ -157,6 +161,10 @@ aborting or finishing any DMA in progress, an implicit ...@@ -157,6 +161,10 @@ aborting or finishing any DMA in progress, an implicit
:ref:`V4L2_BUF_FLAG_NO_CACHE_INVALIDATE <V4L2-BUF-FLAG-NO-CACHE-INVALIDATE>` and :ref:`V4L2_BUF_FLAG_NO_CACHE_INVALIDATE <V4L2-BUF-FLAG-NO-CACHE-INVALIDATE>` and
:ref:`V4L2_BUF_FLAG_NO_CACHE_CLEAN <V4L2-BUF-FLAG-NO-CACHE-CLEAN>`. :ref:`V4L2_BUF_FLAG_NO_CACHE_CLEAN <V4L2-BUF-FLAG-NO-CACHE-CLEAN>`.
.. raw:: latex
\normalsize
Return Value Return Value
============ ============
......
...@@ -58,7 +58,7 @@ set. ...@@ -58,7 +58,7 @@ set.
If this ioctl is called from a non-blocking filehandle, then ``EAGAIN`` If this ioctl is called from a non-blocking filehandle, then ``EAGAIN``
error code is returned and no seek takes place. error code is returned and no seek takes place.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_hw_freq_seek .. c:type:: v4l2_hw_freq_seek
......
...@@ -61,7 +61,7 @@ multiple pads of the same sub-device is not defined. ...@@ -61,7 +61,7 @@ multiple pads of the same sub-device is not defined.
.. c:type:: v4l2_subdev_frame_interval_enum .. c:type:: v4l2_subdev_frame_interval_enum
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_subdev_frame_interval_enum .. flat-table:: struct v4l2_subdev_frame_interval_enum
:header-rows: 0 :header-rows: 0
......
...@@ -63,7 +63,7 @@ information about try formats. ...@@ -63,7 +63,7 @@ information about try formats.
.. c:type:: v4l2_subdev_frame_size_enum .. c:type:: v4l2_subdev_frame_size_enum
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_subdev_frame_size_enum .. flat-table:: struct v4l2_subdev_frame_size_enum
:header-rows: 0 :header-rows: 0
......
...@@ -48,7 +48,7 @@ information about the try formats. ...@@ -48,7 +48,7 @@ information about the try formats.
.. c:type:: v4l2_subdev_mbus_code_enum .. c:type:: v4l2_subdev_mbus_code_enum
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_subdev_mbus_code_enum .. flat-table:: struct v4l2_subdev_mbus_code_enum
:header-rows: 0 :header-rows: 0
...@@ -79,10 +79,14 @@ information about the try formats. ...@@ -79,10 +79,14 @@ information about the try formats.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{7.7cm}|
.. _v4l2-subdev-mbus-code-flags: .. _v4l2-subdev-mbus-code-flags:
.. raw:: latex
\footnotesize
.. tabularcolumns:: |p{8.8cm}|p{2.2cm}|p{6.3cm}|
.. flat-table:: Subdev Media Bus Code Enumerate Flags .. flat-table:: Subdev Media Bus Code Enumerate Flags
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -124,6 +128,10 @@ information about the try formats. ...@@ -124,6 +128,10 @@ information about the try formats.
ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set. ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set.
See :ref:`v4l2-mbus-format` on how to do this. See :ref:`v4l2-mbus-format` on how to do this.
.. raw:: latex
\normalsize
Return Value Return Value
============ ============
......
...@@ -78,7 +78,7 @@ modified format should be as close as possible to the original request. ...@@ -78,7 +78,7 @@ modified format should be as close as possible to the original request.
.. c:type:: v4l2_subdev_crop .. c:type:: v4l2_subdev_crop
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_subdev_crop .. flat-table:: struct v4l2_subdev_crop
:header-rows: 0 :header-rows: 0
......
...@@ -81,7 +81,7 @@ doesn't match the device capabilities. They must instead modify the ...@@ -81,7 +81,7 @@ doesn't match the device capabilities. They must instead modify the
format to match what the hardware can provide. The modified format format to match what the hardware can provide. The modified format
should be as close as possible to the original request. should be as close as possible to the original request.
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. c:type:: v4l2_subdev_format .. c:type:: v4l2_subdev_format
...@@ -107,7 +107,7 @@ should be as close as possible to the original request. ...@@ -107,7 +107,7 @@ should be as close as possible to the original request.
the array to zero. the array to zero.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
.. _v4l2-subdev-format-whence: .. _v4l2-subdev-format-whence:
......
...@@ -76,7 +76,7 @@ the same sub-device is not defined. ...@@ -76,7 +76,7 @@ the same sub-device is not defined.
.. c:type:: v4l2_subdev_frame_interval .. c:type:: v4l2_subdev_frame_interval
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_subdev_frame_interval .. flat-table:: struct v4l2_subdev_frame_interval
:header-rows: 0 :header-rows: 0
......
...@@ -70,7 +70,7 @@ Selection targets and flags are documented in ...@@ -70,7 +70,7 @@ Selection targets and flags are documented in
.. c:type:: v4l2_subdev_selection .. c:type:: v4l2_subdev_selection
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
.. flat-table:: struct v4l2_subdev_selection .. flat-table:: struct v4l2_subdev_selection
:header-rows: 0 :header-rows: 0
......
...@@ -38,7 +38,7 @@ a struct :c:type:`v4l2_subdev_capability` which is filled by the driver. When ...@@ -38,7 +38,7 @@ a struct :c:type:`v4l2_subdev_capability` which is filled by the driver. When
the driver is not compatible with this specification the ioctl returns the driver is not compatible with this specification the ioctl returns
``ENOTTY`` error code. ``ENOTTY`` error code.
.. tabularcolumns:: |p{1.5cm}|p{2.5cm}|p{13cm}| .. tabularcolumns:: |p{1.5cm}|p{2.9cm}|p{12.9cm}|
.. c:type:: v4l2_subdev_capability .. c:type:: v4l2_subdev_capability
...@@ -75,7 +75,7 @@ the driver is not compatible with this specification the ioctl returns ...@@ -75,7 +75,7 @@ the driver is not compatible with this specification the ioctl returns
- ``reserved``\ [14] - ``reserved``\ [14]
- Reserved for future extensions. Set to 0 by the V4L2 core. - Reserved for future extensions. Set to 0 by the V4L2 core.
.. tabularcolumns:: |p{6cm}|p{2.2cm}|p{8.8cm}| .. tabularcolumns:: |p{6.8cm}|p{2.4cm}|p{8.1cm}|
.. _subdevice-capabilities: .. _subdevice-capabilities:
......
...@@ -39,7 +39,7 @@ Description ...@@ -39,7 +39,7 @@ Description
Subscribe or unsubscribe V4L2 event. Subscribed events are dequeued by Subscribe or unsubscribe V4L2 event. Subscribed events are dequeued by
using the :ref:`VIDIOC_DQEVENT` ioctl. using the :ref:`VIDIOC_DQEVENT` ioctl.
.. tabularcolumns:: |p{4.6cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{2.6cm}|p{4.4cm}|p{10.3cm}|
.. c:type:: v4l2_event_subscription .. c:type:: v4l2_event_subscription
...@@ -71,7 +71,7 @@ using the :ref:`VIDIOC_DQEVENT` ioctl. ...@@ -71,7 +71,7 @@ using the :ref:`VIDIOC_DQEVENT` ioctl.
the array to zero. the array to zero.
.. tabularcolumns:: |p{6.8cm}|p{2.2cm}|p{8.5cm}| .. tabularcolumns:: |p{7.5cm}|p{2.0cm}|p{7.8cm}|
.. _event-flags: .. _event-flags:
......
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