mirror of
https://github.com/torvalds/linux.git
synced 2026-04-28 19:42:31 -04:00
Media references belong to V4L namespace. Fix a lot of broken links when including videodev2.h and probably fixing several other broken cross-references between different files inside media docs. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <b69fc5bd43da7d326b9f4720df59388088c64065.1759329363.git.mchehab+huawei@kernel.org>
34 lines
826 B
ReStructuredText
34 lines
826 B
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0
|
|
.. c:namespace:: V4L
|
|
|
|
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--
|