1 .. SPDX-License-Identifier: GPL-2.0
3 Guidelines for Video4Linux pixel format 4CCs
4 ============================================
6 Guidelines for Video4Linux 4CC codes defined using v4l2_fourcc() are
7 specified in this document. First of the characters defines the nature of
8 the pixel format, compression and colour space. The interpretation of the
9 other three characters depends on the first one.
11 Existing 4CCs may not obey these guidelines.
16 The following first characters are used by raw bayer formats:
18 - B: raw bayer, uncompressed
19 - b: raw bayer, DPCM compressed
23 2nd character: pixel order
30 3rd character: uncompressed bits-per-pixel 0--9, A--
32 4th character: compressed bits-per-pixel 0--9, A--