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

media: v4l uAPI docs: adjust some tables for PDF output

On tests with Spinx 1.4, some tables are still writing text
outside cells. Adjust those tables.

PS.: As this was revisited several times, I suspect that this
will only be fully fixed if we add tabularcolumns to all tables
at the V4L2 part of the book.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 4d643696
...@@ -76,6 +76,8 @@ whole range, 0-255, dividing the angular value by 1.41. The enum ...@@ -76,6 +76,8 @@ whole range, 0-255, dividing the angular value by 1.41. The enum
.. c:type:: v4l2_xfer_func .. c:type:: v4l2_xfer_func
.. tabularcolumns:: |p{5.5cm}|p{12.0cm}|
.. flat-table:: V4L2 Transfer Function .. flat-table:: V4L2 Transfer Function
:header-rows: 1 :header-rows: 1
:stub-columns: 0 :stub-columns: 0
......
...@@ -12,7 +12,7 @@ of the two interfaces they are used. ...@@ -12,7 +12,7 @@ of the two interfaces they are used.
.. _v4l2-selection-targets-table: .. _v4l2-selection-targets-table:
.. tabularcolumns:: |p{5.8cm}|p{1.4cm}|p{6.5cm}|p{1.2cm}|p{1.6cm}| .. tabularcolumns:: |p{6.0cm}|p{1.4cm}|p{7.4cm}|p{1.2cm}|p{1.4cm}|
.. flat-table:: Selection target definitions .. flat-table:: Selection target definitions
:header-rows: 1 :header-rows: 1
......
...@@ -140,6 +140,8 @@ application should zero out all members except for the *IN* fields. ...@@ -140,6 +140,8 @@ 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}|
.. flat-table:: struct v4l2_frmsizeenum .. flat-table:: struct v4l2_frmsizeenum
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -133,7 +133,7 @@ specification the ioctl returns an ``EINVAL`` error code. ...@@ -133,7 +133,7 @@ specification the ioctl returns an ``EINVAL`` error code.
.. tabularcolumns:: |p{6cm}|p{2.2cm}|p{8.8cm}| .. tabularcolumns:: |p{6.1cm}|p{2.2cm}|p{8.7cm}|
.. _device-capabilities: .. _device-capabilities:
......
...@@ -40,7 +40,7 @@ Subscribe or unsubscribe V4L2 event. Subscribed events are dequeued by ...@@ -40,7 +40,7 @@ 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.4cm}|p{4.4cm}|p{8.7cm}| .. tabularcolumns:: |p{4.6cm}|p{4.4cm}|p{8.7cm}|
.. c:type:: v4l2_event_subscription .. c:type:: v4l2_event_subscription
...@@ -73,7 +73,7 @@ using the :ref:`VIDIOC_DQEVENT` ioctl. ...@@ -73,7 +73,7 @@ using the :ref:`VIDIOC_DQEVENT` ioctl.
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{6.8cm}|p{2.2cm}|p{8.5cm}|
.. _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