Yushin Cho | 77bba8d | 2016-11-04 16:36:56 -0700 | [diff] [blame] | 1 | /* This file is generated by gen_zigzag32.m */ |
| 2 | |
| 3 | /* clang-format off */ |
| 4 | |
| 5 | #include "odintrin.h" |
| 6 | OD_EXTERN const unsigned char OD_ZIGZAG32_DCT_DCT[768][2] = { |
| 7 | { 16, 0 }, { 17, 0 }, { 18, 0 }, { 19, 0 }, |
| 8 | { 16, 1 }, { 17, 1 }, { 20, 0 }, { 16, 2 }, |
| 9 | { 18, 1 }, { 21, 0 }, { 17, 2 }, { 16, 3 }, |
| 10 | { 19, 1 }, { 22, 0 }, { 18, 2 }, { 17, 3 }, |
| 11 | { 20, 1 }, { 16, 4 }, { 23, 0 }, { 19, 2 }, |
| 12 | { 24, 0 }, { 16, 5 }, { 21, 1 }, { 17, 4 }, |
| 13 | { 18, 3 }, { 20, 2 }, { 17, 5 }, { 16, 6 }, |
| 14 | { 19, 3 }, { 18, 4 }, { 25, 0 }, { 22, 1 }, |
| 15 | { 16, 7 }, { 21, 2 }, { 17, 6 }, { 20, 3 }, |
| 16 | { 26, 0 }, { 18, 5 }, { 19, 4 }, { 17, 7 }, |
| 17 | { 23, 1 }, { 22, 2 }, { 18, 6 }, { 27, 0 }, |
| 18 | { 19, 5 }, { 24, 1 }, { 21, 3 }, { 28, 0 }, |
| 19 | { 20, 4 }, { 18, 7 }, { 19, 6 }, { 23, 2 }, |
| 20 | { 29, 0 }, { 25, 1 }, { 21, 4 }, { 30, 0 }, |
| 21 | { 20, 5 }, { 22, 3 }, { 31, 0 }, { 19, 7 }, |
| 22 | { 24, 2 }, { 26, 1 }, { 20, 6 }, { 21, 5 }, |
| 23 | { 22, 4 }, { 23, 3 }, { 27, 1 }, { 25, 2 }, |
| 24 | { 20, 7 }, { 28, 1 }, { 24, 3 }, { 21, 6 }, |
| 25 | { 22, 5 }, { 23, 4 }, { 26, 2 }, { 21, 7 }, |
| 26 | { 29, 1 }, { 25, 3 }, { 30, 1 }, { 27, 2 }, |
| 27 | { 22, 6 }, { 23, 5 }, { 31, 1 }, { 24, 4 }, |
| 28 | { 26, 3 }, { 28, 2 }, { 22, 7 }, { 23, 6 }, |
| 29 | { 25, 4 }, { 24, 5 }, { 29, 2 }, { 30, 2 }, |
| 30 | { 27, 3 }, { 23, 7 }, { 31, 2 }, { 24, 6 }, |
| 31 | { 26, 4 }, { 25, 5 }, { 28, 3 }, { 24, 7 }, |
| 32 | { 27, 4 }, { 29, 3 }, { 25, 6 }, { 26, 5 }, |
| 33 | { 30, 3 }, { 31, 3 }, { 28, 4 }, { 27, 5 }, |
| 34 | { 25, 7 }, { 29, 4 }, { 26, 6 }, { 28, 5 }, |
| 35 | { 30, 4 }, { 26, 7 }, { 27, 6 }, { 31, 4 }, |
| 36 | { 29, 5 }, { 27, 7 }, { 30, 5 }, { 28, 6 }, |
| 37 | { 31, 5 }, { 29, 6 }, { 28, 7 }, { 30, 6 }, |
| 38 | { 31, 6 }, { 29, 7 }, { 30, 7 }, { 31, 7 }, |
| 39 | { 0, 16 }, { 0, 17 }, { 1, 16 }, { 0, 18 }, |
| 40 | { 1, 17 }, { 0, 19 }, { 2, 16 }, { 1, 18 }, |
| 41 | { 0, 20 }, { 2, 17 }, { 3, 16 }, { 1, 19 }, |
| 42 | { 2, 18 }, { 0, 21 }, { 3, 17 }, { 4, 16 }, |
| 43 | { 1, 20 }, { 2, 19 }, { 0, 22 }, { 3, 18 }, |
| 44 | { 4, 17 }, { 5, 16 }, { 0, 23 }, { 3, 19 }, |
| 45 | { 2, 20 }, { 1, 21 }, { 4, 18 }, { 6, 16 }, |
| 46 | { 5, 17 }, { 3, 20 }, { 2, 21 }, { 1, 22 }, |
| 47 | { 0, 24 }, { 0, 25 }, { 4, 19 }, { 7, 16 }, |
| 48 | { 6, 17 }, { 5, 18 }, { 0, 26 }, { 3, 21 }, |
| 49 | { 2, 22 }, { 1, 23 }, { 4, 20 }, { 5, 19 }, |
| 50 | { 6, 18 }, { 1, 24 }, { 7, 17 }, { 0, 27 }, |
| 51 | { 2, 23 }, { 3, 22 }, { 4, 21 }, { 1, 25 }, |
| 52 | { 5, 20 }, { 7, 18 }, { 0, 28 }, { 6, 19 }, |
| 53 | { 2, 24 }, { 1, 26 }, { 0, 29 }, { 4, 22 }, |
| 54 | { 3, 23 }, { 2, 25 }, { 5, 21 }, { 0, 31 }, |
| 55 | { 7, 19 }, { 6, 20 }, { 0, 30 }, { 1, 27 }, |
| 56 | { 3, 24 }, { 2, 26 }, { 4, 23 }, { 5, 22 }, |
| 57 | { 7, 20 }, { 1, 28 }, { 6, 21 }, { 3, 25 }, |
| 58 | { 2, 27 }, { 1, 29 }, { 4, 24 }, { 2, 28 }, |
| 59 | { 1, 30 }, { 7, 21 }, { 5, 23 }, { 3, 26 }, |
| 60 | { 6, 22 }, { 1, 31 }, { 4, 25 }, { 7, 22 }, |
| 61 | { 3, 27 }, { 2, 29 }, { 2, 30 }, { 5, 24 }, |
| 62 | { 2, 31 }, { 6, 23 }, { 4, 26 }, { 3, 28 }, |
| 63 | { 5, 25 }, { 3, 29 }, { 6, 24 }, { 7, 23 }, |
| 64 | { 3, 30 }, { 4, 27 }, { 3, 31 }, { 5, 26 }, |
| 65 | { 6, 25 }, { 4, 28 }, { 7, 24 }, { 4, 29 }, |
| 66 | { 5, 27 }, { 4, 30 }, { 4, 31 }, { 6, 26 }, |
| 67 | { 5, 28 }, { 7, 25 }, { 6, 27 }, { 5, 29 }, |
| 68 | { 7, 26 }, { 5, 30 }, { 5, 31 }, { 6, 28 }, |
| 69 | { 7, 27 }, { 6, 29 }, { 6, 30 }, { 7, 28 }, |
| 70 | { 6, 31 }, { 7, 29 }, { 7, 30 }, { 7, 31 }, |
| 71 | { 8, 16 }, { 9, 16 }, { 8, 17 }, { 10, 16 }, |
| 72 | { 9, 17 }, { 16, 8 }, { 8, 18 }, { 16, 9 }, |
| 73 | { 10, 17 }, { 11, 16 }, { 17, 8 }, { 9, 18 }, |
| 74 | { 8, 19 }, { 16, 10 }, { 11, 17 }, { 12, 16 }, |
| 75 | { 10, 18 }, { 17, 9 }, { 9, 19 }, { 16, 11 }, |
| 76 | { 8, 20 }, { 18, 8 }, { 17, 10 }, { 10, 19 }, |
| 77 | { 12, 17 }, { 11, 18 }, { 9, 20 }, { 16, 12 }, |
| 78 | { 18, 9 }, { 8, 21 }, { 13, 16 }, { 17, 11 }, |
| 79 | { 19, 8 }, { 18, 10 }, { 13, 17 }, { 16, 13 }, |
| 80 | { 11, 19 }, { 12, 18 }, { 10, 20 }, { 17, 12 }, |
| 81 | { 9, 21 }, { 19, 9 }, { 8, 22 }, { 14, 16 }, |
| 82 | { 18, 11 }, { 11, 20 }, { 10, 21 }, { 20, 8 }, |
| 83 | { 13, 18 }, { 16, 14 }, { 12, 19 }, { 17, 13 }, |
| 84 | { 19, 10 }, { 14, 17 }, { 9, 22 }, { 18, 12 }, |
| 85 | { 8, 23 }, { 17, 14 }, { 20, 9 }, { 15, 16 }, |
| 86 | { 16, 15 }, { 13, 19 }, { 10, 22 }, { 19, 11 }, |
| 87 | { 11, 21 }, { 14, 18 }, { 12, 20 }, { 18, 13 }, |
| 88 | { 20, 10 }, { 21, 8 }, { 15, 17 }, { 9, 23 }, |
| 89 | { 19, 12 }, { 11, 22 }, { 8, 24 }, { 21, 9 }, |
| 90 | { 17, 15 }, { 16, 16 }, { 14, 19 }, { 18, 14 }, |
| 91 | { 12, 21 }, { 13, 20 }, { 20, 11 }, { 10, 23 }, |
| 92 | { 19, 13 }, { 15, 18 }, { 16, 17 }, { 21, 10 }, |
| 93 | { 22, 8 }, { 9, 24 }, { 8, 25 }, { 20, 12 }, |
| 94 | { 15, 19 }, { 11, 23 }, { 17, 16 }, { 18, 15 }, |
| 95 | { 14, 20 }, { 12, 22 }, { 10, 24 }, { 22, 9 }, |
| 96 | { 21, 11 }, { 19, 14 }, { 13, 21 }, { 16, 18 }, |
| 97 | { 9, 25 }, { 17, 17 }, { 8, 26 }, { 20, 13 }, |
| 98 | { 23, 8 }, { 12, 23 }, { 13, 22 }, { 22, 10 }, |
| 99 | { 19, 15 }, { 15, 20 }, { 16, 19 }, { 21, 12 }, |
| 100 | { 11, 24 }, { 14, 21 }, { 8, 27 }, { 18, 16 }, |
| 101 | { 10, 25 }, { 9, 26 }, { 22, 11 }, { 20, 14 }, |
| 102 | { 23, 9 }, { 18, 17 }, { 17, 18 }, { 17, 19 }, |
| 103 | { 19, 16 }, { 21, 13 }, { 10, 26 }, { 12, 24 }, |
| 104 | { 23, 10 }, { 24, 8 }, { 8, 28 }, { 16, 20 }, |
| 105 | { 9, 27 }, { 15, 21 }, { 22, 12 }, { 14, 22 }, |
| 106 | { 13, 23 }, { 20, 15 }, { 11, 25 }, { 24, 9 }, |
| 107 | { 18, 18 }, { 19, 17 }, { 23, 11 }, { 10, 27 }, |
| 108 | { 8, 29 }, { 12, 25 }, { 9, 28 }, { 8, 30 }, |
| 109 | { 21, 14 }, { 13, 24 }, { 11, 26 }, { 25, 8 }, |
| 110 | { 24, 10 }, { 20, 16 }, { 19, 18 }, { 14, 23 }, |
| 111 | { 22, 13 }, { 8, 31 }, { 17, 20 }, { 9, 29 }, |
| 112 | { 23, 12 }, { 15, 22 }, { 25, 9 }, { 11, 27 }, |
| 113 | { 10, 28 }, { 20, 17 }, { 21, 15 }, { 18, 19 }, |
| 114 | { 16, 21 }, { 24, 11 }, { 9, 30 }, { 12, 26 }, |
| 115 | { 10, 29 }, { 22, 14 }, { 14, 24 }, { 9, 31 }, |
| 116 | { 26, 8 }, { 13, 25 }, { 25, 10 }, { 18, 20 }, |
| 117 | { 19, 19 }, { 11, 28 }, { 15, 23 }, { 20, 18 }, |
| 118 | { 10, 30 }, { 12, 27 }, { 17, 21 }, { 23, 13 }, |
| 119 | { 24, 12 }, { 21, 16 }, { 16, 22 }, { 26, 9 }, |
| 120 | { 27, 8 }, { 13, 26 }, { 22, 15 }, { 10, 31 }, |
| 121 | { 14, 25 }, { 12, 28 }, { 25, 11 }, { 21, 17 }, |
| 122 | { 26, 10 }, { 20, 19 }, { 11, 29 }, { 15, 24 }, |
| 123 | { 23, 14 }, { 27, 9 }, { 11, 30 }, { 13, 27 }, |
| 124 | { 19, 20 }, { 24, 13 }, { 28, 8 }, { 11, 31 }, |
| 125 | { 22, 16 }, { 17, 22 }, { 16, 23 }, { 25, 12 }, |
| 126 | { 18, 21 }, { 12, 29 }, { 21, 18 }, { 28, 9 }, |
| 127 | { 27, 10 }, { 26, 11 }, { 29, 8 }, { 14, 26 }, |
| 128 | { 15, 25 }, { 13, 28 }, { 12, 30 }, { 23, 15 }, |
| 129 | { 30, 8 }, { 16, 24 }, { 13, 29 }, { 25, 13 }, |
| 130 | { 24, 14 }, { 20, 20 }, { 31, 8 }, { 12, 31 }, |
| 131 | { 14, 27 }, { 28, 10 }, { 26, 12 }, { 22, 17 }, |
| 132 | { 21, 19 }, { 17, 23 }, { 18, 22 }, { 29, 9 }, |
| 133 | { 27, 11 }, { 19, 21 }, { 27, 12 }, { 30, 9 }, |
| 134 | { 31, 9 }, { 13, 30 }, { 24, 15 }, { 23, 16 }, |
| 135 | { 15, 26 }, { 14, 28 }, { 29, 10 }, { 28, 11 }, |
| 136 | { 26, 13 }, { 17, 24 }, { 13, 31 }, { 25, 14 }, |
| 137 | { 22, 18 }, { 16, 25 }, { 30, 10 }, { 14, 29 }, |
| 138 | { 15, 27 }, { 19, 22 }, { 21, 20 }, { 20, 21 }, |
| 139 | { 27, 13 }, { 29, 11 }, { 18, 23 }, { 23, 17 }, |
| 140 | { 16, 26 }, { 31, 10 }, { 24, 16 }, { 14, 30 }, |
| 141 | { 22, 19 }, { 14, 31 }, { 28, 12 }, { 26, 14 }, |
| 142 | { 30, 11 }, { 15, 28 }, { 25, 15 }, { 17, 25 }, |
| 143 | { 23, 18 }, { 18, 24 }, { 15, 30 }, { 29, 12 }, |
| 144 | { 31, 11 }, { 16, 27 }, { 24, 17 }, { 28, 13 }, |
| 145 | { 19, 23 }, { 15, 29 }, { 25, 16 }, { 17, 26 }, |
| 146 | { 27, 14 }, { 22, 20 }, { 15, 31 }, { 20, 22 }, |
| 147 | { 21, 21 }, { 16, 28 }, { 17, 27 }, { 30, 12 }, |
| 148 | { 26, 15 }, { 19, 24 }, { 18, 25 }, { 23, 19 }, |
| 149 | { 29, 13 }, { 31, 12 }, { 24, 18 }, { 26, 16 }, |
| 150 | { 25, 17 }, { 16, 29 }, { 28, 14 }, { 20, 23 }, |
| 151 | { 18, 26 }, { 21, 22 }, { 19, 25 }, { 22, 21 }, |
| 152 | { 27, 15 }, { 17, 28 }, { 16, 30 }, { 26, 17 }, |
| 153 | { 23, 20 }, { 16, 31 }, { 25, 18 }, { 27, 16 }, |
| 154 | { 20, 24 }, { 24, 19 }, { 31, 13 }, { 30, 13 }, |
| 155 | { 29, 14 }, { 18, 27 }, { 28, 15 }, { 17, 29 }, |
| 156 | { 19, 26 }, { 17, 30 }, { 21, 23 }, { 22, 22 }, |
| 157 | { 30, 14 }, { 20, 25 }, { 23, 21 }, { 17, 31 }, |
| 158 | { 18, 28 }, { 25, 19 }, { 24, 20 }, { 28, 16 }, |
| 159 | { 31, 14 }, { 26, 18 }, { 19, 27 }, { 29, 15 }, |
| 160 | { 27, 17 }, { 30, 15 }, { 21, 24 }, { 22, 23 }, |
| 161 | { 26, 19 }, { 23, 22 }, { 28, 17 }, { 29, 16 }, |
| 162 | { 18, 30 }, { 24, 21 }, { 25, 20 }, { 18, 31 }, |
| 163 | { 18, 29 }, { 20, 26 }, { 19, 28 }, { 27, 18 }, |
| 164 | { 31, 15 }, { 20, 27 }, { 30, 16 }, { 19, 29 }, |
| 165 | { 29, 17 }, { 31, 16 }, { 27, 19 }, { 21, 25 }, |
| 166 | { 28, 18 }, { 26, 20 }, { 22, 24 }, { 25, 21 }, |
| 167 | { 19, 30 }, { 24, 22 }, { 30, 17 }, { 21, 26 }, |
| 168 | { 23, 23 }, { 19, 31 }, { 20, 28 }, { 31, 17 }, |
| 169 | { 28, 19 }, { 27, 20 }, { 21, 27 }, { 29, 18 }, |
| 170 | { 30, 18 }, { 25, 22 }, { 26, 21 }, { 20, 29 }, |
| 171 | { 22, 25 }, { 24, 23 }, { 29, 19 }, { 23, 24 }, |
| 172 | { 20, 31 }, { 20, 30 }, { 28, 20 }, { 21, 28 }, |
| 173 | { 22, 26 }, { 31, 18 }, { 27, 21 }, { 30, 19 }, |
| 174 | { 22, 27 }, { 29, 20 }, { 23, 25 }, { 24, 24 }, |
| 175 | { 26, 22 }, { 21, 29 }, { 25, 23 }, { 31, 19 }, |
| 176 | { 21, 30 }, { 23, 26 }, { 28, 21 }, { 21, 31 }, |
| 177 | { 22, 28 }, { 30, 20 }, { 25, 24 }, { 27, 22 }, |
| 178 | { 29, 21 }, { 26, 23 }, { 24, 25 }, { 31, 20 }, |
| 179 | { 23, 27 }, { 22, 29 }, { 30, 21 }, { 28, 22 }, |
| 180 | { 24, 26 }, { 25, 25 }, { 27, 23 }, { 22, 30 }, |
| 181 | { 23, 28 }, { 22, 31 }, { 26, 24 }, { 31, 21 }, |
| 182 | { 24, 27 }, { 29, 22 }, { 27, 24 }, { 30, 22 }, |
| 183 | { 25, 26 }, { 28, 23 }, { 23, 30 }, { 23, 29 }, |
| 184 | { 24, 28 }, { 25, 27 }, { 31, 22 }, { 23, 31 }, |
| 185 | { 26, 25 }, { 28, 24 }, { 29, 23 }, { 24, 29 }, |
| 186 | { 24, 30 }, { 27, 25 }, { 25, 28 }, { 26, 26 }, |
| 187 | { 30, 23 }, { 26, 27 }, { 31, 23 }, { 28, 25 }, |
| 188 | { 27, 26 }, { 25, 29 }, { 24, 31 }, { 29, 24 }, |
| 189 | { 30, 24 }, { 27, 27 }, { 29, 25 }, { 26, 28 }, |
| 190 | { 31, 24 }, { 25, 30 }, { 25, 31 }, { 28, 26 }, |
| 191 | { 27, 28 }, { 26, 29 }, { 30, 25 }, { 29, 26 }, |
| 192 | { 28, 27 }, { 26, 30 }, { 31, 25 }, { 27, 29 }, |
| 193 | { 26, 31 }, { 30, 26 }, { 28, 28 }, { 31, 26 }, |
| 194 | { 29, 27 }, { 27, 30 }, { 28, 29 }, { 27, 31 }, |
| 195 | { 30, 27 }, { 31, 27 }, { 28, 30 }, { 29, 28 }, |
| 196 | { 30, 28 }, { 29, 29 }, { 30, 29 }, { 31, 28 }, |
| 197 | { 28, 31 }, { 29, 30 }, { 29, 31 }, { 31, 29 }, |
| 198 | { 30, 30 }, { 30, 31 }, { 31, 30 }, { 31, 31 } |
| 199 | }; |