• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
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.. raw:: latex
24
25    \small
26
27.. tabularcolumns:: |p{1.2cm}||p{1.2cm}||p{1.2cm}||p{1.2cm}|p{3.2cm}|p{3.2cm}|
28
29.. flat-table::
30    :header-rows:  0
31    :stub-columns: 0
32    :widths: 8 8 8 8 64
33
34    * - Y'\ :sub:`00[9:2]`
35      - Y'\ :sub:`01[9:2]`
36      - Y'\ :sub:`02[9:2]`
37      - Y'\ :sub:`03[9:2]`
38      - Y'\ :sub:`03[1:0]`\ (bits 7--6) Y'\ :sub:`02[1:0]`\ (bits 5--4)
39	Y'\ :sub:`01[1:0]`\ (bits 3--2) Y'\ :sub:`00[1:0]`\ (bits 1--0)
40
41.. raw:: latex
42
43    \normalsize
44