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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab 2017-09-02 16:50:45 -04:00
parent 4d6436962a
commit b75c1d85c3
5 changed files with 8 additions and 4 deletions

View File

@ -76,6 +76,8 @@ whole range, 0-255, dividing the angular value by 1.41. The enum
.. c:type:: v4l2_xfer_func
.. tabularcolumns:: |p{5.5cm}|p{12.0cm}|
.. flat-table:: V4L2 Transfer Function
:header-rows: 1
:stub-columns: 0

View File

@ -12,7 +12,7 @@ of the two interfaces they are used.
.. _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
:header-rows: 1

View File

@ -140,6 +140,8 @@ application should zero out all members except for the *IN* fields.
.. c:type:: v4l2_frmsizeenum
.. tabularcolumns:: |p{1.4cm}|p{5.9cm}|p{2.3cm}|p{8.0cm}|
.. flat-table:: struct v4l2_frmsizeenum
:header-rows: 0
:stub-columns: 0

View File

@ -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:

View File

@ -40,7 +40,7 @@ Subscribe or unsubscribe V4L2 event. Subscribed events are dequeued by
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
@ -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: