Mercurial > vba-linux
diff src/filters/lq2x.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/filters/lq2x.h Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,1284 @@ 1.4 +case 0 : 1.5 +case 2 : 1.6 +case 4 : 1.7 +case 6 : 1.8 +case 8 : 1.9 +case 12 : 1.10 +case 16 : 1.11 +case 20 : 1.12 +case 24 : 1.13 +case 28 : 1.14 +case 32 : 1.15 +case 34 : 1.16 +case 36 : 1.17 +case 38 : 1.18 +case 40 : 1.19 +case 44 : 1.20 +case 48 : 1.21 +case 52 : 1.22 +case 56 : 1.23 +case 60 : 1.24 +case 64 : 1.25 +case 66 : 1.26 +case 68 : 1.27 +case 70 : 1.28 +case 96 : 1.29 +case 98 : 1.30 +case 100 : 1.31 +case 102 : 1.32 +case 128 : 1.33 +case 130 : 1.34 +case 132 : 1.35 +case 134 : 1.36 +case 136 : 1.37 +case 140 : 1.38 +case 144 : 1.39 +case 148 : 1.40 +case 152 : 1.41 +case 156 : 1.42 +case 160 : 1.43 +case 162 : 1.44 +case 164 : 1.45 +case 166 : 1.46 +case 168 : 1.47 +case 172 : 1.48 +case 176 : 1.49 +case 180 : 1.50 +case 184 : 1.51 +case 188 : 1.52 +case 192 : 1.53 +case 194 : 1.54 +case 196 : 1.55 +case 198 : 1.56 +case 224 : 1.57 +case 226 : 1.58 +case 228 : 1.59 +case 230 : 1.60 +{ 1.61 + P0 = IC(0); 1.62 + P1 = IC(0); 1.63 + P2 = IC(0); 1.64 + P3 = IC(0); 1.65 +} break; 1.66 +case 1 : 1.67 +case 5 : 1.68 +case 9 : 1.69 +case 13 : 1.70 +case 17 : 1.71 +case 21 : 1.72 +case 25 : 1.73 +case 29 : 1.74 +case 33 : 1.75 +case 37 : 1.76 +case 41 : 1.77 +case 45 : 1.78 +case 49 : 1.79 +case 53 : 1.80 +case 57 : 1.81 +case 61 : 1.82 +case 65 : 1.83 +case 69 : 1.84 +case 97 : 1.85 +case 101 : 1.86 +case 129 : 1.87 +case 133 : 1.88 +case 137 : 1.89 +case 141 : 1.90 +case 145 : 1.91 +case 149 : 1.92 +case 153 : 1.93 +case 157 : 1.94 +case 161 : 1.95 +case 165 : 1.96 +case 169 : 1.97 +case 173 : 1.98 +case 177 : 1.99 +case 181 : 1.100 +case 185 : 1.101 +case 189 : 1.102 +case 193 : 1.103 +case 197 : 1.104 +case 225 : 1.105 +case 229 : 1.106 +{ 1.107 + P0 = IC(1); 1.108 + P1 = IC(1); 1.109 + P2 = IC(1); 1.110 + P3 = IC(1); 1.111 +} break; 1.112 +case 3 : 1.113 +case 35 : 1.114 +case 67 : 1.115 +case 99 : 1.116 +case 131 : 1.117 +case 163 : 1.118 +case 195 : 1.119 +case 227 : 1.120 +{ 1.121 + P0 = IC(2); 1.122 + P1 = IC(2); 1.123 + P2 = IC(2); 1.124 + P3 = IC(2); 1.125 +} break; 1.126 +case 7 : 1.127 +case 39 : 1.128 +case 71 : 1.129 +case 103 : 1.130 +case 135 : 1.131 +case 167 : 1.132 +case 199 : 1.133 +case 231 : 1.134 +{ 1.135 + P0 = IC(3); 1.136 + P1 = IC(3); 1.137 + P2 = IC(3); 1.138 + P3 = IC(3); 1.139 +} break; 1.140 +case 10 : 1.141 +case 138 : 1.142 +{ 1.143 + P1 = IC(0); 1.144 + P2 = IC(0); 1.145 + P3 = IC(0); 1.146 + if (MUL) { 1.147 + P0 = IC(0); 1.148 + } else { 1.149 + P0 = I211(0, 1, 3); 1.150 + } 1.151 +} break; 1.152 +case 11 : 1.153 +case 27 : 1.154 +case 75 : 1.155 +case 139 : 1.156 +case 155 : 1.157 +case 203 : 1.158 +{ 1.159 + P1 = IC(2); 1.160 + P2 = IC(2); 1.161 + P3 = IC(2); 1.162 + if (MUL) { 1.163 + P0 = IC(2); 1.164 + } else { 1.165 + P0 = I211(2, 1, 3); 1.166 + } 1.167 +} break; 1.168 +case 14 : 1.169 +case 142 : 1.170 +{ 1.171 + P2 = IC(0); 1.172 + P3 = IC(0); 1.173 + if (MUL) { 1.174 + P0 = IC(0); 1.175 + P1 = IC(0); 1.176 + } else { 1.177 + P0 = I332(1, 3, 0); 1.178 + P1 = I31(0, 1); 1.179 + } 1.180 +} break; 1.181 +case 15 : 1.182 +case 143 : 1.183 +case 207 : 1.184 +{ 1.185 + P2 = IC(4); 1.186 + P3 = IC(4); 1.187 + if (MUL) { 1.188 + P0 = IC(4); 1.189 + P1 = IC(4); 1.190 + } else { 1.191 + P0 = I332(1, 3, 4); 1.192 + P1 = I31(4, 1); 1.193 + } 1.194 +} break; 1.195 +case 18 : 1.196 +case 22 : 1.197 +case 30 : 1.198 +case 50 : 1.199 +case 54 : 1.200 +case 62 : 1.201 +case 86 : 1.202 +case 118 : 1.203 +{ 1.204 + P0 = IC(0); 1.205 + P2 = IC(0); 1.206 + P3 = IC(0); 1.207 + if (MUR) { 1.208 + P1 = IC(0); 1.209 + } else { 1.210 + P1 = I211(0, 1, 5); 1.211 + } 1.212 +} break; 1.213 +case 19 : 1.214 +case 51 : 1.215 +{ 1.216 + P2 = IC(2); 1.217 + P3 = IC(2); 1.218 + if (MUR) { 1.219 + P0 = IC(2); 1.220 + P1 = IC(2); 1.221 + } else { 1.222 + P0 = I31(2, 1); 1.223 + P1 = I332(1, 5, 2); 1.224 + } 1.225 +} break; 1.226 +case 23 : 1.227 +case 55 : 1.228 +case 119 : 1.229 +{ 1.230 + P2 = IC(3); 1.231 + P3 = IC(3); 1.232 + if (MUR) { 1.233 + P0 = IC(3); 1.234 + P1 = IC(3); 1.235 + } else { 1.236 + P0 = I31(3, 1); 1.237 + P1 = I332(1, 5, 3); 1.238 + } 1.239 +} break; 1.240 +case 26 : 1.241 +{ 1.242 + P2 = IC(0); 1.243 + P3 = IC(0); 1.244 + if (MUL) { 1.245 + P0 = IC(0); 1.246 + } else { 1.247 + P0 = I211(0, 1, 3); 1.248 + } 1.249 + if (MUR) { 1.250 + P1 = IC(0); 1.251 + } else { 1.252 + P1 = I211(0, 1, 5); 1.253 + } 1.254 +} break; 1.255 +case 31 : 1.256 +case 95 : 1.257 +{ 1.258 + P2 = IC(4); 1.259 + P3 = IC(4); 1.260 + if (MUL) { 1.261 + P0 = IC(4); 1.262 + } else { 1.263 + P0 = I211(4, 1, 3); 1.264 + } 1.265 + if (MUR) { 1.266 + P1 = IC(4); 1.267 + } else { 1.268 + P1 = I211(4, 1, 5); 1.269 + } 1.270 +} break; 1.271 +case 42 : 1.272 +case 170 : 1.273 +{ 1.274 + P1 = IC(0); 1.275 + P3 = IC(0); 1.276 + if (MUL) { 1.277 + P0 = IC(0); 1.278 + P2 = IC(0); 1.279 + } else { 1.280 + P0 = I332(1, 3, 0); 1.281 + P2 = I31(0, 3); 1.282 + } 1.283 +} break; 1.284 +case 43 : 1.285 +case 171 : 1.286 +case 187 : 1.287 +{ 1.288 + P1 = IC(2); 1.289 + P3 = IC(2); 1.290 + if (MUL) { 1.291 + P0 = IC(2); 1.292 + P2 = IC(2); 1.293 + } else { 1.294 + P0 = I332(1, 3, 2); 1.295 + P2 = I31(2, 3); 1.296 + } 1.297 +} break; 1.298 +case 46 : 1.299 +case 174 : 1.300 +{ 1.301 + P1 = IC(0); 1.302 + P2 = IC(0); 1.303 + P3 = IC(0); 1.304 + if (MUL) { 1.305 + P0 = IC(0); 1.306 + } else { 1.307 + P0 = I611(0, 1, 3); 1.308 + } 1.309 +} break; 1.310 +case 47 : 1.311 +case 175 : 1.312 +{ 1.313 + P1 = IC(4); 1.314 + P2 = IC(4); 1.315 + P3 = IC(4); 1.316 + if (MUL) { 1.317 + P0 = IC(4); 1.318 + } else { 1.319 + P0 = I1411(4, 1, 3); 1.320 + } 1.321 +} break; 1.322 +case 58 : 1.323 +case 154 : 1.324 +case 186 : 1.325 +{ 1.326 + P2 = IC(0); 1.327 + P3 = IC(0); 1.328 + if (MUL) { 1.329 + P0 = IC(0); 1.330 + } else { 1.331 + P0 = I611(0, 1, 3); 1.332 + } 1.333 + if (MUR) { 1.334 + P1 = IC(0); 1.335 + } else { 1.336 + P1 = I611(0, 1, 5); 1.337 + } 1.338 +} break; 1.339 +case 59 : 1.340 +{ 1.341 + P2 = IC(2); 1.342 + P3 = IC(2); 1.343 + if (MUL) { 1.344 + P0 = IC(2); 1.345 + } else { 1.346 + P0 = I211(2, 1, 3); 1.347 + } 1.348 + if (MUR) { 1.349 + P1 = IC(2); 1.350 + } else { 1.351 + P1 = I611(2, 1, 5); 1.352 + } 1.353 +} break; 1.354 +case 63 : 1.355 +{ 1.356 + P2 = IC(4); 1.357 + P3 = IC(4); 1.358 + if (MUL) { 1.359 + P0 = IC(4); 1.360 + } else { 1.361 + P0 = I1411(4, 1, 3); 1.362 + } 1.363 + if (MUR) { 1.364 + P1 = IC(4); 1.365 + } else { 1.366 + P1 = I211(4, 1, 5); 1.367 + } 1.368 +} break; 1.369 +case 72 : 1.370 +case 76 : 1.371 +case 104 : 1.372 +case 106 : 1.373 +case 108 : 1.374 +case 110 : 1.375 +case 120 : 1.376 +case 124 : 1.377 +{ 1.378 + P0 = IC(0); 1.379 + P1 = IC(0); 1.380 + P3 = IC(0); 1.381 + if (MDL) { 1.382 + P2 = IC(0); 1.383 + } else { 1.384 + P2 = I211(0, 3, 7); 1.385 + } 1.386 +} break; 1.387 +case 73 : 1.388 +case 77 : 1.389 +case 105 : 1.390 +case 109 : 1.391 +case 125 : 1.392 +{ 1.393 + P1 = IC(1); 1.394 + P3 = IC(1); 1.395 + if (MDL) { 1.396 + P0 = IC(1); 1.397 + P2 = IC(1); 1.398 + } else { 1.399 + P0 = I31(1, 3); 1.400 + P2 = I332(3, 7, 1); 1.401 + } 1.402 +} break; 1.403 +case 74 : 1.404 +{ 1.405 + P1 = IC(0); 1.406 + P3 = IC(0); 1.407 + if (MDL) { 1.408 + P2 = IC(0); 1.409 + } else { 1.410 + P2 = I211(0, 3, 7); 1.411 + } 1.412 + if (MUL) { 1.413 + P0 = IC(0); 1.414 + } else { 1.415 + P0 = I211(0, 1, 3); 1.416 + } 1.417 +} break; 1.418 +case 78 : 1.419 +case 202 : 1.420 +case 206 : 1.421 +{ 1.422 + P1 = IC(0); 1.423 + P3 = IC(0); 1.424 + if (MDL) { 1.425 + P2 = IC(0); 1.426 + } else { 1.427 + P2 = I611(0, 3, 7); 1.428 + } 1.429 + if (MUL) { 1.430 + P0 = IC(0); 1.431 + } else { 1.432 + P0 = I611(0, 1, 3); 1.433 + } 1.434 +} break; 1.435 +case 79 : 1.436 +{ 1.437 + P1 = IC(4); 1.438 + P3 = IC(4); 1.439 + if (MDL) { 1.440 + P2 = IC(4); 1.441 + } else { 1.442 + P2 = I611(4, 3, 7); 1.443 + } 1.444 + if (MUL) { 1.445 + P0 = IC(4); 1.446 + } else { 1.447 + P0 = I211(4, 1, 3); 1.448 + } 1.449 +} break; 1.450 +case 80 : 1.451 +case 208 : 1.452 +case 210 : 1.453 +case 216 : 1.454 +{ 1.455 + P0 = IC(0); 1.456 + P1 = IC(0); 1.457 + P2 = IC(0); 1.458 + if (MDR) { 1.459 + P3 = IC(0); 1.460 + } else { 1.461 + P3 = I211(0, 5, 7); 1.462 + } 1.463 +} break; 1.464 +case 81 : 1.465 +case 209 : 1.466 +case 217 : 1.467 +{ 1.468 + P0 = IC(1); 1.469 + P1 = IC(1); 1.470 + P2 = IC(1); 1.471 + if (MDR) { 1.472 + P3 = IC(1); 1.473 + } else { 1.474 + P3 = I211(1, 5, 7); 1.475 + } 1.476 +} break; 1.477 +case 82 : 1.478 +case 214 : 1.479 +case 222 : 1.480 +{ 1.481 + P0 = IC(0); 1.482 + P2 = IC(0); 1.483 + if (MDR) { 1.484 + P3 = IC(0); 1.485 + } else { 1.486 + P3 = I211(0, 5, 7); 1.487 + } 1.488 + if (MUR) { 1.489 + P1 = IC(0); 1.490 + } else { 1.491 + P1 = I211(0, 1, 5); 1.492 + } 1.493 +} break; 1.494 +case 83 : 1.495 +case 115 : 1.496 +{ 1.497 + P0 = IC(2); 1.498 + P2 = IC(2); 1.499 + if (MDR) { 1.500 + P3 = IC(2); 1.501 + } else { 1.502 + P3 = I611(2, 5, 7); 1.503 + } 1.504 + if (MUR) { 1.505 + P1 = IC(2); 1.506 + } else { 1.507 + P1 = I611(2, 1, 5); 1.508 + } 1.509 +} break; 1.510 +case 84 : 1.511 +case 212 : 1.512 +{ 1.513 + P0 = IC(0); 1.514 + P2 = IC(0); 1.515 + if (MDR) { 1.516 + P1 = IC(0); 1.517 + P3 = IC(0); 1.518 + } else { 1.519 + P1 = I31(0, 5); 1.520 + P3 = I332(5, 7, 0); 1.521 + } 1.522 +} break; 1.523 +case 85 : 1.524 +case 213 : 1.525 +case 221 : 1.526 +{ 1.527 + P0 = IC(1); 1.528 + P2 = IC(1); 1.529 + if (MDR) { 1.530 + P1 = IC(1); 1.531 + P3 = IC(1); 1.532 + } else { 1.533 + P1 = I31(1, 5); 1.534 + P3 = I332(5, 7, 1); 1.535 + } 1.536 +} break; 1.537 +case 87 : 1.538 +{ 1.539 + P0 = IC(3); 1.540 + P2 = IC(3); 1.541 + if (MDR) { 1.542 + P3 = IC(3); 1.543 + } else { 1.544 + P3 = I611(3, 5, 7); 1.545 + } 1.546 + if (MUR) { 1.547 + P1 = IC(3); 1.548 + } else { 1.549 + P1 = I211(3, 1, 5); 1.550 + } 1.551 +} break; 1.552 +case 88 : 1.553 +case 248 : 1.554 +case 250 : 1.555 +{ 1.556 + P0 = IC(0); 1.557 + P1 = IC(0); 1.558 + if (MDL) { 1.559 + P2 = IC(0); 1.560 + } else { 1.561 + P2 = I211(0, 3, 7); 1.562 + } 1.563 + if (MDR) { 1.564 + P3 = IC(0); 1.565 + } else { 1.566 + P3 = I211(0, 5, 7); 1.567 + } 1.568 +} break; 1.569 +case 89 : 1.570 +case 93 : 1.571 +{ 1.572 + P0 = IC(1); 1.573 + P1 = IC(1); 1.574 + if (MDL) { 1.575 + P2 = IC(1); 1.576 + } else { 1.577 + P2 = I611(1, 3, 7); 1.578 + } 1.579 + if (MDR) { 1.580 + P3 = IC(1); 1.581 + } else { 1.582 + P3 = I611(1, 5, 7); 1.583 + } 1.584 +} break; 1.585 +case 90 : 1.586 +{ 1.587 + if (MDL) { 1.588 + P2 = IC(0); 1.589 + } else { 1.590 + P2 = I611(0, 3, 7); 1.591 + } 1.592 + if (MDR) { 1.593 + P3 = IC(0); 1.594 + } else { 1.595 + P3 = I611(0, 5, 7); 1.596 + } 1.597 + if (MUL) { 1.598 + P0 = IC(0); 1.599 + } else { 1.600 + P0 = I611(0, 1, 3); 1.601 + } 1.602 + if (MUR) { 1.603 + P1 = IC(0); 1.604 + } else { 1.605 + P1 = I611(0, 1, 5); 1.606 + } 1.607 +} break; 1.608 +case 91 : 1.609 +{ 1.610 + if (MDL) { 1.611 + P2 = IC(2); 1.612 + } else { 1.613 + P2 = I611(2, 3, 7); 1.614 + } 1.615 + if (MDR) { 1.616 + P3 = IC(2); 1.617 + } else { 1.618 + P3 = I611(2, 5, 7); 1.619 + } 1.620 + if (MUL) { 1.621 + P0 = IC(2); 1.622 + } else { 1.623 + P0 = I211(2, 1, 3); 1.624 + } 1.625 + if (MUR) { 1.626 + P1 = IC(2); 1.627 + } else { 1.628 + P1 = I611(2, 1, 5); 1.629 + } 1.630 +} break; 1.631 +case 92 : 1.632 +{ 1.633 + P0 = IC(0); 1.634 + P1 = IC(0); 1.635 + if (MDL) { 1.636 + P2 = IC(0); 1.637 + } else { 1.638 + P2 = I611(0, 3, 7); 1.639 + } 1.640 + if (MDR) { 1.641 + P3 = IC(0); 1.642 + } else { 1.643 + P3 = I611(0, 5, 7); 1.644 + } 1.645 +} break; 1.646 +case 94 : 1.647 +{ 1.648 + if (MDL) { 1.649 + P2 = IC(0); 1.650 + } else { 1.651 + P2 = I611(0, 3, 7); 1.652 + } 1.653 + if (MDR) { 1.654 + P3 = IC(0); 1.655 + } else { 1.656 + P3 = I611(0, 5, 7); 1.657 + } 1.658 + if (MUL) { 1.659 + P0 = IC(0); 1.660 + } else { 1.661 + P0 = I611(0, 1, 3); 1.662 + } 1.663 + if (MUR) { 1.664 + P1 = IC(0); 1.665 + } else { 1.666 + P1 = I211(0, 1, 5); 1.667 + } 1.668 +} break; 1.669 +case 107 : 1.670 +case 123 : 1.671 +{ 1.672 + P1 = IC(2); 1.673 + P3 = IC(2); 1.674 + if (MDL) { 1.675 + P2 = IC(2); 1.676 + } else { 1.677 + P2 = I211(2, 3, 7); 1.678 + } 1.679 + if (MUL) { 1.680 + P0 = IC(2); 1.681 + } else { 1.682 + P0 = I211(2, 1, 3); 1.683 + } 1.684 +} break; 1.685 +case 111 : 1.686 +{ 1.687 + P1 = IC(4); 1.688 + P3 = IC(4); 1.689 + if (MDL) { 1.690 + P2 = IC(4); 1.691 + } else { 1.692 + P2 = I211(4, 3, 7); 1.693 + } 1.694 + if (MUL) { 1.695 + P0 = IC(4); 1.696 + } else { 1.697 + P0 = I1411(4, 1, 3); 1.698 + } 1.699 +} break; 1.700 +case 112 : 1.701 +case 240 : 1.702 +{ 1.703 + P0 = IC(0); 1.704 + P1 = IC(0); 1.705 + if (MDR) { 1.706 + P2 = IC(0); 1.707 + P3 = IC(0); 1.708 + } else { 1.709 + P2 = I31(0, 7); 1.710 + P3 = I332(5, 7, 0); 1.711 + } 1.712 +} break; 1.713 +case 113 : 1.714 +case 241 : 1.715 +{ 1.716 + P0 = IC(1); 1.717 + P1 = IC(1); 1.718 + if (MDR) { 1.719 + P2 = IC(1); 1.720 + P3 = IC(1); 1.721 + } else { 1.722 + P2 = I31(1, 7); 1.723 + P3 = I332(5, 7, 1); 1.724 + } 1.725 +} break; 1.726 +case 114 : 1.727 +{ 1.728 + P0 = IC(0); 1.729 + P2 = IC(0); 1.730 + if (MDR) { 1.731 + P3 = IC(0); 1.732 + } else { 1.733 + P3 = I611(0, 5, 7); 1.734 + } 1.735 + if (MUR) { 1.736 + P1 = IC(0); 1.737 + } else { 1.738 + P1 = I611(0, 1, 5); 1.739 + } 1.740 +} break; 1.741 +case 116 : 1.742 +{ 1.743 + P0 = IC(0); 1.744 + P1 = IC(0); 1.745 + P2 = IC(0); 1.746 + if (MDR) { 1.747 + P3 = IC(0); 1.748 + } else { 1.749 + P3 = I611(0, 5, 7); 1.750 + } 1.751 +} break; 1.752 +case 117 : 1.753 +{ 1.754 + P0 = IC(1); 1.755 + P1 = IC(1); 1.756 + P2 = IC(1); 1.757 + if (MDR) { 1.758 + P3 = IC(1); 1.759 + } else { 1.760 + P3 = I611(1, 5, 7); 1.761 + } 1.762 +} break; 1.763 +case 121 : 1.764 +{ 1.765 + P0 = IC(1); 1.766 + P1 = IC(1); 1.767 + if (MDL) { 1.768 + P2 = IC(1); 1.769 + } else { 1.770 + P2 = I211(1, 3, 7); 1.771 + } 1.772 + if (MDR) { 1.773 + P3 = IC(1); 1.774 + } else { 1.775 + P3 = I611(1, 5, 7); 1.776 + } 1.777 +} break; 1.778 +case 122 : 1.779 +{ 1.780 + if (MDL) { 1.781 + P2 = IC(0); 1.782 + } else { 1.783 + P2 = I211(0, 3, 7); 1.784 + } 1.785 + if (MDR) { 1.786 + P3 = IC(0); 1.787 + } else { 1.788 + P3 = I611(0, 5, 7); 1.789 + } 1.790 + if (MUL) { 1.791 + P0 = IC(0); 1.792 + } else { 1.793 + P0 = I611(0, 1, 3); 1.794 + } 1.795 + if (MUR) { 1.796 + P1 = IC(0); 1.797 + } else { 1.798 + P1 = I611(0, 1, 5); 1.799 + } 1.800 +} break; 1.801 +case 126 : 1.802 +{ 1.803 + P0 = IC(0); 1.804 + P3 = IC(0); 1.805 + if (MDL) { 1.806 + P2 = IC(0); 1.807 + } else { 1.808 + P2 = I211(0, 3, 7); 1.809 + } 1.810 + if (MUR) { 1.811 + P1 = IC(0); 1.812 + } else { 1.813 + P1 = I211(0, 1, 5); 1.814 + } 1.815 +} break; 1.816 +case 127 : 1.817 +{ 1.818 + P3 = IC(4); 1.819 + if (MDL) { 1.820 + P2 = IC(4); 1.821 + } else { 1.822 + P2 = I211(4, 3, 7); 1.823 + } 1.824 + if (MUL) { 1.825 + P0 = IC(4); 1.826 + } else { 1.827 + P0 = I1411(4, 1, 3); 1.828 + } 1.829 + if (MUR) { 1.830 + P1 = IC(4); 1.831 + } else { 1.832 + P1 = I211(4, 1, 5); 1.833 + } 1.834 +} break; 1.835 +case 146 : 1.836 +case 150 : 1.837 +case 178 : 1.838 +case 182 : 1.839 +case 190 : 1.840 +{ 1.841 + P0 = IC(0); 1.842 + P2 = IC(0); 1.843 + if (MUR) { 1.844 + P1 = IC(0); 1.845 + P3 = IC(0); 1.846 + } else { 1.847 + P1 = I332(1, 5, 0); 1.848 + P3 = I31(0, 5); 1.849 + } 1.850 +} break; 1.851 +case 147 : 1.852 +case 179 : 1.853 +{ 1.854 + P0 = IC(2); 1.855 + P2 = IC(2); 1.856 + P3 = IC(2); 1.857 + if (MUR) { 1.858 + P1 = IC(2); 1.859 + } else { 1.860 + P1 = I611(2, 1, 5); 1.861 + } 1.862 +} break; 1.863 +case 151 : 1.864 +case 183 : 1.865 +{ 1.866 + P0 = IC(3); 1.867 + P2 = IC(3); 1.868 + P3 = IC(3); 1.869 + if (MUR) { 1.870 + P1 = IC(3); 1.871 + } else { 1.872 + P1 = I1411(3, 1, 5); 1.873 + } 1.874 +} break; 1.875 +case 158 : 1.876 +{ 1.877 + P2 = IC(0); 1.878 + P3 = IC(0); 1.879 + if (MUL) { 1.880 + P0 = IC(0); 1.881 + } else { 1.882 + P0 = I611(0, 1, 3); 1.883 + } 1.884 + if (MUR) { 1.885 + P1 = IC(0); 1.886 + } else { 1.887 + P1 = I211(0, 1, 5); 1.888 + } 1.889 +} break; 1.890 +case 159 : 1.891 +{ 1.892 + P2 = IC(4); 1.893 + P3 = IC(4); 1.894 + if (MUL) { 1.895 + P0 = IC(4); 1.896 + } else { 1.897 + P0 = I211(4, 1, 3); 1.898 + } 1.899 + if (MUR) { 1.900 + P1 = IC(4); 1.901 + } else { 1.902 + P1 = I1411(4, 1, 5); 1.903 + } 1.904 +} break; 1.905 +case 191 : 1.906 +{ 1.907 + P2 = IC(4); 1.908 + P3 = IC(4); 1.909 + if (MUL) { 1.910 + P0 = IC(4); 1.911 + } else { 1.912 + P0 = I1411(4, 1, 3); 1.913 + } 1.914 + if (MUR) { 1.915 + P1 = IC(4); 1.916 + } else { 1.917 + P1 = I1411(4, 1, 5); 1.918 + } 1.919 +} break; 1.920 +case 200 : 1.921 +case 204 : 1.922 +case 232 : 1.923 +case 236 : 1.924 +case 238 : 1.925 +{ 1.926 + P0 = IC(0); 1.927 + P1 = IC(0); 1.928 + if (MDL) { 1.929 + P2 = IC(0); 1.930 + P3 = IC(0); 1.931 + } else { 1.932 + P2 = I332(3, 7, 0); 1.933 + P3 = I31(0, 7); 1.934 + } 1.935 +} break; 1.936 +case 201 : 1.937 +case 205 : 1.938 +{ 1.939 + P0 = IC(1); 1.940 + P1 = IC(1); 1.941 + P3 = IC(1); 1.942 + if (MDL) { 1.943 + P2 = IC(1); 1.944 + } else { 1.945 + P2 = I611(1, 3, 7); 1.946 + } 1.947 +} break; 1.948 +case 211 : 1.949 +{ 1.950 + P0 = IC(2); 1.951 + P1 = IC(2); 1.952 + P2 = IC(2); 1.953 + if (MDR) { 1.954 + P3 = IC(2); 1.955 + } else { 1.956 + P3 = I211(2, 5, 7); 1.957 + } 1.958 +} break; 1.959 +case 215 : 1.960 +{ 1.961 + P0 = IC(3); 1.962 + P2 = IC(3); 1.963 + if (MDR) { 1.964 + P3 = IC(3); 1.965 + } else { 1.966 + P3 = I211(3, 5, 7); 1.967 + } 1.968 + if (MUR) { 1.969 + P1 = IC(3); 1.970 + } else { 1.971 + P1 = I1411(3, 1, 5); 1.972 + } 1.973 +} break; 1.974 +case 218 : 1.975 +{ 1.976 + if (MDL) { 1.977 + P2 = IC(0); 1.978 + } else { 1.979 + P2 = I611(0, 3, 7); 1.980 + } 1.981 + if (MDR) { 1.982 + P3 = IC(0); 1.983 + } else { 1.984 + P3 = I211(0, 5, 7); 1.985 + } 1.986 + if (MUL) { 1.987 + P0 = IC(0); 1.988 + } else { 1.989 + P0 = I611(0, 1, 3); 1.990 + } 1.991 + if (MUR) { 1.992 + P1 = IC(0); 1.993 + } else { 1.994 + P1 = I611(0, 1, 5); 1.995 + } 1.996 +} break; 1.997 +case 219 : 1.998 +{ 1.999 + P1 = IC(2); 1.1000 + P2 = IC(2); 1.1001 + if (MDR) { 1.1002 + P3 = IC(2); 1.1003 + } else { 1.1004 + P3 = I211(2, 5, 7); 1.1005 + } 1.1006 + if (MUL) { 1.1007 + P0 = IC(2); 1.1008 + } else { 1.1009 + P0 = I211(2, 1, 3); 1.1010 + } 1.1011 +} break; 1.1012 +case 220 : 1.1013 +{ 1.1014 + P0 = IC(0); 1.1015 + P1 = IC(0); 1.1016 + if (MDL) { 1.1017 + P2 = IC(0); 1.1018 + } else { 1.1019 + P2 = I611(0, 3, 7); 1.1020 + } 1.1021 + if (MDR) { 1.1022 + P3 = IC(0); 1.1023 + } else { 1.1024 + P3 = I211(0, 5, 7); 1.1025 + } 1.1026 +} break; 1.1027 +case 223 : 1.1028 +{ 1.1029 + P2 = IC(4); 1.1030 + if (MDR) { 1.1031 + P3 = IC(4); 1.1032 + } else { 1.1033 + P3 = I211(4, 5, 7); 1.1034 + } 1.1035 + if (MUL) { 1.1036 + P0 = IC(4); 1.1037 + } else { 1.1038 + P0 = I211(4, 1, 3); 1.1039 + } 1.1040 + if (MUR) { 1.1041 + P1 = IC(4); 1.1042 + } else { 1.1043 + P1 = I1411(4, 1, 5); 1.1044 + } 1.1045 +} break; 1.1046 +case 233 : 1.1047 +case 237 : 1.1048 +{ 1.1049 + P0 = IC(1); 1.1050 + P1 = IC(1); 1.1051 + P3 = IC(1); 1.1052 + if (MDL) { 1.1053 + P2 = IC(1); 1.1054 + } else { 1.1055 + P2 = I1411(1, 3, 7); 1.1056 + } 1.1057 +} break; 1.1058 +case 234 : 1.1059 +{ 1.1060 + P1 = IC(0); 1.1061 + P3 = IC(0); 1.1062 + if (MDL) { 1.1063 + P2 = IC(0); 1.1064 + } else { 1.1065 + P2 = I211(0, 3, 7); 1.1066 + } 1.1067 + if (MUL) { 1.1068 + P0 = IC(0); 1.1069 + } else { 1.1070 + P0 = I611(0, 1, 3); 1.1071 + } 1.1072 +} break; 1.1073 +case 235 : 1.1074 +{ 1.1075 + P1 = IC(2); 1.1076 + P3 = IC(2); 1.1077 + if (MDL) { 1.1078 + P2 = IC(2); 1.1079 + } else { 1.1080 + P2 = I1411(2, 3, 7); 1.1081 + } 1.1082 + if (MUL) { 1.1083 + P0 = IC(2); 1.1084 + } else { 1.1085 + P0 = I211(2, 1, 3); 1.1086 + } 1.1087 +} break; 1.1088 +case 239 : 1.1089 +{ 1.1090 + P1 = IC(4); 1.1091 + P3 = IC(4); 1.1092 + if (MDL) { 1.1093 + P2 = IC(4); 1.1094 + } else { 1.1095 + P2 = I1411(4, 3, 7); 1.1096 + } 1.1097 + if (MUL) { 1.1098 + P0 = IC(4); 1.1099 + } else { 1.1100 + P0 = I1411(4, 1, 3); 1.1101 + } 1.1102 +} break; 1.1103 +case 242 : 1.1104 +{ 1.1105 + P0 = IC(0); 1.1106 + P2 = IC(0); 1.1107 + if (MDR) { 1.1108 + P3 = IC(0); 1.1109 + } else { 1.1110 + P3 = I211(0, 5, 7); 1.1111 + } 1.1112 + if (MUR) { 1.1113 + P1 = IC(0); 1.1114 + } else { 1.1115 + P1 = I611(0, 1, 5); 1.1116 + } 1.1117 +} break; 1.1118 +case 243 : 1.1119 +{ 1.1120 + P0 = IC(2); 1.1121 + P1 = IC(2); 1.1122 + if (MDR) { 1.1123 + P2 = IC(2); 1.1124 + P3 = IC(2); 1.1125 + } else { 1.1126 + P2 = I31(2, 7); 1.1127 + P3 = I332(5, 7, 2); 1.1128 + } 1.1129 +} break; 1.1130 +case 244 : 1.1131 +{ 1.1132 + P0 = IC(0); 1.1133 + P1 = IC(0); 1.1134 + P2 = IC(0); 1.1135 + if (MDR) { 1.1136 + P3 = IC(0); 1.1137 + } else { 1.1138 + P3 = I1411(0, 5, 7); 1.1139 + } 1.1140 +} break; 1.1141 +case 245 : 1.1142 +{ 1.1143 + P0 = IC(1); 1.1144 + P1 = IC(1); 1.1145 + P2 = IC(1); 1.1146 + if (MDR) { 1.1147 + P3 = IC(1); 1.1148 + } else { 1.1149 + P3 = I1411(1, 5, 7); 1.1150 + } 1.1151 +} break; 1.1152 +case 246 : 1.1153 +{ 1.1154 + P0 = IC(0); 1.1155 + P2 = IC(0); 1.1156 + if (MDR) { 1.1157 + P3 = IC(0); 1.1158 + } else { 1.1159 + P3 = I1411(0, 5, 7); 1.1160 + } 1.1161 + if (MUR) { 1.1162 + P1 = IC(0); 1.1163 + } else { 1.1164 + P1 = I211(0, 1, 5); 1.1165 + } 1.1166 +} break; 1.1167 +case 247 : 1.1168 +{ 1.1169 + P0 = IC(3); 1.1170 + P2 = IC(3); 1.1171 + if (MDR) { 1.1172 + P3 = IC(3); 1.1173 + } else { 1.1174 + P3 = I1411(3, 5, 7); 1.1175 + } 1.1176 + if (MUR) { 1.1177 + P1 = IC(3); 1.1178 + } else { 1.1179 + P1 = I1411(3, 1, 5); 1.1180 + } 1.1181 +} break; 1.1182 +case 249 : 1.1183 +{ 1.1184 + P0 = IC(1); 1.1185 + P1 = IC(1); 1.1186 + if (MDL) { 1.1187 + P2 = IC(1); 1.1188 + } else { 1.1189 + P2 = I1411(1, 3, 7); 1.1190 + } 1.1191 + if (MDR) { 1.1192 + P3 = IC(1); 1.1193 + } else { 1.1194 + P3 = I211(1, 5, 7); 1.1195 + } 1.1196 +} break; 1.1197 +case 251 : 1.1198 +{ 1.1199 + P1 = IC(2); 1.1200 + if (MDL) { 1.1201 + P2 = IC(2); 1.1202 + } else { 1.1203 + P2 = I1411(2, 3, 7); 1.1204 + } 1.1205 + if (MDR) { 1.1206 + P3 = IC(2); 1.1207 + } else { 1.1208 + P3 = I211(2, 5, 7); 1.1209 + } 1.1210 + if (MUL) { 1.1211 + P0 = IC(2); 1.1212 + } else { 1.1213 + P0 = I211(2, 1, 3); 1.1214 + } 1.1215 +} break; 1.1216 +case 252 : 1.1217 +{ 1.1218 + P0 = IC(0); 1.1219 + P1 = IC(0); 1.1220 + if (MDL) { 1.1221 + P2 = IC(0); 1.1222 + } else { 1.1223 + P2 = I211(0, 3, 7); 1.1224 + } 1.1225 + if (MDR) { 1.1226 + P3 = IC(0); 1.1227 + } else { 1.1228 + P3 = I1411(0, 5, 7); 1.1229 + } 1.1230 +} break; 1.1231 +case 253 : 1.1232 +{ 1.1233 + P0 = IC(1); 1.1234 + P1 = IC(1); 1.1235 + if (MDL) { 1.1236 + P2 = IC(1); 1.1237 + } else { 1.1238 + P2 = I1411(1, 3, 7); 1.1239 + } 1.1240 + if (MDR) { 1.1241 + P3 = IC(1); 1.1242 + } else { 1.1243 + P3 = I1411(1, 5, 7); 1.1244 + } 1.1245 +} break; 1.1246 +case 254 : 1.1247 +{ 1.1248 + P0 = IC(0); 1.1249 + if (MDL) { 1.1250 + P2 = IC(0); 1.1251 + } else { 1.1252 + P2 = I211(0, 3, 7); 1.1253 + } 1.1254 + if (MDR) { 1.1255 + P3 = IC(0); 1.1256 + } else { 1.1257 + P3 = I1411(0, 5, 7); 1.1258 + } 1.1259 + if (MUR) { 1.1260 + P1 = IC(0); 1.1261 + } else { 1.1262 + P1 = I211(0, 1, 5); 1.1263 + } 1.1264 +} break; 1.1265 +case 255 : 1.1266 +{ 1.1267 + if (MDL) { 1.1268 + P2 = IC(4); 1.1269 + } else { 1.1270 + P2 = I1411(4, 3, 7); 1.1271 + } 1.1272 + if (MDR) { 1.1273 + P3 = IC(4); 1.1274 + } else { 1.1275 + P3 = I1411(4, 5, 7); 1.1276 + } 1.1277 + if (MUL) { 1.1278 + P0 = IC(4); 1.1279 + } else { 1.1280 + P0 = I1411(4, 1, 3); 1.1281 + } 1.1282 + if (MUR) { 1.1283 + P1 = IC(4); 1.1284 + } else { 1.1285 + P1 = I1411(4, 1, 5); 1.1286 + } 1.1287 +} break;