summaryrefslogtreecommitdiffstats
path: root/Documentation/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-17 21:32:38 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-18 03:41:13 +0200
commit00748947f92e9b8cd64a934ec8b4d0fe1eb1cd2c (patch)
treebd847935791906490047192c08b82bf0ce65cf50 /Documentation/media
parent[media] doc-rst: Move v4l docs to media/v4l-drivers (diff)
downloadlinux-00748947f92e9b8cd64a934ec8b4d0fe1eb1cd2c.tar.xz
linux-00748947f92e9b8cd64a934ec8b4d0fe1eb1cd2c.zip
[media] doc-rst: convert fourcc to rst format
Fix fourcc for it to be correcly parsed by Sphinx. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media')
-rw-r--r--Documentation/media/v4l-drivers/fourcc.rst20
-rw-r--r--Documentation/media/v4l-drivers/index.rst1
2 files changed, 10 insertions, 11 deletions
diff --git a/Documentation/media/v4l-drivers/fourcc.rst b/Documentation/media/v4l-drivers/fourcc.rst
index 41241af1ebfe..f7c8cefff02a 100644
--- a/Documentation/media/v4l-drivers/fourcc.rst
+++ b/Documentation/media/v4l-drivers/fourcc.rst
@@ -8,24 +8,22 @@ other three characters depends on the first one.
Existing 4CCs may not obey these guidelines.
-Formats
-=======
-
Raw bayer
---------
The following first characters are used by raw bayer formats:
- B: raw bayer, uncompressed
- b: raw bayer, DPCM compressed
- a: A-law compressed
- u: u-law compressed
+- B: raw bayer, uncompressed
+- b: raw bayer, DPCM compressed
+- a: A-law compressed
+- u: u-law compressed
2nd character: pixel order
- B: BGGR
- G: GBRG
- g: GRBG
- R: RGGB
+
+- B: BGGR
+- G: GBRG
+- g: GRBG
+- R: RGGB
3rd character: uncompressed bits-per-pixel 0--9, A--
diff --git a/Documentation/media/v4l-drivers/index.rst b/Documentation/media/v4l-drivers/index.rst
index b18c02426a40..6391f1622e26 100644
--- a/Documentation/media/v4l-drivers/index.rst
+++ b/Documentation/media/v4l-drivers/index.rst
@@ -18,4 +18,5 @@ License".
.. toctree::
:maxdepth: 5
+ fourcc
cardlist