summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/v4l/vidioc-enum-fmt.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-19 17:14:23 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-22 16:31:51 +0300
commitfa92b04d98e7c52038c1eb1cbf89ba0ba8679a94 (patch)
treee5519f1c53c35b4c0716de9e5835a349651b9d84 /Documentation/media/uapi/v4l/vidioc-enum-fmt.rst
parent42858b555292196a49b08f03a6e63758ac90a482 (diff)
downloadlinux-fa92b04d98e7c52038c1eb1cbf89ba0ba8679a94.tar.xz
[media] docs-rst: fix warnings introduced by LaTeX patchset
Sphinx is really pedantic with respect to the order where table tags and references are created. Putting things at the wrong order causes troubles. The order that seems to work is: .. raw:: latex .. tabularcolumns:: .. _foo_name: .. cssclass: longtable .. flat-table:: Reorder the tags to the above order, to avoid troubles, and fix remaining warnings introduced by media recent patches. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/vidioc-enum-fmt.rst')
-rw-r--r--Documentation/media/uapi/v4l/vidioc-enum-fmt.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/media/uapi/v4l/vidioc-enum-fmt.rst b/Documentation/media/uapi/v4l/vidioc-enum-fmt.rst
index 2d1444b0d017..da0b888c01cb 100644
--- a/Documentation/media/uapi/v4l/vidioc-enum-fmt.rst
+++ b/Documentation/media/uapi/v4l/vidioc-enum-fmt.rst
@@ -46,10 +46,10 @@ one until ``EINVAL`` is returned.
formats may be different.
-.. _v4l2-fmtdesc:
-
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
+.. _v4l2-fmtdesc:
+
.. flat-table:: struct v4l2_fmtdesc
:header-rows: 0
:stub-columns: 0
@@ -108,6 +108,7 @@ one until ``EINVAL`` is returned.
- :cspan:`2`
.. _v4l2-fourcc:
+
``#define v4l2_fourcc(a,b,c,d)``
``(((__u32)(a)<<0)|((__u32)(b)<<8)|((__u32)(c)<<16)|((__u32)(d)<<24))``
@@ -131,10 +132,10 @@ one until ``EINVAL`` is returned.
-.. _fmtdesc-flags:
-
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
+.. _fmtdesc-flags:
+
.. flat-table:: Image Format Description Flags
:header-rows: 0
:stub-columns: 0