1.. -*- coding: utf-8; mode: rst -*-
2
3.. _V4L2-PIX-FMT-Y10P:
4
5******************************
6V4L2_PIX_FMT_Y10P ('Y10P')
7******************************
8
9Grey-scale image as a MIPI RAW10 packed array
10
11
12Description
13===========
14
15This is a packed grey-scale image format with a depth of 10 bits per
16pixel. Every four consecutive pixels are packed into 5 bytes. Each of
17the first 4 bytes contain the 8 high order bits of the pixels, and
18the 5th byte contains the 2 least significants bits of each pixel,
19in 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)
34