aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-04 16:37:30 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-05 06:33:16 -0400
commit1e13c184dcd3c19090c4b2110540ee04daf1a330 (patch)
tree1fd529ce19dc986d36651bc199ebb9074d1537d8
parentdebc313a186fb57aee9e272009181da8283529ca (diff)
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>
-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:
30**Byte Order.** 30**Byte Order.**
31Each cell is one byte. 31Each cell is one byte.
32 32
33.. tabularcolumns:: |p{2.0cm}|p{1.0cm}|p{1.0cm}|p{2.7cm}|p{1.0cm}|p{1.0cm}|p{2.7cm}|
33 34
34 35
35.. flat-table:: 36.. flat-table::
@@ -38,66 +39,48 @@ Each cell is one byte.
38 :widths: 2 1 1 1 1 1 1 39 :widths: 2 1 1 1 1 1 1
39 40
40 41
41 - .. row 1 42 - - start + 0:
42
43 - start + 0:
44
45 - B\ :sub:`00high` 43 - B\ :sub:`00high`
46
47 - G\ :sub:`01high` 44 - G\ :sub:`01high`
45 - G\ :sub:`01low`\ (bits 7--4)
48 46
49 - G\ :sub:`01low`\ (bits 7--4) B\ :sub:`00low`\ (bits 3--0) 47 B\ :sub:`00low`\ (bits 3--0)
50
51 - B\ :sub:`02high` 48 - B\ :sub:`02high`
52
53 - G\ :sub:`03high` 49 - G\ :sub:`03high`
50 - G\ :sub:`03low`\ (bits 7--4)
54 51
55 - G\ :sub:`03low`\ (bits 7--4) B\ :sub:`02low`\ (bits 3--0) 52 B\ :sub:`02low`\ (bits 3--0)
56
57 - .. row 2
58
59 - start + 6:
60 53
54 - - start + 6:
61 - G\ :sub:`10high` 55 - G\ :sub:`10high`
62
63 - R\ :sub:`11high` 56 - R\ :sub:`11high`
57 - R\ :sub:`11low`\ (bits 7--4)
64 58
65 - R\ :sub:`11low`\ (bits 7--4) G\ :sub:`10low`\ (bits 3--0) 59 G\ :sub:`10low`\ (bits 3--0)
66
67 - G\ :sub:`12high` 60 - G\ :sub:`12high`
68
69 - R\ :sub:`13high` 61 - R\ :sub:`13high`
62 - R\ :sub:`13low`\ (bits 3--2)
70 63
71 - R\ :sub:`13low`\ (bits 3--2) G\ :sub:`12low`\ (bits 3--0) 64 G\ :sub:`12low`\ (bits 3--0)
72 65 - - start + 12:
73 - .. row 3
74
75 - start + 12:
76
77 - B\ :sub:`20high` 66 - B\ :sub:`20high`
78
79 - G\ :sub:`21high` 67 - G\ :sub:`21high`
68 - G\ :sub:`21low`\ (bits 7--4)
80 69
81 - G\ :sub:`21low`\ (bits 7--4) B\ :sub:`20low`\ (bits 3--0) 70 B\ :sub:`20low`\ (bits 3--0)
82
83 - B\ :sub:`22high` 71 - B\ :sub:`22high`
84
85 - G\ :sub:`23high` 72 - G\ :sub:`23high`
73 - G\ :sub:`23low`\ (bits 7--4)
86 74
87 - G\ :sub:`23low`\ (bits 7--4) B\ :sub:`22low`\ (bits 3--0) 75 B\ :sub:`22low`\ (bits 3--0)
88 76 - - start + 18:
89 - .. row 4
90
91 - start + 18:
92
93 - G\ :sub:`30high` 77 - G\ :sub:`30high`
94
95 - R\ :sub:`31high` 78 - R\ :sub:`31high`
79 - R\ :sub:`31low`\ (bits 7--4)
96 80
97 - R\ :sub:`31low`\ (bits 7--4) G\ :sub:`30low`\ (bits 3--0) 81 G\ :sub:`30low`\ (bits 3--0)
98
99 - G\ :sub:`32high` 82 - G\ :sub:`32high`
100
101 - R\ :sub:`33high` 83 - R\ :sub:`33high`
84 - R\ :sub:`33low`\ (bits 3--2)
102 85
103 - R\ :sub:`33low`\ (bits 3--2) G\ :sub:`32low`\ (bits 3--0) 86 G\ :sub:`32low`\ (bits 3--0)