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

media: cec uapi: Adjust table sizes for PDF output

Several tables at this media book chapter have issues
when PDF is produced. Adjust them.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 1367f4ee
...@@ -65,7 +65,7 @@ logical address types are already defined will return with error ``EBUSY``. ...@@ -65,7 +65,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{7.5cm}|p{8.0cm}| .. tabularcolumns:: |p{1.0cm}|p{8.0cm}|p{7.5cm}|
.. cssclass:: longtable .. cssclass:: longtable
...@@ -148,6 +148,9 @@ logical address types are already defined will return with error ``EBUSY``. ...@@ -148,6 +148,9 @@ 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}|
.. _cec-log-addrs-flags: .. _cec-log-addrs-flags:
.. flat-table:: Flags for struct cec_log_addrs .. flat-table:: Flags for struct cec_log_addrs
...@@ -183,7 +186,7 @@ logical address types are already defined will return with error ``EBUSY``. ...@@ -183,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{6.6cm}|p{2.2cm}|p{8.7cm}| .. tabularcolumns:: |p{7.8cm}|p{1.0cm}|p{8.7cm}|
.. _cec-versions: .. _cec-versions:
......
...@@ -87,7 +87,7 @@ it is guaranteed that the state did change in between the two events. ...@@ -87,7 +87,7 @@ it is guaranteed that the state did change in between the two events.
this is more than enough. this is more than enough.
.. tabularcolumns:: |p{1.0cm}|p{4.2cm}|p{2.5cm}|p{8.8cm}| .. tabularcolumns:: |p{1.0cm}|p{4.4cm}|p{2.5cm}|p{9.6cm}|
.. c:type:: cec_event .. c:type:: cec_event
...@@ -98,10 +98,11 @@ it is guaranteed that the state did change in between the two events. ...@@ -98,10 +98,11 @@ it is guaranteed that the state did change in between the two events.
* - __u64 * - __u64
- ``ts`` - ``ts``
- :cspan:`1` Timestamp of the event in ns. - :cspan:`1`\ Timestamp of the event in ns.
The timestamp has been taken from the ``CLOCK_MONOTONIC`` clock. To access The timestamp has been taken from the ``CLOCK_MONOTONIC`` clock.
the same clock from userspace use :c:func:`clock_gettime`.
To access the same clock from userspace use :c:func:`clock_gettime`.
* - __u32 * - __u32
- ``event`` - ``event``
- :cspan:`1` The CEC event type, see :ref:`cec-events`. - :cspan:`1` The CEC event type, see :ref:`cec-events`.
......
...@@ -108,6 +108,8 @@ Available follower modes are: ...@@ -108,6 +108,8 @@ Available follower modes are:
.. _cec-mode-follower_e: .. _cec-mode-follower_e:
.. cssclass:: longtable
.. flat-table:: Follower Modes .. flat-table:: Follower Modes
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -195,6 +195,8 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV'). ...@@ -195,6 +195,8 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV').
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}|
.. _cec-msg-flags: .. _cec-msg-flags:
.. flat-table:: Flags for struct cec_msg .. flat-table:: Flags for struct cec_msg
......
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