Commit | Line | Data |
---|---|---|
5377d91f MH |
1 | .. -*- coding: utf-8; mode: rst -*- |
2 | ||
3 | .. _V4L2-PIX-FMT-Y10BPACK: | |
4 | ||
5 | ****************************** | |
6 | V4L2_PIX_FMT_Y10BPACK ('Y10B') | |
7 | ****************************** | |
8 | ||
9 | *man V4L2_PIX_FMT_Y10BPACK(2)* | |
10 | ||
11 | Grey-scale image as a bit-packed array | |
12 | ||
13 | ||
14 | Description | |
15 | =========== | |
16 | ||
17 | This is a packed grey-scale image format with a depth of 10 bits per | |
18 | pixel. Pixels are stored in a bit-packed array of 10bit bits per pixel, | |
19 | with no padding between them and with the most significant bits coming | |
20 | first from the left. | |
21 | ||
22 | **Bit-packed representation.** | |
23 | ||
24 | pixels cross the byte boundary and have a ratio of 5 bytes for each 4 | |
25 | pixels. | |
26 | ||
27 | ||
28 | ||
29 | .. flat-table:: | |
30 | :header-rows: 0 | |
31 | :stub-columns: 0 | |
32 | :widths: 2 1 1 1 1 | |
33 | ||
34 | ||
35 | - .. row 1 | |
36 | ||
37 | - Y'\ :sub:`00[9:2]` | |
38 | ||
39 | - Y'\ :sub:`00[1:0]`\ Y'\ :sub:`01[9:4]` | |
40 | ||
41 | - Y'\ :sub:`01[3:0]`\ Y'\ :sub:`02[9:6]` | |
42 | ||
43 | - Y'\ :sub:`02[5:0]`\ Y'\ :sub:`03[9:8]` | |
44 | ||
45 | - Y'\ :sub:`03[7:0]` |