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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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
+2 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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:

+2 −2
Original line number Diff line number Diff line
@@ -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: