Merge tag 'backlight-next-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / media / uapi / v4l / pixfmt-uv8.rst
1 .. Permission is granted to copy, distribute and/or modify this
2 .. document under the terms of the GNU Free Documentation License,
3 .. Version 1.1 or any later version published by the Free Software
4 .. Foundation, with no Invariant Sections, no Front-Cover Texts
5 .. and no Back-Cover Texts. A copy of the license is included at
6 .. Documentation/media/uapi/fdl-appendix.rst.
7 ..
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
9
10 .. _V4L2-PIX-FMT-UV8:
11
12 ************************
13 V4L2_PIX_FMT_UV8 ('UV8')
14 ************************
15
16
17 UV plane interleaved
18
19
20 Description
21 ===========
22
23 In this format there is no Y plane, Only CbCr plane. ie (UV interleaved)
24
25 **Byte Order.**
26 Each cell is one byte.
27
28
29
30
31 .. flat-table::
32     :header-rows:  0
33     :stub-columns: 0
34
35     * - start + 0:
36       - Cb\ :sub:`00`
37       - Cr\ :sub:`00`
38       - Cb\ :sub:`01`
39       - Cr\ :sub:`01`
40     * - start + 4:
41       - Cb\ :sub:`10`
42       - Cr\ :sub:`10`
43       - Cb\ :sub:`11`
44       - Cr\ :sub:`11`
45     * - start + 8:
46       - Cb\ :sub:`20`
47       - Cr\ :sub:`20`
48       - Cb\ :sub:`21`
49       - Cr\ :sub:`21`
50     * - start + 12:
51       - Cb\ :sub:`30`
52       - Cr\ :sub:`30`
53       - Cb\ :sub:`31`
54       - Cr\ :sub:`31`