Rotates the big RGB packed table to landscape.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
Documentation/conf.py | 3 +++
Documentation/media/uapi/v4l/pixfmt-packed-rgb.rst | 9 ++++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 39b9c4a26f6e..64f5fb4170a9 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -306,6 +306,9 @@ latex_elements = {
\\setromanfont{DejaVu Sans}
\\setmonofont{DejaVu Sans Mono}
+ % To allow adjusting table sizes
+ \\usepackage{adjustbox}
+
'''
}
diff --git a/Documentation/media/uapi/v4l/pixfmt-packed-rgb.rst
b/Documentation/media/uapi/v4l/pixfmt-packed-rgb.rst
index c7aa2e91ac78..9a909cd99361 100644
--- a/Documentation/media/uapi/v4l/pixfmt-packed-rgb.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-packed-rgb.rst
@@ -19,6 +19,10 @@ graphics frame buffers. They occupy 8, 16, 24 or 32 bits per
pixel.
These are all packed-pixel formats, meaning all the data for a pixel lie
next to each other in memory.
+.. raw:: latex
+
+ \begin{landscape}
+ \begin{adjustbox}{width=\columnwidth}
.. _rgb-formats:
@@ -26,7 +30,6 @@ next to each other in memory.
:header-rows: 2
:stub-columns: 0
-
- .. row 1
- Identifier
@@ -942,6 +945,10 @@ next to each other in memory.
- b\ :sub:`0`
+.. raw:: latex
+
+ \end{adjustbox}
+ \end{landscape}
Bit 7 is the most significant bit.
--
2.7.4
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html