Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 1 | .. -*- coding: utf-8; mode: rst -*- |
| 2 | |
| 3 | .. _V4L2-PIX-FMT-Y12: |
| 4 | |
| 5 | ************************* |
| 6 | V4L2_PIX_FMT_Y12 ('Y12 ') |
| 7 | ************************* |
| 8 | |
| 9 | *man V4L2_PIX_FMT_Y12(2)* |
| 10 | |
| 11 | Grey-scale image |
| 12 | |
| 13 | |
| 14 | Description |
| 15 | =========== |
| 16 | |
| 17 | This is a grey-scale image with a depth of 12 bits per pixel. Pixels are |
| 18 | stored in 16-bit words with unused high bits padded with 0. The least |
| 19 | significant byte is stored at lower memory addresses (little-endian). |
| 20 | |
Mauro Carvalho Chehab | 056d2ee | 2016-07-04 13:58:01 -0300 | [diff] [blame] | 21 | **Byte Order.** |
Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 22 | Each cell is one byte. |
| 23 | |
| 24 | |
| 25 | |
| 26 | .. flat-table:: |
| 27 | :header-rows: 0 |
| 28 | :stub-columns: 0 |
| 29 | :widths: 2 1 1 1 1 1 1 1 1 |
| 30 | |
| 31 | |
| 32 | - .. row 1 |
| 33 | |
| 34 | - start + 0: |
| 35 | |
| 36 | - Y'\ :sub:`00low` |
| 37 | |
| 38 | - Y'\ :sub:`00high` |
| 39 | |
| 40 | - Y'\ :sub:`01low` |
| 41 | |
| 42 | - Y'\ :sub:`01high` |
| 43 | |
| 44 | - Y'\ :sub:`02low` |
| 45 | |
| 46 | - Y'\ :sub:`02high` |
| 47 | |
| 48 | - Y'\ :sub:`03low` |
| 49 | |
| 50 | - Y'\ :sub:`03high` |
| 51 | |
| 52 | - .. row 2 |
| 53 | |
| 54 | - start + 8: |
| 55 | |
| 56 | - Y'\ :sub:`10low` |
| 57 | |
| 58 | - Y'\ :sub:`10high` |
| 59 | |
| 60 | - Y'\ :sub:`11low` |
| 61 | |
| 62 | - Y'\ :sub:`11high` |
| 63 | |
| 64 | - Y'\ :sub:`12low` |
| 65 | |
| 66 | - Y'\ :sub:`12high` |
| 67 | |
| 68 | - Y'\ :sub:`13low` |
| 69 | |
| 70 | - Y'\ :sub:`13high` |
| 71 | |
| 72 | - .. row 3 |
| 73 | |
| 74 | - start + 16: |
| 75 | |
| 76 | - Y'\ :sub:`20low` |
| 77 | |
| 78 | - Y'\ :sub:`20high` |
| 79 | |
| 80 | - Y'\ :sub:`21low` |
| 81 | |
| 82 | - Y'\ :sub:`21high` |
| 83 | |
| 84 | - Y'\ :sub:`22low` |
| 85 | |
| 86 | - Y'\ :sub:`22high` |
| 87 | |
| 88 | - Y'\ :sub:`23low` |
| 89 | |
| 90 | - Y'\ :sub:`23high` |
| 91 | |
| 92 | - .. row 4 |
| 93 | |
| 94 | - start + 24: |
| 95 | |
| 96 | - Y'\ :sub:`30low` |
| 97 | |
| 98 | - Y'\ :sub:`30high` |
| 99 | |
| 100 | - Y'\ :sub:`31low` |
| 101 | |
| 102 | - Y'\ :sub:`31high` |
| 103 | |
| 104 | - Y'\ :sub:`32low` |
| 105 | |
| 106 | - Y'\ :sub:`32high` |
| 107 | |
| 108 | - Y'\ :sub:`33low` |
| 109 | |
| 110 | - Y'\ :sub:`33high` |