summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-04 23:37:30 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-05 13:33:16 +0300
commit1e13c184dcd3c19090c4b2110540ee04daf1a330 (patch)
tree1fd529ce19dc986d36651bc199ebb9074d1537d8 /Documentation/media/uapi
parentdebc313a186fb57aee9e272009181da8283529ca (diff)
downloadlinux-1e13c184dcd3c19090c4b2110540ee04daf1a330.tar.xz
media: pixfmt-srggb12p.rst: better format the table for PDF output
Adjust the table to be better displayed on PDF output. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi')
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-srggb12p.rst59
1 files changed, 21 insertions, 38 deletions
diff --git a/Documentation/media/uapi/v4l/pixfmt-srggb12p.rst b/Documentation/media/uapi/v4l/pixfmt-srggb12p.rst
index c0541e5acd01..59918a7913fe 100644
--- a/Documentation/media/uapi/v4l/pixfmt-srggb12p.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-srggb12p.rst
@@ -30,6 +30,7 @@ Below is an example of a small V4L2_PIX_FMT_SBGGR12P image:
**Byte Order.**
Each cell is one byte.
+.. tabularcolumns:: |p{2.0cm}|p{1.0cm}|p{1.0cm}|p{2.7cm}|p{1.0cm}|p{1.0cm}|p{2.7cm}|
.. flat-table::
@@ -38,66 +39,48 @@ Each cell is one byte.
:widths: 2 1 1 1 1 1 1
- - .. row 1
-
- - start + 0:
-
+ - - start + 0:
- B\ :sub:`00high`
-
- G\ :sub:`01high`
+ - G\ :sub:`01low`\ (bits 7--4)
- - G\ :sub:`01low`\ (bits 7--4) B\ :sub:`00low`\ (bits 3--0)
-
+ B\ :sub:`00low`\ (bits 3--0)
- B\ :sub:`02high`
-
- G\ :sub:`03high`
+ - G\ :sub:`03low`\ (bits 7--4)
- - G\ :sub:`03low`\ (bits 7--4) B\ :sub:`02low`\ (bits 3--0)
-
- - .. row 2
-
- - start + 6:
+ B\ :sub:`02low`\ (bits 3--0)
+ - - start + 6:
- G\ :sub:`10high`
-
- R\ :sub:`11high`
+ - R\ :sub:`11low`\ (bits 7--4)
- - R\ :sub:`11low`\ (bits 7--4) G\ :sub:`10low`\ (bits 3--0)
-
+ G\ :sub:`10low`\ (bits 3--0)
- G\ :sub:`12high`
-
- R\ :sub:`13high`
+ - R\ :sub:`13low`\ (bits 3--2)
- - R\ :sub:`13low`\ (bits 3--2) G\ :sub:`12low`\ (bits 3--0)
-
- - .. row 3
-
- - start + 12:
-
+ G\ :sub:`12low`\ (bits 3--0)
+ - - start + 12:
- B\ :sub:`20high`
-
- G\ :sub:`21high`
+ - G\ :sub:`21low`\ (bits 7--4)
- - G\ :sub:`21low`\ (bits 7--4) B\ :sub:`20low`\ (bits 3--0)
-
+ B\ :sub:`20low`\ (bits 3--0)
- B\ :sub:`22high`
-
- G\ :sub:`23high`
+ - G\ :sub:`23low`\ (bits 7--4)
- - G\ :sub:`23low`\ (bits 7--4) B\ :sub:`22low`\ (bits 3--0)
-
- - .. row 4
-
- - start + 18:
-
+ B\ :sub:`22low`\ (bits 3--0)
+ - - start + 18:
- G\ :sub:`30high`
-
- R\ :sub:`31high`
+ - R\ :sub:`31low`\ (bits 7--4)
- - R\ :sub:`31low`\ (bits 7--4) G\ :sub:`30low`\ (bits 3--0)
-
+ G\ :sub:`30low`\ (bits 3--0)
- G\ :sub:`32high`
-
- R\ :sub:`33high`
+ - R\ :sub:`33low`\ (bits 3--2)
- - R\ :sub:`33low`\ (bits 3--2) G\ :sub:`32low`\ (bits 3--0)
+ G\ :sub:`32low`\ (bits 3--0)