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

[media] media-types.rst: adjust tables to fit on LaTeX output

A few tables at the media uAPI documentation have columns
not well dimentioned. Adjust them.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 16dac354
...@@ -5,9 +5,12 @@ ...@@ -5,9 +5,12 @@
Types and flags used to represent the media graph elements Types and flags used to represent the media graph elements
========================================================== ==========================================================
.. tabularcolumns:: |p{8.0cm}|p{10.5cm}|
.. _media-entity-type: .. _media-entity-type:
.. cssclass:: longtable
.. flat-table:: Media entity types .. flat-table:: Media entity types
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -15,10 +18,12 @@ Types and flags used to represent the media graph elements ...@@ -15,10 +18,12 @@ Types and flags used to represent the media graph elements
- .. row 1 - .. row 1
.. _MEDIA-ENT-F-UNKNOWN: .. _MEDIA-ENT-F-UNKNOWN:
.. _MEDIA-ENT-F-V4L2-SUBDEV-UNKNOWN: .. _MEDIA-ENT-F-V4L2-SUBDEV-UNKNOWN:
- ``MEDIA_ENT_F_UNKNOWN`` and ``MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN`` - ``MEDIA_ENT_F_UNKNOWN`` and
``MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN``
- Unknown entity. That generally indicates that a driver didn't - Unknown entity. That generally indicates that a driver didn't
initialize properly the entity, with is a Kernel bug initialize properly the entity, with is a Kernel bug
...@@ -294,6 +299,8 @@ Types and flags used to represent the media graph elements ...@@ -294,6 +299,8 @@ Types and flags used to represent the media graph elements
its source pad. its source pad.
.. tabularcolumns:: |p{5.5cm}|p{12.0cm}|
.. _media-entity-flag: .. _media-entity-flag:
.. flat-table:: Media entity flags .. flat-table:: Media entity flags
...@@ -319,6 +326,7 @@ Types and flags used to represent the media graph elements ...@@ -319,6 +326,7 @@ Types and flags used to represent the media graph elements
- The entity represents a data conector - The entity represents a data conector
.. tabularcolumns:: |p{6.5cm}|p{6.0cm}|p{5.0cm}|
.. _media-intf-type: .. _media-intf-type:
...@@ -508,6 +516,7 @@ Types and flags used to represent the media graph elements ...@@ -508,6 +516,7 @@ Types and flags used to represent the media graph elements
- typically, /dev/snd/timer - typically, /dev/snd/timer
.. tabularcolumns:: |p{5.5cm}|p{12.0cm}|
.. _media-pad-flag: .. _media-pad-flag:
...@@ -551,6 +560,7 @@ Types and flags used to represent the media graph elements ...@@ -551,6 +560,7 @@ Types and flags used to represent the media graph elements
One and only one of ``MEDIA_PAD_FL_SINK`` and ``MEDIA_PAD_FL_SOURCE`` One and only one of ``MEDIA_PAD_FL_SINK`` and ``MEDIA_PAD_FL_SOURCE``
must be set for every pad. must be set for every pad.
.. tabularcolumns:: |p{5.5cm}|p{12.0cm}|
.. _media-link-flag: .. _media-link-flag:
......
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