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/userspace-api/media/fdl-appendix.rst.
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
10 .. _V4L2-PIX-FMT-Y10BPACK:
12 ******************************
13 V4L2_PIX_FMT_Y10BPACK ('Y10B')
14 ******************************
16 Grey-scale image as a bit-packed array
22 This is a packed grey-scale image format with a depth of 10 bits per
23 pixel. Pixels are stored in a bit-packed array of 10bit bits per pixel,
24 with no padding between them and with the most significant bits coming
27 **Bit-packed representation.**
29 pixels cross the byte boundary and have a ratio of 5 bytes for each 4
36 * - Y'\ :sub:`00[9:2]`
37 - Y'\ :sub:`00[1:0]`\ Y'\ :sub:`01[9:4]`
38 - Y'\ :sub:`01[3:0]`\ Y'\ :sub:`02[9:6]`
39 - Y'\ :sub:`02[5:0]`\ Y'\ :sub:`03[9:8]`