33 lines · plain
1.. SPDX-License-Identifier: GPL-2.02 3Guidelines for Video4Linux pixel format 4CCs4============================================5 6Guidelines for Video4Linux 4CC codes defined using v4l2_fourcc() are7specified in this document. First of the characters defines the nature of8the pixel format, compression and colour space. The interpretation of the9other three characters depends on the first one.10 11Existing 4CCs may not obey these guidelines.12 13Raw bayer14---------15 16The following first characters are used by raw bayer formats:17 18- B: raw bayer, uncompressed19- b: raw bayer, DPCM compressed20- a: A-law compressed21- u: u-law compressed22 232nd character: pixel order24 25- B: BGGR26- G: GBRG27- g: GRBG28- R: RGGB29 303rd character: uncompressed bits-per-pixel 0--9, A--31 324th character: compressed bits-per-pixel 0--9, A--33