Merge branch 'asoc-4.22' into asoc-5.0
[sfrench/cifs-2.6.git] / Documentation / media / uapi / v4l / pixfmt-y10p.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-Y10P:
11
12 ******************************
13 V4L2_PIX_FMT_Y10P ('Y10P')
14 ******************************
15
16 Grey-scale image as a MIPI RAW10 packed array
17
18
19 Description
20 ===========
21
22 This is a packed grey-scale image format with a depth of 10 bits per
23 pixel. Every four consecutive pixels are packed into 5 bytes. Each of
24 the first 4 bytes contain the 8 high order bits of the pixels, and
25 the 5th byte contains the 2 least significants bits of each pixel,
26 in the same order.
27
28 **Bit-packed representation.**
29
30 .. flat-table::
31     :header-rows:  0
32     :stub-columns: 0
33     :widths: 8 8 8 8 64
34
35     * - Y'\ :sub:`00[9:2]`
36       - Y'\ :sub:`01[9:2]`
37       - Y'\ :sub:`02[9:2]`
38       - Y'\ :sub:`03[9:2]`
39       - Y'\ :sub:`03[1:0]`\ (bits 7--6) Y'\ :sub:`02[1:0]`\ (bits 5--4)
40         Y'\ :sub:`01[1:0]`\ (bits 3--2) Y'\ :sub:`00[1:0]`\ (bits 1--0)