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****************************** 13V4L2_PIX_FMT_Y10P ('Y10P') 14****************************** 15 16Grey-scale image as a MIPI RAW10 packed array 17 18 19Description 20=========== 21 22This is a packed grey-scale image format with a depth of 10 bits per 23pixel. Every four consecutive pixels are packed into 5 bytes. Each of 24the first 4 bytes contain the 8 high order bits of the pixels, and 25the 5th byte contains the 2 least significants bits of each pixel, 26in the same order. 27 28**Bit-packed representation.** 29 30.. raw:: latex 31 32 \small 33 34.. tabularcolumns:: |p{1.2cm}||p{1.2cm}||p{1.2cm}||p{1.2cm}|p{3.2cm}|p{3.2cm}| 35 36.. flat-table:: 37 :header-rows: 0 38 :stub-columns: 0 39 :widths: 8 8 8 8 64 40 41 * - Y'\ :sub:`00[9:2]` 42 - Y'\ :sub:`01[9:2]` 43 - Y'\ :sub:`02[9:2]` 44 - Y'\ :sub:`03[9:2]` 45 - Y'\ :sub:`03[1:0]`\ (bits 7--6) Y'\ :sub:`02[1:0]`\ (bits 5--4) 46 Y'\ :sub:`01[1:0]`\ (bits 3--2) Y'\ :sub:`00[1:0]`\ (bits 1--0) 47 48.. raw:: latex 49 50 \normalsize 51