1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 3.. _V4L2-PIX-FMT-Y41P: 4 5************************** 6V4L2_PIX_FMT_Y41P ('Y41P') 7************************** 8 9 10Format with ¼ horizontal chroma resolution, also known as YUV 4:1:1 11 12 13Description 14=========== 15 16In this format each 12 bytes is eight pixels. In the twelve bytes are 17two CbCr pairs and eight Y's. The first CbCr pair goes with the first 18four Y's, and the second CbCr pair goes with the other four Y's. The Cb 19and Cr components have one fourth the horizontal resolution of the Y 20component. 21 22Do not confuse this format with 23:ref:`V4L2_PIX_FMT_YUV411P <V4L2-PIX-FMT-YUV411P>`. Y41P is derived 24from "YUV 4:1:1 *packed*", while YUV411P stands for "YUV 4:1:1 25*planar*". 26 27**Byte Order.** 28Each cell is one byte. 29 30 31 32 33.. flat-table:: 34 :header-rows: 0 35 :stub-columns: 0 36 37 * - start + 0: 38 - Cb\ :sub:`00` 39 - Y'\ :sub:`00` 40 - Cr\ :sub:`00` 41 - Y'\ :sub:`01` 42 - Cb\ :sub:`01` 43 - Y'\ :sub:`02` 44 - Cr\ :sub:`01` 45 - Y'\ :sub:`03` 46 - Y'\ :sub:`04` 47 - Y'\ :sub:`05` 48 - Y'\ :sub:`06` 49 - Y'\ :sub:`07` 50 * - start + 12: 51 - Cb\ :sub:`10` 52 - Y'\ :sub:`10` 53 - Cr\ :sub:`10` 54 - Y'\ :sub:`11` 55 - Cb\ :sub:`11` 56 - Y'\ :sub:`12` 57 - Cr\ :sub:`11` 58 - Y'\ :sub:`13` 59 - Y'\ :sub:`14` 60 - Y'\ :sub:`15` 61 - Y'\ :sub:`16` 62 - Y'\ :sub:`17` 63 * - start + 24: 64 - Cb\ :sub:`20` 65 - Y'\ :sub:`20` 66 - Cr\ :sub:`20` 67 - Y'\ :sub:`21` 68 - Cb\ :sub:`21` 69 - Y'\ :sub:`22` 70 - Cr\ :sub:`21` 71 - Y'\ :sub:`23` 72 - Y'\ :sub:`24` 73 - Y'\ :sub:`25` 74 - Y'\ :sub:`26` 75 - Y'\ :sub:`27` 76 * - start + 36: 77 - Cb\ :sub:`30` 78 - Y'\ :sub:`30` 79 - Cr\ :sub:`30` 80 - Y'\ :sub:`31` 81 - Cb\ :sub:`31` 82 - Y'\ :sub:`32` 83 - Cr\ :sub:`31` 84 - Y'\ :sub:`33` 85 - Y'\ :sub:`34` 86 - Y'\ :sub:`35` 87 - Y'\ :sub:`36` 88 - Y'\ :sub:`37` 89 90 91**Color Sample Location:** 92 93.. flat-table:: 94 :header-rows: 0 95 :stub-columns: 0 96 97 * - 98 - 0 99 - 1 100 - 101 - 2 102 - 3 103 - 4 104 - 5 105 - 106 - 6 107 - 7 108 * - 0 109 - Y 110 - Y 111 - C 112 - Y 113 - Y 114 - Y 115 - Y 116 - C 117 - Y 118 - Y 119 * - 1 120 - Y 121 - Y 122 - C 123 - Y 124 - Y 125 - Y 126 - Y 127 - C 128 - Y 129 - Y 130 * - 2 131 - Y 132 - Y 133 - C 134 - Y 135 - Y 136 - Y 137 - Y 138 - C 139 - Y 140 - Y 141 * - 3 142 - Y 143 - Y 144 - C 145 - Y 146 - Y 147 - Y 148 - Y 149 - C 150 - Y 151 - Y 152