Merge tag 'for-4.19/post-20180822' of git://git.kernel.dk/linux-block
[sfrench/cifs-2.6.git] / Documentation / media / uapi / v4l / pixfmt-y10p.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _V4L2-PIX-FMT-Y10P:
4
5 ******************************
6 V4L2_PIX_FMT_Y10P ('Y10P')
7 ******************************
8
9 Grey-scale image as a MIPI RAW10 packed array
10
11
12 Description
13 ===========
14
15 This is a packed grey-scale image format with a depth of 10 bits per
16 pixel. Every four consecutive pixels are packed into 5 bytes. Each of
17 the first 4 bytes contain the 8 high order bits of the pixels, and
18 the 5th byte contains the 2 least significants bits of each pixel,
19 in the same order.
20
21 **Bit-packed representation.**
22
23 .. flat-table::
24     :header-rows:  0
25     :stub-columns: 0
26     :widths: 8 8 8 8 64
27
28     * - Y'\ :sub:`00[9:2]`
29       - Y'\ :sub:`01[9:2]`
30       - Y'\ :sub:`02[9:2]`
31       - Y'\ :sub:`03[9:2]`
32       - Y'\ :sub:`03[1:0]`\ (bits 7--6) Y'\ :sub:`02[1:0]`\ (bits 5--4)
33         Y'\ :sub:`01[1:0]`\ (bits 3--2) Y'\ :sub:`00[1:0]`\ (bits 1--0)