Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[cascardo/linux.git] / Documentation / media / uapi / v4l / pixfmt-sbggr16.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _V4L2-PIX-FMT-SBGGR16:
4
5 *****************************
6 V4L2_PIX_FMT_SBGGR16 ('BYR2')
7 *****************************
8
9 Bayer RGB format
10
11
12 Description
13 ===========
14
15 This format is similar to
16 :ref:`V4L2_PIX_FMT_SBGGR8 <V4L2-PIX-FMT-SBGGR8>`, except each pixel
17 has a depth of 16 bits. The least significant byte is stored at lower
18 memory addresses (little-endian).
19
20 **Byte Order.**
21 Each cell is one byte.
22
23 .. flat-table::
24     :header-rows:  0
25     :stub-columns: 0
26
27     * - start + 0:
28       - B\ :sub:`00low`
29       - B\ :sub:`00high`
30       - G\ :sub:`01low`
31       - G\ :sub:`01high`
32       - B\ :sub:`02low`
33       - B\ :sub:`02high`
34       - G\ :sub:`03low`
35       - G\ :sub:`03high`
36     * - start + 8:
37       - G\ :sub:`10low`
38       - G\ :sub:`10high`
39       - R\ :sub:`11low`
40       - R\ :sub:`11high`
41       - G\ :sub:`12low`
42       - G\ :sub:`12high`
43       - R\ :sub:`13low`
44       - R\ :sub:`13high`
45     * - start + 16:
46       - B\ :sub:`20low`
47       - B\ :sub:`20high`
48       - G\ :sub:`21low`
49       - G\ :sub:`21high`
50       - B\ :sub:`22low`
51       - B\ :sub:`22high`
52       - G\ :sub:`23low`
53       - G\ :sub:`23high`
54     * - start + 24:
55       - G\ :sub:`30low`
56       - G\ :sub:`30high`
57       - R\ :sub:`31low`
58       - R\ :sub:`31high`
59       - G\ :sub:`32low`
60       - G\ :sub:`32high`
61       - R\ :sub:`33low`
62       - R\ :sub:`33high`