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-Y10BPACK: 11 12****************************** 13V4L2_PIX_FMT_Y10BPACK ('Y10B') 14****************************** 15 16Grey-scale image as a bit-packed array 17 18 19Description 20=========== 21 22This is a packed grey-scale image format with a depth of 10 bits per 23pixel. Pixels are stored in a bit-packed array of 10bit bits per pixel, 24with no padding between them and with the most significant bits coming 25first from the left. 26 27**Bit-packed representation.** 28 29pixels cross the byte boundary and have a ratio of 5 bytes for each 4 30pixels. 31 32.. flat-table:: 33 :header-rows: 0 34 :stub-columns: 0 35 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]` 40 - Y'\ :sub:`03[7:0]` 41