Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306273
b: refs/heads/master
c: 1e3afae
h: refs/heads/master
i:
  306271: 5e1735c
v: v3
  • Loading branch information
Sakari Ailus authored and Mauro Carvalho Chehab committed May 14, 2012
1 parent 6d0fb73 commit e48cb4b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c643ee135190389e03cffd80e762c9c71dc9a165
refs/heads/master: 1e3afaea569cc12ef02cced0acb6c7e39067b169
32 changes: 32 additions & 0 deletions trunk/Documentation/video4linux/4CCs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Guidelines for Linux4Linux 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.

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

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--

0 comments on commit e48cb4b

Please sign in to comment.