From 2e9a7e0bc191c6dc97a0b3cb994b83834179a42b Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 6 Mar 2020 08:34:41 +0100 Subject: media: docs: move fourcc file to the uAPI document This file gives a hint about how fourcc should be named. It is on a very weird place, as such kind of thing belongs to the uAPI guide. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/fourcc.rst | 32 ------------------------------ Documentation/media/v4l-drivers/index.rst | 1 - 2 files changed, 33 deletions(-) delete mode 100644 Documentation/media/v4l-drivers/fourcc.rst (limited to 'Documentation/media') diff --git a/Documentation/media/v4l-drivers/fourcc.rst b/Documentation/media/v4l-drivers/fourcc.rst deleted file mode 100644 index d3482c40da62..000000000000 --- a/Documentation/media/v4l-drivers/fourcc.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Guidelines for Video4Linux pixel format 4CCs -============================================ - -Guidelines for Video4Linux 4CC codes defined using v4l2_fourcc() are -specified in this document. First of the characters defines the nature of -the pixel format, compression and colour space. The interpretation of the -other three characters depends on the first one. - -Existing 4CCs may not obey these guidelines. - -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 - -2nd character: pixel order - -- B: BGGR -- G: GBRG -- g: GRBG -- R: RGGB - -3rd character: uncompressed bits-per-pixel 0--9, A-- - -4th character: compressed bits-per-pixel 0--9, A-- diff --git a/Documentation/media/v4l-drivers/index.rst b/Documentation/media/v4l-drivers/index.rst index 67665a8abe02..8962a86dad70 100644 --- a/Documentation/media/v4l-drivers/index.rst +++ b/Documentation/media/v4l-drivers/index.rst @@ -31,7 +31,6 @@ For more details see the file COPYING in the source distribution of Linux. :maxdepth: 5 :numbered: - fourcc v4l-with-ir tuners cardlist -- cgit v1.2.3