Mercurial > vba-linux
diff src/filters/hq3x32.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/hq3x32.h Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,3674 @@ 1.4 +#define PIXEL00_1M Interp1( pOut, c[5], c[1] ); 1.5 +#define PIXEL00_1U Interp1( pOut, c[5], c[2] ); 1.6 +#define PIXEL00_1L Interp1( pOut, c[5], c[4] ); 1.7 +#define PIXEL00_2 Interp2( pOut, c[5], c[4], c[2] ); 1.8 +#define PIXEL00_4 Interp4( pOut, c[5], c[4], c[2] ); 1.9 +#define PIXEL00_5 Interp5( pOut, c[4], c[2] ); 1.10 +#define PIXEL00_C *((PIXELTYPE*)(pOut)) = c[5]; 1.11 + 1.12 +#define PIXEL01_1 Interp1( pOut+SIZE_PIXEL, c[5], c[2] ); 1.13 +#define PIXEL01_3 Interp3( pOut+SIZE_PIXEL, c[5], c[2] ); 1.14 +#define PIXEL01_6 Interp1( pOut+SIZE_PIXEL, c[2], c[5] ); 1.15 +#define PIXEL01_C *((PIXELTYPE*)(pOut+SIZE_PIXEL)) = c[5]; 1.16 + 1.17 +#define PIXEL02_1M Interp1( pOut+SIZE_PIXEL+SIZE_PIXEL, c[5], c[3] ); 1.18 +#define PIXEL02_1U Interp1( pOut+SIZE_PIXEL+SIZE_PIXEL, c[5], c[2] ); 1.19 +#define PIXEL02_1R Interp1( pOut+SIZE_PIXEL+SIZE_PIXEL, c[5], c[6] ); 1.20 +#define PIXEL02_2 Interp2( pOut+SIZE_PIXEL+SIZE_PIXEL, c[5], c[2], c[6] ); 1.21 +#define PIXEL02_4 Interp4( pOut+SIZE_PIXEL+SIZE_PIXEL, c[5], c[2], c[6] ); 1.22 +#define PIXEL02_5 Interp5( pOut+SIZE_PIXEL+SIZE_PIXEL, c[2], c[6] ); 1.23 +#define PIXEL02_C *((PIXELTYPE*)(pOut+SIZE_PIXEL+SIZE_PIXEL)) = c[5]; 1.24 + 1.25 +#define PIXEL10_1 Interp1( pOut+dstPitch, c[5], c[4] ); 1.26 +#define PIXEL10_3 Interp3( pOut+dstPitch, c[5], c[4] ); 1.27 +#define PIXEL10_6 Interp1( pOut+dstPitch, c[4], c[5] ); 1.28 +#define PIXEL10_C *((PIXELTYPE*)(pOut+dstPitch)) = c[5]; 1.29 + 1.30 +#define PIXEL11 *((PIXELTYPE*)(pOut+dstPitch+SIZE_PIXEL)) = c[5]; 1.31 + 1.32 +#define PIXEL12_1 Interp1( pOut+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[6] ); 1.33 +#define PIXEL12_3 Interp3( pOut+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[6] ); 1.34 +#define PIXEL12_6 Interp1( pOut+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[6], c[5] ); 1.35 +#define PIXEL12_C *((PIXELTYPE*)(pOut+dstPitch+SIZE_PIXEL+SIZE_PIXEL)) = c[5]; 1.36 + 1.37 +#define PIXEL20_1M Interp1( pOut+dstPitch+dstPitch, c[5], c[7] ); 1.38 +#define PIXEL20_1D Interp1( pOut+dstPitch+dstPitch, c[5], c[8] ); 1.39 +#define PIXEL20_1L Interp1( pOut+dstPitch+dstPitch, c[5], c[4] ); 1.40 +#define PIXEL20_2 Interp2( pOut+dstPitch+dstPitch, c[5], c[8], c[4] ); 1.41 +#define PIXEL20_4 Interp4( pOut+dstPitch+dstPitch, c[5], c[8], c[4] ); 1.42 +#define PIXEL20_5 Interp5( pOut+dstPitch+dstPitch, c[8], c[4] ); 1.43 +#define PIXEL20_C *((PIXELTYPE*)(pOut+dstPitch+dstPitch)) = c[5]; 1.44 + 1.45 +#define PIXEL21_1 Interp1( pOut+dstPitch+dstPitch+SIZE_PIXEL, c[5], c[8] ); 1.46 +#define PIXEL21_3 Interp3( pOut+dstPitch+dstPitch+SIZE_PIXEL, c[5], c[8] ); 1.47 +#define PIXEL21_6 Interp1( pOut+dstPitch+dstPitch+SIZE_PIXEL, c[8], c[5] ); 1.48 +#define PIXEL21_C *((PIXELTYPE*)(pOut+dstPitch+dstPitch+SIZE_PIXEL)) = c[5]; 1.49 + 1.50 +#define PIXEL22_1M Interp1( pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[9] ); 1.51 +#define PIXEL22_1D Interp1( pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[8] ); 1.52 +#define PIXEL22_1R Interp1( pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[6] ); 1.53 +#define PIXEL22_2 Interp2( pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[6], c[8] ); 1.54 +#define PIXEL22_4 Interp4( pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[6], c[8] ); 1.55 +#define PIXEL22_5 Interp5( pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[6], c[8] ); 1.56 +#define PIXEL22_C *((PIXELTYPE*)(pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL)) = c[5]; 1.57 + 1.58 +#ifndef cget 1.59 +#define cget(x) c[x] 1.60 +#endif 1.61 + 1.62 + switch (pattern) 1.63 + { 1.64 + case 0: 1.65 + case 1: 1.66 + case 4: 1.67 + case 32: 1.68 + case 128: 1.69 + case 5: 1.70 + case 132: 1.71 + case 160: 1.72 + case 33: 1.73 + case 129: 1.74 + case 36: 1.75 + case 133: 1.76 + case 164: 1.77 + case 161: 1.78 + case 37: 1.79 + case 165: 1.80 + { 1.81 + PIXEL00_2 1.82 + PIXEL01_1 1.83 + PIXEL02_2 1.84 + PIXEL10_1 1.85 + PIXEL11 1.86 + PIXEL12_1 1.87 + PIXEL20_2 1.88 + PIXEL21_1 1.89 + PIXEL22_2 1.90 + break; 1.91 + } 1.92 + case 2: 1.93 + case 34: 1.94 + case 130: 1.95 + case 162: 1.96 + { 1.97 + PIXEL00_1M 1.98 + PIXEL01_C 1.99 + PIXEL02_1M 1.100 + PIXEL10_1 1.101 + PIXEL11 1.102 + PIXEL12_1 1.103 + PIXEL20_2 1.104 + PIXEL21_1 1.105 + PIXEL22_2 1.106 + break; 1.107 + } 1.108 + case 16: 1.109 + case 17: 1.110 + case 48: 1.111 + case 49: 1.112 + { 1.113 + PIXEL00_2 1.114 + PIXEL01_1 1.115 + PIXEL02_1M 1.116 + PIXEL10_1 1.117 + PIXEL11 1.118 + PIXEL12_C 1.119 + PIXEL20_2 1.120 + PIXEL21_1 1.121 + PIXEL22_1M 1.122 + break; 1.123 + } 1.124 + case 64: 1.125 + case 65: 1.126 + case 68: 1.127 + case 69: 1.128 + { 1.129 + PIXEL00_2 1.130 + PIXEL01_1 1.131 + PIXEL02_2 1.132 + PIXEL10_1 1.133 + PIXEL11 1.134 + PIXEL12_1 1.135 + PIXEL20_1M 1.136 + PIXEL21_C 1.137 + PIXEL22_1M 1.138 + break; 1.139 + } 1.140 + case 8: 1.141 + case 12: 1.142 + case 136: 1.143 + case 140: 1.144 + { 1.145 + PIXEL00_1M 1.146 + PIXEL01_1 1.147 + PIXEL02_2 1.148 + PIXEL10_C 1.149 + PIXEL11 1.150 + PIXEL12_1 1.151 + PIXEL20_1M 1.152 + PIXEL21_1 1.153 + PIXEL22_2 1.154 + break; 1.155 + } 1.156 + case 3: 1.157 + case 35: 1.158 + case 131: 1.159 + case 163: 1.160 + { 1.161 + PIXEL00_1L 1.162 + PIXEL01_C 1.163 + PIXEL02_1M 1.164 + PIXEL10_1 1.165 + PIXEL11 1.166 + PIXEL12_1 1.167 + PIXEL20_2 1.168 + PIXEL21_1 1.169 + PIXEL22_2 1.170 + break; 1.171 + } 1.172 + case 6: 1.173 + case 38: 1.174 + case 134: 1.175 + case 166: 1.176 + { 1.177 + PIXEL00_1M 1.178 + PIXEL01_C 1.179 + PIXEL02_1R 1.180 + PIXEL10_1 1.181 + PIXEL11 1.182 + PIXEL12_1 1.183 + PIXEL20_2 1.184 + PIXEL21_1 1.185 + PIXEL22_2 1.186 + break; 1.187 + } 1.188 + case 20: 1.189 + case 21: 1.190 + case 52: 1.191 + case 53: 1.192 + { 1.193 + PIXEL00_2 1.194 + PIXEL01_1 1.195 + PIXEL02_1U 1.196 + PIXEL10_1 1.197 + PIXEL11 1.198 + PIXEL12_C 1.199 + PIXEL20_2 1.200 + PIXEL21_1 1.201 + PIXEL22_1M 1.202 + break; 1.203 + } 1.204 + case 144: 1.205 + case 145: 1.206 + case 176: 1.207 + case 177: 1.208 + { 1.209 + PIXEL00_2 1.210 + PIXEL01_1 1.211 + PIXEL02_1M 1.212 + PIXEL10_1 1.213 + PIXEL11 1.214 + PIXEL12_C 1.215 + PIXEL20_2 1.216 + PIXEL21_1 1.217 + PIXEL22_1D 1.218 + break; 1.219 + } 1.220 + case 192: 1.221 + case 193: 1.222 + case 196: 1.223 + case 197: 1.224 + { 1.225 + PIXEL00_2 1.226 + PIXEL01_1 1.227 + PIXEL02_2 1.228 + PIXEL10_1 1.229 + PIXEL11 1.230 + PIXEL12_1 1.231 + PIXEL20_1M 1.232 + PIXEL21_C 1.233 + PIXEL22_1R 1.234 + break; 1.235 + } 1.236 + case 96: 1.237 + case 97: 1.238 + case 100: 1.239 + case 101: 1.240 + { 1.241 + PIXEL00_2 1.242 + PIXEL01_1 1.243 + PIXEL02_2 1.244 + PIXEL10_1 1.245 + PIXEL11 1.246 + PIXEL12_1 1.247 + PIXEL20_1L 1.248 + PIXEL21_C 1.249 + PIXEL22_1M 1.250 + break; 1.251 + } 1.252 + case 40: 1.253 + case 44: 1.254 + case 168: 1.255 + case 172: 1.256 + { 1.257 + PIXEL00_1M 1.258 + PIXEL01_1 1.259 + PIXEL02_2 1.260 + PIXEL10_C 1.261 + PIXEL11 1.262 + PIXEL12_1 1.263 + PIXEL20_1D 1.264 + PIXEL21_1 1.265 + PIXEL22_2 1.266 + break; 1.267 + } 1.268 + case 9: 1.269 + case 13: 1.270 + case 137: 1.271 + case 141: 1.272 + { 1.273 + PIXEL00_1U 1.274 + PIXEL01_1 1.275 + PIXEL02_2 1.276 + PIXEL10_C 1.277 + PIXEL11 1.278 + PIXEL12_1 1.279 + PIXEL20_1M 1.280 + PIXEL21_1 1.281 + PIXEL22_2 1.282 + break; 1.283 + } 1.284 + case 18: 1.285 + case 50: 1.286 + { 1.287 + PIXEL00_1M 1.288 + 1.289 + if (Diff(cget(2), cget(6))) 1.290 + { 1.291 + PIXEL01_C 1.292 + PIXEL02_1M 1.293 + PIXEL12_C 1.294 + } 1.295 + else 1.296 + { 1.297 + PIXEL01_3 1.298 + PIXEL02_4 1.299 + PIXEL12_3 1.300 + } 1.301 + PIXEL10_1 1.302 + PIXEL11 1.303 + PIXEL20_2 1.304 + PIXEL21_1 1.305 + PIXEL22_1M 1.306 + break; 1.307 + } 1.308 + case 80: 1.309 + case 81: 1.310 + { 1.311 + PIXEL00_2 1.312 + PIXEL01_1 1.313 + PIXEL02_1M 1.314 + PIXEL10_1 1.315 + PIXEL11 1.316 + PIXEL20_1M 1.317 + if (Diff(cget(6), cget(8))) 1.318 + { 1.319 + PIXEL12_C 1.320 + PIXEL21_C 1.321 + PIXEL22_1M 1.322 + } 1.323 + else 1.324 + { 1.325 + PIXEL12_3 1.326 + PIXEL21_3 1.327 + PIXEL22_4 1.328 + } 1.329 + break; 1.330 + } 1.331 + case 72: 1.332 + case 76: 1.333 + { 1.334 + PIXEL00_1M 1.335 + PIXEL01_1 1.336 + PIXEL02_2 1.337 + PIXEL11 1.338 + PIXEL12_1 1.339 + if (Diff(cget(8), cget(4))) 1.340 + { 1.341 + PIXEL10_C 1.342 + PIXEL20_1M 1.343 + PIXEL21_C 1.344 + } 1.345 + else 1.346 + { 1.347 + PIXEL10_3 1.348 + PIXEL20_4 1.349 + PIXEL21_3 1.350 + } 1.351 + PIXEL22_1M 1.352 + break; 1.353 + } 1.354 + case 10: 1.355 + case 138: 1.356 + { 1.357 + if (Diff(cget(4), cget(2))) 1.358 + { 1.359 + PIXEL00_1M 1.360 + PIXEL01_C 1.361 + PIXEL10_C 1.362 + } 1.363 + else 1.364 + { 1.365 + PIXEL00_4 1.366 + PIXEL01_3 1.367 + PIXEL10_3 1.368 + } 1.369 + PIXEL02_1M 1.370 + PIXEL11 1.371 + PIXEL12_1 1.372 + PIXEL20_1M 1.373 + PIXEL21_1 1.374 + PIXEL22_2 1.375 + break; 1.376 + } 1.377 + case 66: 1.378 + { 1.379 + PIXEL00_1M 1.380 + PIXEL01_C 1.381 + PIXEL02_1M 1.382 + PIXEL10_1 1.383 + PIXEL11 1.384 + PIXEL12_1 1.385 + PIXEL20_1M 1.386 + PIXEL21_C 1.387 + PIXEL22_1M 1.388 + break; 1.389 + } 1.390 + case 24: 1.391 + { 1.392 + PIXEL00_1M 1.393 + PIXEL01_1 1.394 + PIXEL02_1M 1.395 + PIXEL10_C 1.396 + PIXEL11 1.397 + PIXEL12_C 1.398 + PIXEL20_1M 1.399 + PIXEL21_1 1.400 + PIXEL22_1M 1.401 + break; 1.402 + } 1.403 + case 7: 1.404 + case 39: 1.405 + case 135: 1.406 + { 1.407 + PIXEL00_1L 1.408 + PIXEL01_C 1.409 + PIXEL02_1R 1.410 + PIXEL10_1 1.411 + PIXEL11 1.412 + PIXEL12_1 1.413 + PIXEL20_2 1.414 + PIXEL21_1 1.415 + PIXEL22_2 1.416 + break; 1.417 + } 1.418 + case 148: 1.419 + case 149: 1.420 + case 180: 1.421 + { 1.422 + PIXEL00_2 1.423 + PIXEL01_1 1.424 + PIXEL02_1U 1.425 + PIXEL10_1 1.426 + PIXEL11 1.427 + PIXEL12_C 1.428 + PIXEL20_2 1.429 + PIXEL21_1 1.430 + PIXEL22_1D 1.431 + break; 1.432 + } 1.433 + case 224: 1.434 + case 228: 1.435 + case 225: 1.436 + { 1.437 + PIXEL00_2 1.438 + PIXEL01_1 1.439 + PIXEL02_2 1.440 + PIXEL10_1 1.441 + PIXEL11 1.442 + PIXEL12_1 1.443 + PIXEL20_1L 1.444 + PIXEL21_C 1.445 + PIXEL22_1R 1.446 + break; 1.447 + } 1.448 + case 41: 1.449 + case 169: 1.450 + case 45: 1.451 + { 1.452 + PIXEL00_1U 1.453 + PIXEL01_1 1.454 + PIXEL02_2 1.455 + PIXEL10_C 1.456 + PIXEL11 1.457 + PIXEL12_1 1.458 + PIXEL20_1D 1.459 + PIXEL21_1 1.460 + PIXEL22_2 1.461 + break; 1.462 + } 1.463 + case 22: 1.464 + case 54: 1.465 + { 1.466 + PIXEL00_1M 1.467 + if (Diff(cget(2), cget(6))) 1.468 + { 1.469 + PIXEL01_C 1.470 + PIXEL02_C 1.471 + PIXEL12_C 1.472 + } 1.473 + else 1.474 + { 1.475 + PIXEL01_3 1.476 + PIXEL02_4 1.477 + PIXEL12_3 1.478 + } 1.479 + PIXEL10_1 1.480 + PIXEL11 1.481 + PIXEL20_2 1.482 + PIXEL21_1 1.483 + PIXEL22_1M 1.484 + break; 1.485 + } 1.486 + case 208: 1.487 + case 209: 1.488 + { 1.489 + PIXEL00_2 1.490 + PIXEL01_1 1.491 + PIXEL02_1M 1.492 + PIXEL10_1 1.493 + PIXEL11 1.494 + PIXEL20_1M 1.495 + if (Diff(cget(6), cget(8))) 1.496 + { 1.497 + PIXEL12_C 1.498 + PIXEL21_C 1.499 + PIXEL22_C 1.500 + } 1.501 + else 1.502 + { 1.503 + PIXEL12_3 1.504 + PIXEL21_3 1.505 + PIXEL22_4 1.506 + } 1.507 + break; 1.508 + } 1.509 + case 104: 1.510 + case 108: 1.511 + { 1.512 + PIXEL00_1M 1.513 + PIXEL01_1 1.514 + PIXEL02_2 1.515 + PIXEL11 1.516 + PIXEL12_1 1.517 + if (Diff(cget(8), cget(4))) 1.518 + { 1.519 + PIXEL10_C 1.520 + PIXEL20_C 1.521 + PIXEL21_C 1.522 + } 1.523 + else 1.524 + { 1.525 + PIXEL10_3 1.526 + PIXEL20_4 1.527 + PIXEL21_3 1.528 + } 1.529 + PIXEL22_1M 1.530 + break; 1.531 + } 1.532 + case 11: 1.533 + case 139: 1.534 + { 1.535 + if (Diff(cget(4), cget(2))) 1.536 + { 1.537 + PIXEL00_C 1.538 + PIXEL01_C 1.539 + PIXEL10_C 1.540 + } 1.541 + else 1.542 + { 1.543 + PIXEL00_4 1.544 + PIXEL01_3 1.545 + PIXEL10_3 1.546 + } 1.547 + PIXEL02_1M 1.548 + PIXEL11 1.549 + PIXEL12_1 1.550 + PIXEL20_1M 1.551 + PIXEL21_1 1.552 + PIXEL22_2 1.553 + break; 1.554 + } 1.555 + case 19: 1.556 + case 51: 1.557 + { 1.558 + if (Diff(cget(2), cget(6))) 1.559 + { 1.560 + PIXEL00_1L 1.561 + PIXEL01_C 1.562 + PIXEL02_1M 1.563 + PIXEL12_C 1.564 + } 1.565 + else 1.566 + { 1.567 + PIXEL00_2 1.568 + PIXEL01_6 1.569 + PIXEL02_5 1.570 + PIXEL12_1 1.571 + } 1.572 + PIXEL10_1 1.573 + PIXEL11 1.574 + PIXEL20_2 1.575 + PIXEL21_1 1.576 + PIXEL22_1M 1.577 + break; 1.578 + } 1.579 + case 146: 1.580 + case 178: 1.581 + { 1.582 + if (Diff(cget(2), cget(6))) 1.583 + { 1.584 + PIXEL01_C 1.585 + PIXEL02_1M 1.586 + PIXEL12_C 1.587 + PIXEL22_1D 1.588 + } 1.589 + else 1.590 + { 1.591 + PIXEL01_1 1.592 + PIXEL02_5 1.593 + PIXEL12_6 1.594 + PIXEL22_2 1.595 + } 1.596 + PIXEL00_1M 1.597 + PIXEL10_1 1.598 + PIXEL11 1.599 + PIXEL20_2 1.600 + PIXEL21_1 1.601 + break; 1.602 + } 1.603 + case 84: 1.604 + case 85: 1.605 + { 1.606 + if (Diff(cget(6), cget(8))) 1.607 + { 1.608 + PIXEL02_1U 1.609 + PIXEL12_C 1.610 + PIXEL21_C 1.611 + PIXEL22_1M 1.612 + } 1.613 + else 1.614 + { 1.615 + PIXEL02_2 1.616 + PIXEL12_6 1.617 + PIXEL21_1 1.618 + PIXEL22_5 1.619 + } 1.620 + PIXEL00_2 1.621 + PIXEL01_1 1.622 + PIXEL10_1 1.623 + PIXEL11 1.624 + PIXEL20_1M 1.625 + break; 1.626 + } 1.627 + case 112: 1.628 + case 113: 1.629 + { 1.630 + if (Diff(cget(6), cget(8))) 1.631 + { 1.632 + PIXEL12_C 1.633 + PIXEL20_1L 1.634 + PIXEL21_C 1.635 + PIXEL22_1M 1.636 + } 1.637 + else 1.638 + { 1.639 + PIXEL12_1 1.640 + PIXEL20_2 1.641 + PIXEL21_6 1.642 + PIXEL22_5 1.643 + } 1.644 + PIXEL00_2 1.645 + PIXEL01_1 1.646 + PIXEL02_1M 1.647 + PIXEL10_1 1.648 + PIXEL11 1.649 + break; 1.650 + } 1.651 + case 200: 1.652 + case 204: 1.653 + { 1.654 + if (Diff(cget(8), cget(4))) 1.655 + { 1.656 + PIXEL10_C 1.657 + PIXEL20_1M 1.658 + PIXEL21_C 1.659 + PIXEL22_1R 1.660 + } 1.661 + else 1.662 + { 1.663 + PIXEL10_1 1.664 + PIXEL20_5 1.665 + PIXEL21_6 1.666 + PIXEL22_2 1.667 + } 1.668 + PIXEL00_1M 1.669 + PIXEL01_1 1.670 + PIXEL02_2 1.671 + PIXEL11 1.672 + PIXEL12_1 1.673 + break; 1.674 + } 1.675 + case 73: 1.676 + case 77: 1.677 + { 1.678 + if (Diff(cget(8), cget(4))) 1.679 + { 1.680 + PIXEL00_1U 1.681 + PIXEL10_C 1.682 + PIXEL20_1M 1.683 + PIXEL21_C 1.684 + } 1.685 + else 1.686 + { 1.687 + PIXEL00_2 1.688 + PIXEL10_6 1.689 + PIXEL20_5 1.690 + PIXEL21_1 1.691 + } 1.692 + PIXEL01_1 1.693 + PIXEL02_2 1.694 + PIXEL11 1.695 + PIXEL12_1 1.696 + PIXEL22_1M 1.697 + break; 1.698 + } 1.699 + case 42: 1.700 + case 170: 1.701 + { 1.702 + if (Diff(cget(4), cget(2))) 1.703 + { 1.704 + PIXEL00_1M 1.705 + PIXEL01_C 1.706 + PIXEL10_C 1.707 + PIXEL20_1D 1.708 + } 1.709 + else 1.710 + { 1.711 + PIXEL00_5 1.712 + PIXEL01_1 1.713 + PIXEL10_6 1.714 + PIXEL20_2 1.715 + } 1.716 + PIXEL02_1M 1.717 + PIXEL11 1.718 + PIXEL12_1 1.719 + PIXEL21_1 1.720 + PIXEL22_2 1.721 + break; 1.722 + } 1.723 + case 14: 1.724 + case 142: 1.725 + { 1.726 + if (Diff(cget(4), cget(2))) 1.727 + { 1.728 + PIXEL00_1M 1.729 + PIXEL01_C 1.730 + PIXEL02_1R 1.731 + PIXEL10_C 1.732 + } 1.733 + else 1.734 + { 1.735 + PIXEL00_5 1.736 + PIXEL01_6 1.737 + PIXEL02_2 1.738 + PIXEL10_1 1.739 + } 1.740 + PIXEL11 1.741 + PIXEL12_1 1.742 + PIXEL20_1M 1.743 + PIXEL21_1 1.744 + PIXEL22_2 1.745 + break; 1.746 + } 1.747 + case 67: 1.748 + { 1.749 + PIXEL00_1L 1.750 + PIXEL01_C 1.751 + PIXEL02_1M 1.752 + PIXEL10_1 1.753 + PIXEL11 1.754 + PIXEL12_1 1.755 + PIXEL20_1M 1.756 + PIXEL21_C 1.757 + PIXEL22_1M 1.758 + break; 1.759 + } 1.760 + case 70: 1.761 + { 1.762 + PIXEL00_1M 1.763 + PIXEL01_C 1.764 + PIXEL02_1R 1.765 + PIXEL10_1 1.766 + PIXEL11 1.767 + PIXEL12_1 1.768 + PIXEL20_1M 1.769 + PIXEL21_C 1.770 + PIXEL22_1M 1.771 + break; 1.772 + } 1.773 + case 28: 1.774 + { 1.775 + PIXEL00_1M 1.776 + PIXEL01_1 1.777 + PIXEL02_1U 1.778 + PIXEL10_C 1.779 + PIXEL11 1.780 + PIXEL12_C 1.781 + PIXEL20_1M 1.782 + PIXEL21_1 1.783 + PIXEL22_1M 1.784 + break; 1.785 + } 1.786 + case 152: 1.787 + { 1.788 + PIXEL00_1M 1.789 + PIXEL01_1 1.790 + PIXEL02_1M 1.791 + PIXEL10_C 1.792 + PIXEL11 1.793 + PIXEL12_C 1.794 + PIXEL20_1M 1.795 + PIXEL21_1 1.796 + PIXEL22_1D 1.797 + break; 1.798 + } 1.799 + case 194: 1.800 + { 1.801 + PIXEL00_1M 1.802 + PIXEL01_C 1.803 + PIXEL02_1M 1.804 + PIXEL10_1 1.805 + PIXEL11 1.806 + PIXEL12_1 1.807 + PIXEL20_1M 1.808 + PIXEL21_C 1.809 + PIXEL22_1R 1.810 + break; 1.811 + } 1.812 + case 98: 1.813 + { 1.814 + PIXEL00_1M 1.815 + PIXEL01_C 1.816 + PIXEL02_1M 1.817 + PIXEL10_1 1.818 + PIXEL11 1.819 + PIXEL12_1 1.820 + PIXEL20_1L 1.821 + PIXEL21_C 1.822 + PIXEL22_1M 1.823 + break; 1.824 + } 1.825 + case 56: 1.826 + { 1.827 + PIXEL00_1M 1.828 + PIXEL01_1 1.829 + PIXEL02_1M 1.830 + PIXEL10_C 1.831 + PIXEL11 1.832 + PIXEL12_C 1.833 + PIXEL20_1D 1.834 + PIXEL21_1 1.835 + PIXEL22_1M 1.836 + break; 1.837 + } 1.838 + case 25: 1.839 + { 1.840 + PIXEL00_1U 1.841 + PIXEL01_1 1.842 + PIXEL02_1M 1.843 + PIXEL10_C 1.844 + PIXEL11 1.845 + PIXEL12_C 1.846 + PIXEL20_1M 1.847 + PIXEL21_1 1.848 + PIXEL22_1M 1.849 + break; 1.850 + } 1.851 + case 26: 1.852 + case 31: 1.853 + { 1.854 + if (Diff(cget(4), cget(2))) 1.855 + { 1.856 + PIXEL00_C 1.857 + PIXEL10_C 1.858 + } 1.859 + else 1.860 + { 1.861 + PIXEL00_4 1.862 + PIXEL10_3 1.863 + } 1.864 + PIXEL01_C 1.865 + if (Diff(cget(2), cget(6))) 1.866 + { 1.867 + PIXEL02_C 1.868 + PIXEL12_C 1.869 + } 1.870 + else 1.871 + { 1.872 + PIXEL02_4 1.873 + PIXEL12_3 1.874 + } 1.875 + PIXEL11 1.876 + PIXEL20_1M 1.877 + PIXEL21_1 1.878 + PIXEL22_1M 1.879 + break; 1.880 + } 1.881 + case 82: 1.882 + case 214: 1.883 + { 1.884 + PIXEL00_1M 1.885 + if (Diff(cget(2), cget(6))) 1.886 + { 1.887 + PIXEL01_C 1.888 + PIXEL02_C 1.889 + } 1.890 + else 1.891 + { 1.892 + PIXEL01_3 1.893 + PIXEL02_4 1.894 + } 1.895 + PIXEL10_1 1.896 + PIXEL11 1.897 + PIXEL12_C 1.898 + PIXEL20_1M 1.899 + if (Diff(cget(6), cget(8))) 1.900 + { 1.901 + PIXEL21_C 1.902 + PIXEL22_C 1.903 + } 1.904 + else 1.905 + { 1.906 + PIXEL21_3 1.907 + PIXEL22_4 1.908 + } 1.909 + break; 1.910 + } 1.911 + case 88: 1.912 + case 248: 1.913 + { 1.914 + PIXEL00_1M 1.915 + PIXEL01_1 1.916 + PIXEL02_1M 1.917 + PIXEL11 1.918 + if (Diff(cget(8), cget(4))) 1.919 + { 1.920 + PIXEL10_C 1.921 + PIXEL20_C 1.922 + } 1.923 + else 1.924 + { 1.925 + PIXEL10_3 1.926 + PIXEL20_4 1.927 + } 1.928 + PIXEL21_C 1.929 + if (Diff(cget(6), cget(8))) 1.930 + { 1.931 + PIXEL12_C 1.932 + PIXEL22_C 1.933 + } 1.934 + else 1.935 + { 1.936 + PIXEL12_3 1.937 + PIXEL22_4 1.938 + } 1.939 + break; 1.940 + } 1.941 + case 74: 1.942 + case 107: 1.943 + { 1.944 + if (Diff(cget(4), cget(2))) 1.945 + { 1.946 + PIXEL00_C 1.947 + PIXEL01_C 1.948 + } 1.949 + else 1.950 + { 1.951 + PIXEL00_4 1.952 + PIXEL01_3 1.953 + } 1.954 + PIXEL02_1M 1.955 + PIXEL10_C 1.956 + PIXEL11 1.957 + PIXEL12_1 1.958 + if (Diff(cget(8), cget(4))) 1.959 + { 1.960 + PIXEL20_C 1.961 + PIXEL21_C 1.962 + } 1.963 + else 1.964 + { 1.965 + PIXEL20_4 1.966 + PIXEL21_3 1.967 + } 1.968 + PIXEL22_1M 1.969 + break; 1.970 + } 1.971 + case 27: 1.972 + { 1.973 + if (Diff(cget(4), cget(2))) 1.974 + { 1.975 + PIXEL00_C 1.976 + PIXEL01_C 1.977 + PIXEL10_C 1.978 + } 1.979 + else 1.980 + { 1.981 + PIXEL00_4 1.982 + PIXEL01_3 1.983 + PIXEL10_3 1.984 + } 1.985 + PIXEL02_1M 1.986 + PIXEL11 1.987 + PIXEL12_C 1.988 + PIXEL20_1M 1.989 + PIXEL21_1 1.990 + PIXEL22_1M 1.991 + break; 1.992 + } 1.993 + case 86: 1.994 + { 1.995 + PIXEL00_1M 1.996 + if (Diff(cget(2), cget(6))) 1.997 + { 1.998 + PIXEL01_C 1.999 + PIXEL02_C 1.1000 + PIXEL12_C 1.1001 + } 1.1002 + else 1.1003 + { 1.1004 + PIXEL01_3 1.1005 + PIXEL02_4 1.1006 + PIXEL12_3 1.1007 + } 1.1008 + PIXEL10_1 1.1009 + PIXEL11 1.1010 + PIXEL20_1M 1.1011 + PIXEL21_C 1.1012 + PIXEL22_1M 1.1013 + break; 1.1014 + } 1.1015 + case 216: 1.1016 + { 1.1017 + PIXEL00_1M 1.1018 + PIXEL01_1 1.1019 + PIXEL02_1M 1.1020 + PIXEL10_C 1.1021 + PIXEL11 1.1022 + PIXEL20_1M 1.1023 + if (Diff(cget(6), cget(8))) 1.1024 + { 1.1025 + PIXEL12_C 1.1026 + PIXEL21_C 1.1027 + PIXEL22_C 1.1028 + } 1.1029 + else 1.1030 + { 1.1031 + PIXEL12_3 1.1032 + PIXEL21_3 1.1033 + PIXEL22_4 1.1034 + } 1.1035 + break; 1.1036 + } 1.1037 + case 106: 1.1038 + { 1.1039 + PIXEL00_1M 1.1040 + PIXEL01_C 1.1041 + PIXEL02_1M 1.1042 + PIXEL11 1.1043 + PIXEL12_1 1.1044 + if (Diff(cget(8), cget(4))) 1.1045 + { 1.1046 + PIXEL10_C 1.1047 + PIXEL20_C 1.1048 + PIXEL21_C 1.1049 + } 1.1050 + else 1.1051 + { 1.1052 + PIXEL10_3 1.1053 + PIXEL20_4 1.1054 + PIXEL21_3 1.1055 + } 1.1056 + PIXEL22_1M 1.1057 + break; 1.1058 + } 1.1059 + case 30: 1.1060 + { 1.1061 + PIXEL00_1M 1.1062 + if (Diff(cget(2), cget(6))) 1.1063 + { 1.1064 + PIXEL01_C 1.1065 + PIXEL02_C 1.1066 + PIXEL12_C 1.1067 + } 1.1068 + else 1.1069 + { 1.1070 + PIXEL01_3 1.1071 + PIXEL02_4 1.1072 + PIXEL12_3 1.1073 + } 1.1074 + PIXEL10_C 1.1075 + PIXEL11 1.1076 + PIXEL20_1M 1.1077 + PIXEL21_1 1.1078 + PIXEL22_1M 1.1079 + break; 1.1080 + } 1.1081 + case 210: 1.1082 + { 1.1083 + PIXEL00_1M 1.1084 + PIXEL01_C 1.1085 + PIXEL02_1M 1.1086 + PIXEL10_1 1.1087 + PIXEL11 1.1088 + PIXEL20_1M 1.1089 + if (Diff(cget(6), cget(8))) 1.1090 + { 1.1091 + PIXEL12_C 1.1092 + PIXEL21_C 1.1093 + PIXEL22_C 1.1094 + } 1.1095 + else 1.1096 + { 1.1097 + PIXEL12_3 1.1098 + PIXEL21_3 1.1099 + PIXEL22_4 1.1100 + } 1.1101 + break; 1.1102 + } 1.1103 + case 120: 1.1104 + { 1.1105 + PIXEL00_1M 1.1106 + PIXEL01_1 1.1107 + PIXEL02_1M 1.1108 + PIXEL11 1.1109 + PIXEL12_C 1.1110 + if (Diff(cget(8), cget(4))) 1.1111 + { 1.1112 + PIXEL10_C 1.1113 + PIXEL20_C 1.1114 + PIXEL21_C 1.1115 + } 1.1116 + else 1.1117 + { 1.1118 + PIXEL10_3 1.1119 + PIXEL20_4 1.1120 + PIXEL21_3 1.1121 + } 1.1122 + PIXEL22_1M 1.1123 + break; 1.1124 + } 1.1125 + case 75: 1.1126 + { 1.1127 + if (Diff(cget(4), cget(2))) 1.1128 + { 1.1129 + PIXEL00_C 1.1130 + PIXEL01_C 1.1131 + PIXEL10_C 1.1132 + } 1.1133 + else 1.1134 + { 1.1135 + PIXEL00_4 1.1136 + PIXEL01_3 1.1137 + PIXEL10_3 1.1138 + } 1.1139 + PIXEL02_1M 1.1140 + PIXEL11 1.1141 + PIXEL12_1 1.1142 + PIXEL20_1M 1.1143 + PIXEL21_C 1.1144 + PIXEL22_1M 1.1145 + break; 1.1146 + } 1.1147 + case 29: 1.1148 + { 1.1149 + PIXEL00_1U 1.1150 + PIXEL01_1 1.1151 + PIXEL02_1U 1.1152 + PIXEL10_C 1.1153 + PIXEL11 1.1154 + PIXEL12_C 1.1155 + PIXEL20_1M 1.1156 + PIXEL21_1 1.1157 + PIXEL22_1M 1.1158 + break; 1.1159 + } 1.1160 + case 198: 1.1161 + { 1.1162 + PIXEL00_1M 1.1163 + PIXEL01_C 1.1164 + PIXEL02_1R 1.1165 + PIXEL10_1 1.1166 + PIXEL11 1.1167 + PIXEL12_1 1.1168 + PIXEL20_1M 1.1169 + PIXEL21_C 1.1170 + PIXEL22_1R 1.1171 + break; 1.1172 + } 1.1173 + case 184: 1.1174 + { 1.1175 + PIXEL00_1M 1.1176 + PIXEL01_1 1.1177 + PIXEL02_1M 1.1178 + PIXEL10_C 1.1179 + PIXEL11 1.1180 + PIXEL12_C 1.1181 + PIXEL20_1D 1.1182 + PIXEL21_1 1.1183 + PIXEL22_1D 1.1184 + break; 1.1185 + } 1.1186 + case 99: 1.1187 + { 1.1188 + PIXEL00_1L 1.1189 + PIXEL01_C 1.1190 + PIXEL02_1M 1.1191 + PIXEL10_1 1.1192 + PIXEL11 1.1193 + PIXEL12_1 1.1194 + PIXEL20_1L 1.1195 + PIXEL21_C 1.1196 + PIXEL22_1M 1.1197 + break; 1.1198 + } 1.1199 + case 57: 1.1200 + { 1.1201 + PIXEL00_1U 1.1202 + PIXEL01_1 1.1203 + PIXEL02_1M 1.1204 + PIXEL10_C 1.1205 + PIXEL11 1.1206 + PIXEL12_C 1.1207 + PIXEL20_1D 1.1208 + PIXEL21_1 1.1209 + PIXEL22_1M 1.1210 + break; 1.1211 + } 1.1212 + case 71: 1.1213 + { 1.1214 + PIXEL00_1L 1.1215 + PIXEL01_C 1.1216 + PIXEL02_1R 1.1217 + PIXEL10_1 1.1218 + PIXEL11 1.1219 + PIXEL12_1 1.1220 + PIXEL20_1M 1.1221 + PIXEL21_C 1.1222 + PIXEL22_1M 1.1223 + break; 1.1224 + } 1.1225 + case 156: 1.1226 + { 1.1227 + PIXEL00_1M 1.1228 + PIXEL01_1 1.1229 + PIXEL02_1U 1.1230 + PIXEL10_C 1.1231 + PIXEL11 1.1232 + PIXEL12_C 1.1233 + PIXEL20_1M 1.1234 + PIXEL21_1 1.1235 + PIXEL22_1D 1.1236 + break; 1.1237 + } 1.1238 + case 226: 1.1239 + { 1.1240 + PIXEL00_1M 1.1241 + PIXEL01_C 1.1242 + PIXEL02_1M 1.1243 + PIXEL10_1 1.1244 + PIXEL11 1.1245 + PIXEL12_1 1.1246 + PIXEL20_1L 1.1247 + PIXEL21_C 1.1248 + PIXEL22_1R 1.1249 + break; 1.1250 + } 1.1251 + case 60: 1.1252 + { 1.1253 + PIXEL00_1M 1.1254 + PIXEL01_1 1.1255 + PIXEL02_1U 1.1256 + PIXEL10_C 1.1257 + PIXEL11 1.1258 + PIXEL12_C 1.1259 + PIXEL20_1D 1.1260 + PIXEL21_1 1.1261 + PIXEL22_1M 1.1262 + break; 1.1263 + } 1.1264 + case 195: 1.1265 + { 1.1266 + PIXEL00_1L 1.1267 + PIXEL01_C 1.1268 + PIXEL02_1M 1.1269 + PIXEL10_1 1.1270 + PIXEL11 1.1271 + PIXEL12_1 1.1272 + PIXEL20_1M 1.1273 + PIXEL21_C 1.1274 + PIXEL22_1R 1.1275 + break; 1.1276 + } 1.1277 + case 102: 1.1278 + { 1.1279 + PIXEL00_1M 1.1280 + PIXEL01_C 1.1281 + PIXEL02_1R 1.1282 + PIXEL10_1 1.1283 + PIXEL11 1.1284 + PIXEL12_1 1.1285 + PIXEL20_1L 1.1286 + PIXEL21_C 1.1287 + PIXEL22_1M 1.1288 + break; 1.1289 + } 1.1290 + case 153: 1.1291 + { 1.1292 + PIXEL00_1U 1.1293 + PIXEL01_1 1.1294 + PIXEL02_1M 1.1295 + PIXEL10_C 1.1296 + PIXEL11 1.1297 + PIXEL12_C 1.1298 + PIXEL20_1M 1.1299 + PIXEL21_1 1.1300 + PIXEL22_1D 1.1301 + break; 1.1302 + } 1.1303 + case 58: 1.1304 + { 1.1305 + if (Diff(cget(4), cget(2))) 1.1306 + { 1.1307 + PIXEL00_1M 1.1308 + } 1.1309 + else 1.1310 + { 1.1311 + PIXEL00_2 1.1312 + } 1.1313 + PIXEL01_C 1.1314 + if (Diff(cget(2), cget(6))) 1.1315 + { 1.1316 + PIXEL02_1M 1.1317 + } 1.1318 + else 1.1319 + { 1.1320 + PIXEL02_2 1.1321 + } 1.1322 + PIXEL10_C 1.1323 + PIXEL11 1.1324 + PIXEL12_C 1.1325 + PIXEL20_1D 1.1326 + PIXEL21_1 1.1327 + PIXEL22_1M 1.1328 + break; 1.1329 + } 1.1330 + case 83: 1.1331 + { 1.1332 + PIXEL00_1L 1.1333 + PIXEL01_C 1.1334 + if (Diff(cget(2), cget(6))) 1.1335 + { 1.1336 + PIXEL02_1M 1.1337 + } 1.1338 + else 1.1339 + { 1.1340 + PIXEL02_2 1.1341 + } 1.1342 + PIXEL10_1 1.1343 + PIXEL11 1.1344 + PIXEL12_C 1.1345 + PIXEL20_1M 1.1346 + PIXEL21_C 1.1347 + if (Diff(cget(6), cget(8))) 1.1348 + { 1.1349 + PIXEL22_1M 1.1350 + } 1.1351 + else 1.1352 + { 1.1353 + PIXEL22_2 1.1354 + } 1.1355 + break; 1.1356 + } 1.1357 + case 92: 1.1358 + { 1.1359 + PIXEL00_1M 1.1360 + PIXEL01_1 1.1361 + PIXEL02_1U 1.1362 + PIXEL10_C 1.1363 + PIXEL11 1.1364 + PIXEL12_C 1.1365 + if (Diff(cget(8), cget(4))) 1.1366 + { 1.1367 + PIXEL20_1M 1.1368 + } 1.1369 + else 1.1370 + { 1.1371 + PIXEL20_2 1.1372 + } 1.1373 + PIXEL21_C 1.1374 + if (Diff(cget(6), cget(8))) 1.1375 + { 1.1376 + PIXEL22_1M 1.1377 + } 1.1378 + else 1.1379 + { 1.1380 + PIXEL22_2 1.1381 + } 1.1382 + break; 1.1383 + } 1.1384 + case 202: 1.1385 + { 1.1386 + if (Diff(cget(4), cget(2))) 1.1387 + { 1.1388 + PIXEL00_1M 1.1389 + } 1.1390 + else 1.1391 + { 1.1392 + PIXEL00_2 1.1393 + } 1.1394 + PIXEL01_C 1.1395 + PIXEL02_1M 1.1396 + PIXEL10_C 1.1397 + PIXEL11 1.1398 + PIXEL12_1 1.1399 + if (Diff(cget(8), cget(4))) 1.1400 + { 1.1401 + PIXEL20_1M 1.1402 + } 1.1403 + else 1.1404 + { 1.1405 + PIXEL20_2 1.1406 + } 1.1407 + PIXEL21_C 1.1408 + PIXEL22_1R 1.1409 + break; 1.1410 + } 1.1411 + case 78: 1.1412 + { 1.1413 + if (Diff(cget(4), cget(2))) 1.1414 + { 1.1415 + PIXEL00_1M 1.1416 + } 1.1417 + else 1.1418 + { 1.1419 + PIXEL00_2 1.1420 + } 1.1421 + PIXEL01_C 1.1422 + PIXEL02_1R 1.1423 + PIXEL10_C 1.1424 + PIXEL11 1.1425 + PIXEL12_1 1.1426 + if (Diff(cget(8), cget(4))) 1.1427 + { 1.1428 + PIXEL20_1M 1.1429 + } 1.1430 + else 1.1431 + { 1.1432 + PIXEL20_2 1.1433 + } 1.1434 + PIXEL21_C 1.1435 + PIXEL22_1M 1.1436 + break; 1.1437 + } 1.1438 + case 154: 1.1439 + { 1.1440 + if (Diff(cget(4), cget(2))) 1.1441 + { 1.1442 + PIXEL00_1M 1.1443 + } 1.1444 + else 1.1445 + { 1.1446 + PIXEL00_2 1.1447 + } 1.1448 + PIXEL01_C 1.1449 + if (Diff(cget(2), cget(6))) 1.1450 + { 1.1451 + PIXEL02_1M 1.1452 + } 1.1453 + else 1.1454 + { 1.1455 + PIXEL02_2 1.1456 + } 1.1457 + PIXEL10_C 1.1458 + PIXEL11 1.1459 + PIXEL12_C 1.1460 + PIXEL20_1M 1.1461 + PIXEL21_1 1.1462 + PIXEL22_1D 1.1463 + break; 1.1464 + } 1.1465 + case 114: 1.1466 + { 1.1467 + PIXEL00_1M 1.1468 + PIXEL01_C 1.1469 + if (Diff(cget(2), cget(6))) 1.1470 + { 1.1471 + PIXEL02_1M 1.1472 + } 1.1473 + else 1.1474 + { 1.1475 + PIXEL02_2 1.1476 + } 1.1477 + PIXEL10_1 1.1478 + PIXEL11 1.1479 + PIXEL12_C 1.1480 + PIXEL20_1L 1.1481 + PIXEL21_C 1.1482 + if (Diff(cget(6), cget(8))) 1.1483 + { 1.1484 + PIXEL22_1M 1.1485 + } 1.1486 + else 1.1487 + { 1.1488 + PIXEL22_2 1.1489 + } 1.1490 + break; 1.1491 + } 1.1492 + case 89: 1.1493 + { 1.1494 + PIXEL00_1U 1.1495 + PIXEL01_1 1.1496 + PIXEL02_1M 1.1497 + PIXEL10_C 1.1498 + PIXEL11 1.1499 + PIXEL12_C 1.1500 + if (Diff(cget(8), cget(4))) 1.1501 + { 1.1502 + PIXEL20_1M 1.1503 + } 1.1504 + else 1.1505 + { 1.1506 + PIXEL20_2 1.1507 + } 1.1508 + PIXEL21_C 1.1509 + if (Diff(cget(6), cget(8))) 1.1510 + { 1.1511 + PIXEL22_1M 1.1512 + } 1.1513 + else 1.1514 + { 1.1515 + PIXEL22_2 1.1516 + } 1.1517 + break; 1.1518 + } 1.1519 + case 90: 1.1520 + { 1.1521 + if (Diff(cget(4), cget(2))) 1.1522 + { 1.1523 + PIXEL00_1M 1.1524 + } 1.1525 + else 1.1526 + { 1.1527 + PIXEL00_2 1.1528 + } 1.1529 + PIXEL01_C 1.1530 + if (Diff(cget(2), cget(6))) 1.1531 + { 1.1532 + PIXEL02_1M 1.1533 + } 1.1534 + else 1.1535 + { 1.1536 + PIXEL02_2 1.1537 + } 1.1538 + PIXEL10_C 1.1539 + PIXEL11 1.1540 + PIXEL12_C 1.1541 + if (Diff(cget(8), cget(4))) 1.1542 + { 1.1543 + PIXEL20_1M 1.1544 + } 1.1545 + else 1.1546 + { 1.1547 + PIXEL20_2 1.1548 + } 1.1549 + PIXEL21_C 1.1550 + if (Diff(cget(6), cget(8))) 1.1551 + { 1.1552 + PIXEL22_1M 1.1553 + } 1.1554 + else 1.1555 + { 1.1556 + PIXEL22_2 1.1557 + } 1.1558 + break; 1.1559 + } 1.1560 + case 55: 1.1561 + case 23: 1.1562 + { 1.1563 + if (Diff(cget(2), cget(6))) 1.1564 + { 1.1565 + PIXEL00_1L 1.1566 + PIXEL01_C 1.1567 + PIXEL02_C 1.1568 + PIXEL12_C 1.1569 + } 1.1570 + else 1.1571 + { 1.1572 + PIXEL00_2 1.1573 + PIXEL01_6 1.1574 + PIXEL02_5 1.1575 + PIXEL12_1 1.1576 + } 1.1577 + PIXEL10_1 1.1578 + PIXEL11 1.1579 + PIXEL20_2 1.1580 + PIXEL21_1 1.1581 + PIXEL22_1M 1.1582 + break; 1.1583 + } 1.1584 + case 182: 1.1585 + case 150: 1.1586 + { 1.1587 + if (Diff(cget(2), cget(6))) 1.1588 + { 1.1589 + PIXEL01_C 1.1590 + PIXEL02_C 1.1591 + PIXEL12_C 1.1592 + PIXEL22_1D 1.1593 + } 1.1594 + else 1.1595 + { 1.1596 + PIXEL01_1 1.1597 + PIXEL02_5 1.1598 + PIXEL12_6 1.1599 + PIXEL22_2 1.1600 + } 1.1601 + PIXEL00_1M 1.1602 + PIXEL10_1 1.1603 + PIXEL11 1.1604 + PIXEL20_2 1.1605 + PIXEL21_1 1.1606 + break; 1.1607 + } 1.1608 + case 213: 1.1609 + case 212: 1.1610 + { 1.1611 + if (Diff(cget(6), cget(8))) 1.1612 + { 1.1613 + PIXEL02_1U 1.1614 + PIXEL12_C 1.1615 + PIXEL21_C 1.1616 + PIXEL22_C 1.1617 + } 1.1618 + else 1.1619 + { 1.1620 + PIXEL02_2 1.1621 + PIXEL12_6 1.1622 + PIXEL21_1 1.1623 + PIXEL22_5 1.1624 + } 1.1625 + PIXEL00_2 1.1626 + PIXEL01_1 1.1627 + PIXEL10_1 1.1628 + PIXEL11 1.1629 + PIXEL20_1M 1.1630 + break; 1.1631 + } 1.1632 + case 241: 1.1633 + case 240: 1.1634 + { 1.1635 + if (Diff(cget(6), cget(8))) 1.1636 + { 1.1637 + PIXEL12_C 1.1638 + PIXEL20_1L 1.1639 + PIXEL21_C 1.1640 + PIXEL22_C 1.1641 + } 1.1642 + else 1.1643 + { 1.1644 + PIXEL12_1 1.1645 + PIXEL20_2 1.1646 + PIXEL21_6 1.1647 + PIXEL22_5 1.1648 + } 1.1649 + PIXEL00_2 1.1650 + PIXEL01_1 1.1651 + PIXEL02_1M 1.1652 + PIXEL10_1 1.1653 + PIXEL11 1.1654 + break; 1.1655 + } 1.1656 + case 236: 1.1657 + case 232: 1.1658 + { 1.1659 + if (Diff(cget(8), cget(4))) 1.1660 + { 1.1661 + PIXEL10_C 1.1662 + PIXEL20_C 1.1663 + PIXEL21_C 1.1664 + PIXEL22_1R 1.1665 + } 1.1666 + else 1.1667 + { 1.1668 + PIXEL10_1 1.1669 + PIXEL20_5 1.1670 + PIXEL21_6 1.1671 + PIXEL22_2 1.1672 + } 1.1673 + PIXEL00_1M 1.1674 + PIXEL01_1 1.1675 + PIXEL02_2 1.1676 + PIXEL11 1.1677 + PIXEL12_1 1.1678 + break; 1.1679 + } 1.1680 + case 109: 1.1681 + case 105: 1.1682 + { 1.1683 + if (Diff(cget(8), cget(4))) 1.1684 + { 1.1685 + PIXEL00_1U 1.1686 + PIXEL10_C 1.1687 + PIXEL20_C 1.1688 + PIXEL21_C 1.1689 + } 1.1690 + else 1.1691 + { 1.1692 + PIXEL00_2 1.1693 + PIXEL10_6 1.1694 + PIXEL20_5 1.1695 + PIXEL21_1 1.1696 + } 1.1697 + PIXEL01_1 1.1698 + PIXEL02_2 1.1699 + PIXEL11 1.1700 + PIXEL12_1 1.1701 + PIXEL22_1M 1.1702 + break; 1.1703 + } 1.1704 + case 171: 1.1705 + case 43: 1.1706 + { 1.1707 + if (Diff(cget(4), cget(2))) 1.1708 + { 1.1709 + PIXEL00_C 1.1710 + PIXEL01_C 1.1711 + PIXEL10_C 1.1712 + PIXEL20_1D 1.1713 + } 1.1714 + else 1.1715 + { 1.1716 + PIXEL00_5 1.1717 + PIXEL01_1 1.1718 + PIXEL10_6 1.1719 + PIXEL20_2 1.1720 + } 1.1721 + PIXEL02_1M 1.1722 + PIXEL11 1.1723 + PIXEL12_1 1.1724 + PIXEL21_1 1.1725 + PIXEL22_2 1.1726 + break; 1.1727 + } 1.1728 + case 143: 1.1729 + case 15: 1.1730 + { 1.1731 + if (Diff(cget(4), cget(2))) 1.1732 + { 1.1733 + PIXEL00_C 1.1734 + PIXEL01_C 1.1735 + PIXEL02_1R 1.1736 + PIXEL10_C 1.1737 + } 1.1738 + else 1.1739 + { 1.1740 + PIXEL00_5 1.1741 + PIXEL01_6 1.1742 + PIXEL02_2 1.1743 + PIXEL10_1 1.1744 + } 1.1745 + PIXEL11 1.1746 + PIXEL12_1 1.1747 + PIXEL20_1M 1.1748 + PIXEL21_1 1.1749 + PIXEL22_2 1.1750 + break; 1.1751 + } 1.1752 + case 124: 1.1753 + { 1.1754 + PIXEL00_1M 1.1755 + PIXEL01_1 1.1756 + PIXEL02_1U 1.1757 + PIXEL11 1.1758 + PIXEL12_C 1.1759 + if (Diff(cget(8), cget(4))) 1.1760 + { 1.1761 + PIXEL10_C 1.1762 + PIXEL20_C 1.1763 + PIXEL21_C 1.1764 + } 1.1765 + else 1.1766 + { 1.1767 + PIXEL10_3 1.1768 + PIXEL20_4 1.1769 + PIXEL21_3 1.1770 + } 1.1771 + PIXEL22_1M 1.1772 + break; 1.1773 + } 1.1774 + case 203: 1.1775 + { 1.1776 + if (Diff(cget(4), cget(2))) 1.1777 + { 1.1778 + PIXEL00_C 1.1779 + PIXEL01_C 1.1780 + PIXEL10_C 1.1781 + } 1.1782 + else 1.1783 + { 1.1784 + PIXEL00_4 1.1785 + PIXEL01_3 1.1786 + PIXEL10_3 1.1787 + } 1.1788 + PIXEL02_1M 1.1789 + PIXEL11 1.1790 + PIXEL12_1 1.1791 + PIXEL20_1M 1.1792 + PIXEL21_C 1.1793 + PIXEL22_1R 1.1794 + break; 1.1795 + } 1.1796 + case 62: 1.1797 + { 1.1798 + PIXEL00_1M 1.1799 + if (Diff(cget(2), cget(6))) 1.1800 + { 1.1801 + PIXEL01_C 1.1802 + PIXEL02_C 1.1803 + PIXEL12_C 1.1804 + } 1.1805 + else 1.1806 + { 1.1807 + PIXEL01_3 1.1808 + PIXEL02_4 1.1809 + PIXEL12_3 1.1810 + } 1.1811 + PIXEL10_C 1.1812 + PIXEL11 1.1813 + PIXEL20_1D 1.1814 + PIXEL21_1 1.1815 + PIXEL22_1M 1.1816 + break; 1.1817 + } 1.1818 + case 211: 1.1819 + { 1.1820 + PIXEL00_1L 1.1821 + PIXEL01_C 1.1822 + PIXEL02_1M 1.1823 + PIXEL10_1 1.1824 + PIXEL11 1.1825 + PIXEL20_1M 1.1826 + if (Diff(cget(6), cget(8))) 1.1827 + { 1.1828 + PIXEL12_C 1.1829 + PIXEL21_C 1.1830 + PIXEL22_C 1.1831 + } 1.1832 + else 1.1833 + { 1.1834 + PIXEL12_3 1.1835 + PIXEL21_3 1.1836 + PIXEL22_4 1.1837 + } 1.1838 + break; 1.1839 + } 1.1840 + case 118: 1.1841 + { 1.1842 + PIXEL00_1M 1.1843 + if (Diff(cget(2), cget(6))) 1.1844 + { 1.1845 + PIXEL01_C 1.1846 + PIXEL02_C 1.1847 + PIXEL12_C 1.1848 + } 1.1849 + else 1.1850 + { 1.1851 + PIXEL01_3 1.1852 + PIXEL02_4 1.1853 + PIXEL12_3 1.1854 + } 1.1855 + PIXEL10_1 1.1856 + PIXEL11 1.1857 + PIXEL20_1L 1.1858 + PIXEL21_C 1.1859 + PIXEL22_1M 1.1860 + break; 1.1861 + } 1.1862 + case 217: 1.1863 + { 1.1864 + PIXEL00_1U 1.1865 + PIXEL01_1 1.1866 + PIXEL02_1M 1.1867 + PIXEL10_C 1.1868 + PIXEL11 1.1869 + PIXEL20_1M 1.1870 + if (Diff(cget(6), cget(8))) 1.1871 + { 1.1872 + PIXEL12_C 1.1873 + PIXEL21_C 1.1874 + PIXEL22_C 1.1875 + } 1.1876 + else 1.1877 + { 1.1878 + PIXEL12_3 1.1879 + PIXEL21_3 1.1880 + PIXEL22_4 1.1881 + } 1.1882 + break; 1.1883 + } 1.1884 + case 110: 1.1885 + { 1.1886 + PIXEL00_1M 1.1887 + PIXEL01_C 1.1888 + PIXEL02_1R 1.1889 + PIXEL11 1.1890 + PIXEL12_1 1.1891 + if (Diff(cget(8), cget(4))) 1.1892 + { 1.1893 + PIXEL10_C 1.1894 + PIXEL20_C 1.1895 + PIXEL21_C 1.1896 + } 1.1897 + else 1.1898 + { 1.1899 + PIXEL10_3 1.1900 + PIXEL20_4 1.1901 + PIXEL21_3 1.1902 + } 1.1903 + PIXEL22_1M 1.1904 + break; 1.1905 + } 1.1906 + case 155: 1.1907 + { 1.1908 + if (Diff(cget(4), cget(2))) 1.1909 + { 1.1910 + PIXEL00_C 1.1911 + PIXEL01_C 1.1912 + PIXEL10_C 1.1913 + } 1.1914 + else 1.1915 + { 1.1916 + PIXEL00_4 1.1917 + PIXEL01_3 1.1918 + PIXEL10_3 1.1919 + } 1.1920 + PIXEL02_1M 1.1921 + PIXEL11 1.1922 + PIXEL12_C 1.1923 + PIXEL20_1M 1.1924 + PIXEL21_1 1.1925 + PIXEL22_1D 1.1926 + break; 1.1927 + } 1.1928 + case 188: 1.1929 + { 1.1930 + PIXEL00_1M 1.1931 + PIXEL01_1 1.1932 + PIXEL02_1U 1.1933 + PIXEL10_C 1.1934 + PIXEL11 1.1935 + PIXEL12_C 1.1936 + PIXEL20_1D 1.1937 + PIXEL21_1 1.1938 + PIXEL22_1D 1.1939 + break; 1.1940 + } 1.1941 + case 185: 1.1942 + { 1.1943 + PIXEL00_1U 1.1944 + PIXEL01_1 1.1945 + PIXEL02_1M 1.1946 + PIXEL10_C 1.1947 + PIXEL11 1.1948 + PIXEL12_C 1.1949 + PIXEL20_1D 1.1950 + PIXEL21_1 1.1951 + PIXEL22_1D 1.1952 + break; 1.1953 + } 1.1954 + case 61: 1.1955 + { 1.1956 + PIXEL00_1U 1.1957 + PIXEL01_1 1.1958 + PIXEL02_1U 1.1959 + PIXEL10_C 1.1960 + PIXEL11 1.1961 + PIXEL12_C 1.1962 + PIXEL20_1D 1.1963 + PIXEL21_1 1.1964 + PIXEL22_1M 1.1965 + break; 1.1966 + } 1.1967 + case 157: 1.1968 + { 1.1969 + PIXEL00_1U 1.1970 + PIXEL01_1 1.1971 + PIXEL02_1U 1.1972 + PIXEL10_C 1.1973 + PIXEL11 1.1974 + PIXEL12_C 1.1975 + PIXEL20_1M 1.1976 + PIXEL21_1 1.1977 + PIXEL22_1D 1.1978 + break; 1.1979 + } 1.1980 + case 103: 1.1981 + { 1.1982 + PIXEL00_1L 1.1983 + PIXEL01_C 1.1984 + PIXEL02_1R 1.1985 + PIXEL10_1 1.1986 + PIXEL11 1.1987 + PIXEL12_1 1.1988 + PIXEL20_1L 1.1989 + PIXEL21_C 1.1990 + PIXEL22_1M 1.1991 + break; 1.1992 + } 1.1993 + case 227: 1.1994 + { 1.1995 + PIXEL00_1L 1.1996 + PIXEL01_C 1.1997 + PIXEL02_1M 1.1998 + PIXEL10_1 1.1999 + PIXEL11 1.2000 + PIXEL12_1 1.2001 + PIXEL20_1L 1.2002 + PIXEL21_C 1.2003 + PIXEL22_1R 1.2004 + break; 1.2005 + } 1.2006 + case 230: 1.2007 + { 1.2008 + PIXEL00_1M 1.2009 + PIXEL01_C 1.2010 + PIXEL02_1R 1.2011 + PIXEL10_1 1.2012 + PIXEL11 1.2013 + PIXEL12_1 1.2014 + PIXEL20_1L 1.2015 + PIXEL21_C 1.2016 + PIXEL22_1R 1.2017 + break; 1.2018 + } 1.2019 + case 199: 1.2020 + { 1.2021 + PIXEL00_1L 1.2022 + PIXEL01_C 1.2023 + PIXEL02_1R 1.2024 + PIXEL10_1 1.2025 + PIXEL11 1.2026 + PIXEL12_1 1.2027 + PIXEL20_1M 1.2028 + PIXEL21_C 1.2029 + PIXEL22_1R 1.2030 + break; 1.2031 + } 1.2032 + case 220: 1.2033 + { 1.2034 + PIXEL00_1M 1.2035 + PIXEL01_1 1.2036 + PIXEL02_1U 1.2037 + PIXEL10_C 1.2038 + PIXEL11 1.2039 + if (Diff(cget(8), cget(4))) 1.2040 + { 1.2041 + PIXEL20_1M 1.2042 + } 1.2043 + else 1.2044 + { 1.2045 + PIXEL20_2 1.2046 + } 1.2047 + if (Diff(cget(6), cget(8))) 1.2048 + { 1.2049 + PIXEL12_C 1.2050 + PIXEL21_C 1.2051 + PIXEL22_C 1.2052 + } 1.2053 + else 1.2054 + { 1.2055 + PIXEL12_3 1.2056 + PIXEL21_3 1.2057 + PIXEL22_4 1.2058 + } 1.2059 + break; 1.2060 + } 1.2061 + case 158: 1.2062 + { 1.2063 + if (Diff(cget(4), cget(2))) 1.2064 + { 1.2065 + PIXEL00_1M 1.2066 + } 1.2067 + else 1.2068 + { 1.2069 + PIXEL00_2 1.2070 + } 1.2071 + if (Diff(cget(2), cget(6))) 1.2072 + { 1.2073 + PIXEL01_C 1.2074 + PIXEL02_C 1.2075 + PIXEL12_C 1.2076 + } 1.2077 + else 1.2078 + { 1.2079 + PIXEL01_3 1.2080 + PIXEL02_4 1.2081 + PIXEL12_3 1.2082 + } 1.2083 + PIXEL10_C 1.2084 + PIXEL11 1.2085 + PIXEL20_1M 1.2086 + PIXEL21_1 1.2087 + PIXEL22_1D 1.2088 + break; 1.2089 + } 1.2090 + case 234: 1.2091 + { 1.2092 + if (Diff(cget(4), cget(2))) 1.2093 + { 1.2094 + PIXEL00_1M 1.2095 + } 1.2096 + else 1.2097 + { 1.2098 + PIXEL00_2 1.2099 + } 1.2100 + PIXEL01_C 1.2101 + PIXEL02_1M 1.2102 + PIXEL11 1.2103 + PIXEL12_1 1.2104 + if (Diff(cget(8), cget(4))) 1.2105 + { 1.2106 + PIXEL10_C 1.2107 + PIXEL20_C 1.2108 + PIXEL21_C 1.2109 + } 1.2110 + else 1.2111 + { 1.2112 + PIXEL10_3 1.2113 + PIXEL20_4 1.2114 + PIXEL21_3 1.2115 + } 1.2116 + PIXEL22_1R 1.2117 + break; 1.2118 + } 1.2119 + case 242: 1.2120 + { 1.2121 + PIXEL00_1M 1.2122 + PIXEL01_C 1.2123 + if (Diff(cget(2), cget(6))) 1.2124 + { 1.2125 + PIXEL02_1M 1.2126 + } 1.2127 + else 1.2128 + { 1.2129 + PIXEL02_2 1.2130 + } 1.2131 + PIXEL10_1 1.2132 + PIXEL11 1.2133 + PIXEL20_1L 1.2134 + if (Diff(cget(6), cget(8))) 1.2135 + { 1.2136 + PIXEL12_C 1.2137 + PIXEL21_C 1.2138 + PIXEL22_C 1.2139 + } 1.2140 + else 1.2141 + { 1.2142 + PIXEL12_3 1.2143 + PIXEL21_3 1.2144 + PIXEL22_4 1.2145 + } 1.2146 + break; 1.2147 + } 1.2148 + case 59: 1.2149 + { 1.2150 + if (Diff(cget(4), cget(2))) 1.2151 + { 1.2152 + PIXEL00_C 1.2153 + PIXEL01_C 1.2154 + PIXEL10_C 1.2155 + } 1.2156 + else 1.2157 + { 1.2158 + PIXEL00_4 1.2159 + PIXEL01_3 1.2160 + PIXEL10_3 1.2161 + } 1.2162 + if (Diff(cget(2), cget(6))) 1.2163 + { 1.2164 + PIXEL02_1M 1.2165 + } 1.2166 + else 1.2167 + { 1.2168 + PIXEL02_2 1.2169 + } 1.2170 + PIXEL11 1.2171 + PIXEL12_C 1.2172 + PIXEL20_1D 1.2173 + PIXEL21_1 1.2174 + PIXEL22_1M 1.2175 + break; 1.2176 + } 1.2177 + case 121: 1.2178 + { 1.2179 + PIXEL00_1U 1.2180 + PIXEL01_1 1.2181 + PIXEL02_1M 1.2182 + PIXEL11 1.2183 + PIXEL12_C 1.2184 + if (Diff(cget(8), cget(4))) 1.2185 + { 1.2186 + PIXEL10_C 1.2187 + PIXEL20_C 1.2188 + PIXEL21_C 1.2189 + } 1.2190 + else 1.2191 + { 1.2192 + PIXEL10_3 1.2193 + PIXEL20_4 1.2194 + PIXEL21_3 1.2195 + } 1.2196 + if (Diff(cget(6), cget(8))) 1.2197 + { 1.2198 + PIXEL22_1M 1.2199 + } 1.2200 + else 1.2201 + { 1.2202 + PIXEL22_2 1.2203 + } 1.2204 + break; 1.2205 + } 1.2206 + case 87: 1.2207 + { 1.2208 + PIXEL00_1L 1.2209 + if (Diff(cget(2), cget(6))) 1.2210 + { 1.2211 + PIXEL01_C 1.2212 + PIXEL02_C 1.2213 + PIXEL12_C 1.2214 + } 1.2215 + else 1.2216 + { 1.2217 + PIXEL01_3 1.2218 + PIXEL02_4 1.2219 + PIXEL12_3 1.2220 + } 1.2221 + PIXEL10_1 1.2222 + PIXEL11 1.2223 + PIXEL20_1M 1.2224 + PIXEL21_C 1.2225 + if (Diff(cget(6), cget(8))) 1.2226 + { 1.2227 + PIXEL22_1M 1.2228 + } 1.2229 + else 1.2230 + { 1.2231 + PIXEL22_2 1.2232 + } 1.2233 + break; 1.2234 + } 1.2235 + case 79: 1.2236 + { 1.2237 + if (Diff(cget(4), cget(2))) 1.2238 + { 1.2239 + PIXEL00_C 1.2240 + PIXEL01_C 1.2241 + PIXEL10_C 1.2242 + } 1.2243 + else 1.2244 + { 1.2245 + PIXEL00_4 1.2246 + PIXEL01_3 1.2247 + PIXEL10_3 1.2248 + } 1.2249 + PIXEL02_1R 1.2250 + PIXEL11 1.2251 + PIXEL12_1 1.2252 + if (Diff(cget(8), cget(4))) 1.2253 + { 1.2254 + PIXEL20_1M 1.2255 + } 1.2256 + else 1.2257 + { 1.2258 + PIXEL20_2 1.2259 + } 1.2260 + PIXEL21_C 1.2261 + PIXEL22_1M 1.2262 + break; 1.2263 + } 1.2264 + case 122: 1.2265 + { 1.2266 + if (Diff(cget(4), cget(2))) 1.2267 + { 1.2268 + PIXEL00_1M 1.2269 + } 1.2270 + else 1.2271 + { 1.2272 + PIXEL00_2 1.2273 + } 1.2274 + PIXEL01_C 1.2275 + if (Diff(cget(2), cget(6))) 1.2276 + { 1.2277 + PIXEL02_1M 1.2278 + } 1.2279 + else 1.2280 + { 1.2281 + PIXEL02_2 1.2282 + } 1.2283 + PIXEL11 1.2284 + PIXEL12_C 1.2285 + if (Diff(cget(8), cget(4))) 1.2286 + { 1.2287 + PIXEL10_C 1.2288 + PIXEL20_C 1.2289 + PIXEL21_C 1.2290 + } 1.2291 + else 1.2292 + { 1.2293 + PIXEL10_3 1.2294 + PIXEL20_4 1.2295 + PIXEL21_3 1.2296 + } 1.2297 + if (Diff(cget(6), cget(8))) 1.2298 + { 1.2299 + PIXEL22_1M 1.2300 + } 1.2301 + else 1.2302 + { 1.2303 + PIXEL22_2 1.2304 + } 1.2305 + break; 1.2306 + } 1.2307 + case 94: 1.2308 + { 1.2309 + if (Diff(cget(4), cget(2))) 1.2310 + { 1.2311 + PIXEL00_1M 1.2312 + } 1.2313 + else 1.2314 + { 1.2315 + PIXEL00_2 1.2316 + } 1.2317 + if (Diff(cget(2), cget(6))) 1.2318 + { 1.2319 + PIXEL01_C 1.2320 + PIXEL02_C 1.2321 + PIXEL12_C 1.2322 + } 1.2323 + else 1.2324 + { 1.2325 + PIXEL01_3 1.2326 + PIXEL02_4 1.2327 + PIXEL12_3 1.2328 + } 1.2329 + PIXEL10_C 1.2330 + PIXEL11 1.2331 + if (Diff(cget(8), cget(4))) 1.2332 + { 1.2333 + PIXEL20_1M 1.2334 + } 1.2335 + else 1.2336 + { 1.2337 + PIXEL20_2 1.2338 + } 1.2339 + PIXEL21_C 1.2340 + if (Diff(cget(6), cget(8))) 1.2341 + { 1.2342 + PIXEL22_1M 1.2343 + } 1.2344 + else 1.2345 + { 1.2346 + PIXEL22_2 1.2347 + } 1.2348 + break; 1.2349 + } 1.2350 + case 218: 1.2351 + { 1.2352 + if (Diff(cget(4), cget(2))) 1.2353 + { 1.2354 + PIXEL00_1M 1.2355 + } 1.2356 + else 1.2357 + { 1.2358 + PIXEL00_2 1.2359 + } 1.2360 + PIXEL01_C 1.2361 + if (Diff(cget(2), cget(6))) 1.2362 + { 1.2363 + PIXEL02_1M 1.2364 + } 1.2365 + else 1.2366 + { 1.2367 + PIXEL02_2 1.2368 + } 1.2369 + PIXEL10_C 1.2370 + PIXEL11 1.2371 + if (Diff(cget(8), cget(4))) 1.2372 + { 1.2373 + PIXEL20_1M 1.2374 + } 1.2375 + else 1.2376 + { 1.2377 + PIXEL20_2 1.2378 + } 1.2379 + if (Diff(cget(6), cget(8))) 1.2380 + { 1.2381 + PIXEL12_C 1.2382 + PIXEL21_C 1.2383 + PIXEL22_C 1.2384 + } 1.2385 + else 1.2386 + { 1.2387 + PIXEL12_3 1.2388 + PIXEL21_3 1.2389 + PIXEL22_4 1.2390 + } 1.2391 + break; 1.2392 + } 1.2393 + case 91: 1.2394 + { 1.2395 + if (Diff(cget(4), cget(2))) 1.2396 + { 1.2397 + PIXEL00_C 1.2398 + PIXEL01_C 1.2399 + PIXEL10_C 1.2400 + } 1.2401 + else 1.2402 + { 1.2403 + PIXEL00_4 1.2404 + PIXEL01_3 1.2405 + PIXEL10_3 1.2406 + } 1.2407 + if (Diff(cget(2), cget(6))) 1.2408 + { 1.2409 + PIXEL02_1M 1.2410 + } 1.2411 + else 1.2412 + { 1.2413 + PIXEL02_2 1.2414 + } 1.2415 + PIXEL11 1.2416 + PIXEL12_C 1.2417 + if (Diff(cget(8), cget(4))) 1.2418 + { 1.2419 + PIXEL20_1M 1.2420 + } 1.2421 + else 1.2422 + { 1.2423 + PIXEL20_2 1.2424 + } 1.2425 + PIXEL21_C 1.2426 + if (Diff(cget(6), cget(8))) 1.2427 + { 1.2428 + PIXEL22_1M 1.2429 + } 1.2430 + else 1.2431 + { 1.2432 + PIXEL22_2 1.2433 + } 1.2434 + break; 1.2435 + } 1.2436 + case 229: 1.2437 + { 1.2438 + PIXEL00_2 1.2439 + PIXEL01_1 1.2440 + PIXEL02_2 1.2441 + PIXEL10_1 1.2442 + PIXEL11 1.2443 + PIXEL12_1 1.2444 + PIXEL20_1L 1.2445 + PIXEL21_C 1.2446 + PIXEL22_1R 1.2447 + break; 1.2448 + } 1.2449 + case 167: 1.2450 + { 1.2451 + PIXEL00_1L 1.2452 + PIXEL01_C 1.2453 + PIXEL02_1R 1.2454 + PIXEL10_1 1.2455 + PIXEL11 1.2456 + PIXEL12_1 1.2457 + PIXEL20_2 1.2458 + PIXEL21_1 1.2459 + PIXEL22_2 1.2460 + break; 1.2461 + } 1.2462 + case 173: 1.2463 + { 1.2464 + PIXEL00_1U 1.2465 + PIXEL01_1 1.2466 + PIXEL02_2 1.2467 + PIXEL10_C 1.2468 + PIXEL11 1.2469 + PIXEL12_1 1.2470 + PIXEL20_1D 1.2471 + PIXEL21_1 1.2472 + PIXEL22_2 1.2473 + break; 1.2474 + } 1.2475 + case 181: 1.2476 + { 1.2477 + PIXEL00_2 1.2478 + PIXEL01_1 1.2479 + PIXEL02_1U 1.2480 + PIXEL10_1 1.2481 + PIXEL11 1.2482 + PIXEL12_C 1.2483 + PIXEL20_2 1.2484 + PIXEL21_1 1.2485 + PIXEL22_1D 1.2486 + break; 1.2487 + } 1.2488 + case 186: 1.2489 + { 1.2490 + if (Diff(cget(4), cget(2))) 1.2491 + { 1.2492 + PIXEL00_1M 1.2493 + } 1.2494 + else 1.2495 + { 1.2496 + PIXEL00_2 1.2497 + } 1.2498 + PIXEL01_C 1.2499 + if (Diff(cget(2), cget(6))) 1.2500 + { 1.2501 + PIXEL02_1M 1.2502 + } 1.2503 + else 1.2504 + { 1.2505 + PIXEL02_2 1.2506 + } 1.2507 + PIXEL10_C 1.2508 + PIXEL11 1.2509 + PIXEL12_C 1.2510 + PIXEL20_1D 1.2511 + PIXEL21_1 1.2512 + PIXEL22_1D 1.2513 + break; 1.2514 + } 1.2515 + case 115: 1.2516 + { 1.2517 + PIXEL00_1L 1.2518 + PIXEL01_C 1.2519 + if (Diff(cget(2), cget(6))) 1.2520 + { 1.2521 + PIXEL02_1M 1.2522 + } 1.2523 + else 1.2524 + { 1.2525 + PIXEL02_2 1.2526 + } 1.2527 + PIXEL10_1 1.2528 + PIXEL11 1.2529 + PIXEL12_C 1.2530 + PIXEL20_1L 1.2531 + PIXEL21_C 1.2532 + if (Diff(cget(6), cget(8))) 1.2533 + { 1.2534 + PIXEL22_1M 1.2535 + } 1.2536 + else 1.2537 + { 1.2538 + PIXEL22_2 1.2539 + } 1.2540 + break; 1.2541 + } 1.2542 + case 93: 1.2543 + { 1.2544 + PIXEL00_1U 1.2545 + PIXEL01_1 1.2546 + PIXEL02_1U 1.2547 + PIXEL10_C 1.2548 + PIXEL11 1.2549 + PIXEL12_C 1.2550 + if (Diff(cget(8), cget(4))) 1.2551 + { 1.2552 + PIXEL20_1M 1.2553 + } 1.2554 + else 1.2555 + { 1.2556 + PIXEL20_2 1.2557 + } 1.2558 + PIXEL21_C 1.2559 + if (Diff(cget(6), cget(8))) 1.2560 + { 1.2561 + PIXEL22_1M 1.2562 + } 1.2563 + else 1.2564 + { 1.2565 + PIXEL22_2 1.2566 + } 1.2567 + break; 1.2568 + } 1.2569 + case 206: 1.2570 + { 1.2571 + if (Diff(cget(4), cget(2))) 1.2572 + { 1.2573 + PIXEL00_1M 1.2574 + } 1.2575 + else 1.2576 + { 1.2577 + PIXEL00_2 1.2578 + } 1.2579 + PIXEL01_C 1.2580 + PIXEL02_1R 1.2581 + PIXEL10_C 1.2582 + PIXEL11 1.2583 + PIXEL12_1 1.2584 + if (Diff(cget(8), cget(4))) 1.2585 + { 1.2586 + PIXEL20_1M 1.2587 + } 1.2588 + else 1.2589 + { 1.2590 + PIXEL20_2 1.2591 + } 1.2592 + PIXEL21_C 1.2593 + PIXEL22_1R 1.2594 + break; 1.2595 + } 1.2596 + case 205: 1.2597 + case 201: 1.2598 + { 1.2599 + PIXEL00_1U 1.2600 + PIXEL01_1 1.2601 + PIXEL02_2 1.2602 + PIXEL10_C 1.2603 + PIXEL11 1.2604 + PIXEL12_1 1.2605 + if (Diff(cget(8), cget(4))) 1.2606 + { 1.2607 + PIXEL20_1M 1.2608 + } 1.2609 + else 1.2610 + { 1.2611 + PIXEL20_2 1.2612 + } 1.2613 + PIXEL21_C 1.2614 + PIXEL22_1R 1.2615 + break; 1.2616 + } 1.2617 + case 174: 1.2618 + case 46: 1.2619 + { 1.2620 + if (Diff(cget(4), cget(2))) 1.2621 + { 1.2622 + PIXEL00_1M 1.2623 + } 1.2624 + else 1.2625 + { 1.2626 + PIXEL00_2 1.2627 + } 1.2628 + PIXEL01_C 1.2629 + PIXEL02_1R 1.2630 + PIXEL10_C 1.2631 + PIXEL11 1.2632 + PIXEL12_1 1.2633 + PIXEL20_1D 1.2634 + PIXEL21_1 1.2635 + PIXEL22_2 1.2636 + break; 1.2637 + } 1.2638 + case 179: 1.2639 + case 147: 1.2640 + { 1.2641 + PIXEL00_1L 1.2642 + PIXEL01_C 1.2643 + if (Diff(cget(2), cget(6))) 1.2644 + { 1.2645 + PIXEL02_1M 1.2646 + } 1.2647 + else 1.2648 + { 1.2649 + PIXEL02_2 1.2650 + } 1.2651 + PIXEL10_1 1.2652 + PIXEL11 1.2653 + PIXEL12_C 1.2654 + PIXEL20_2 1.2655 + PIXEL21_1 1.2656 + PIXEL22_1D 1.2657 + break; 1.2658 + } 1.2659 + case 117: 1.2660 + case 116: 1.2661 + { 1.2662 + PIXEL00_2 1.2663 + PIXEL01_1 1.2664 + PIXEL02_1U 1.2665 + PIXEL10_1 1.2666 + PIXEL11 1.2667 + PIXEL12_C 1.2668 + PIXEL20_1L 1.2669 + PIXEL21_C 1.2670 + if (Diff(cget(6), cget(8))) 1.2671 + { 1.2672 + PIXEL22_1M 1.2673 + } 1.2674 + else 1.2675 + { 1.2676 + PIXEL22_2 1.2677 + } 1.2678 + break; 1.2679 + } 1.2680 + case 189: 1.2681 + { 1.2682 + PIXEL00_1U 1.2683 + PIXEL01_1 1.2684 + PIXEL02_1U 1.2685 + PIXEL10_C 1.2686 + PIXEL11 1.2687 + PIXEL12_C 1.2688 + PIXEL20_1D 1.2689 + PIXEL21_1 1.2690 + PIXEL22_1D 1.2691 + break; 1.2692 + } 1.2693 + case 231: 1.2694 + { 1.2695 + PIXEL00_1L 1.2696 + PIXEL01_C 1.2697 + PIXEL02_1R 1.2698 + PIXEL10_1 1.2699 + PIXEL11 1.2700 + PIXEL12_1 1.2701 + PIXEL20_1L 1.2702 + PIXEL21_C 1.2703 + PIXEL22_1R 1.2704 + break; 1.2705 + } 1.2706 + case 126: 1.2707 + { 1.2708 + PIXEL00_1M 1.2709 + if (Diff(cget(2), cget(6))) 1.2710 + { 1.2711 + PIXEL01_C 1.2712 + PIXEL02_C 1.2713 + PIXEL12_C 1.2714 + } 1.2715 + else 1.2716 + { 1.2717 + PIXEL01_3 1.2718 + PIXEL02_4 1.2719 + PIXEL12_3 1.2720 + } 1.2721 + PIXEL11 1.2722 + if (Diff(cget(8), cget(4))) 1.2723 + { 1.2724 + PIXEL10_C 1.2725 + PIXEL20_C 1.2726 + PIXEL21_C 1.2727 + } 1.2728 + else 1.2729 + { 1.2730 + PIXEL10_3 1.2731 + PIXEL20_4 1.2732 + PIXEL21_3 1.2733 + } 1.2734 + PIXEL22_1M 1.2735 + break; 1.2736 + } 1.2737 + case 219: 1.2738 + { 1.2739 + if (Diff(cget(4), cget(2))) 1.2740 + { 1.2741 + PIXEL00_C 1.2742 + PIXEL01_C 1.2743 + PIXEL10_C 1.2744 + } 1.2745 + else 1.2746 + { 1.2747 + PIXEL00_4 1.2748 + PIXEL01_3 1.2749 + PIXEL10_3 1.2750 + } 1.2751 + PIXEL02_1M 1.2752 + PIXEL11 1.2753 + PIXEL20_1M 1.2754 + if (Diff(cget(6), cget(8))) 1.2755 + { 1.2756 + PIXEL12_C 1.2757 + PIXEL21_C 1.2758 + PIXEL22_C 1.2759 + } 1.2760 + else 1.2761 + { 1.2762 + PIXEL12_3 1.2763 + PIXEL21_3 1.2764 + PIXEL22_4 1.2765 + } 1.2766 + break; 1.2767 + } 1.2768 + case 125: 1.2769 + { 1.2770 + if (Diff(cget(8), cget(4))) 1.2771 + { 1.2772 + PIXEL00_1U 1.2773 + PIXEL10_C 1.2774 + PIXEL20_C 1.2775 + PIXEL21_C 1.2776 + } 1.2777 + else 1.2778 + { 1.2779 + PIXEL00_2 1.2780 + PIXEL10_6 1.2781 + PIXEL20_5 1.2782 + PIXEL21_1 1.2783 + } 1.2784 + PIXEL01_1 1.2785 + PIXEL02_1U 1.2786 + PIXEL11 1.2787 + PIXEL12_C 1.2788 + PIXEL22_1M 1.2789 + break; 1.2790 + } 1.2791 + case 221: 1.2792 + { 1.2793 + if (Diff(cget(6), cget(8))) 1.2794 + { 1.2795 + PIXEL02_1U 1.2796 + PIXEL12_C 1.2797 + PIXEL21_C 1.2798 + PIXEL22_C 1.2799 + } 1.2800 + else 1.2801 + { 1.2802 + PIXEL02_2 1.2803 + PIXEL12_6 1.2804 + PIXEL21_1 1.2805 + PIXEL22_5 1.2806 + } 1.2807 + PIXEL00_1U 1.2808 + PIXEL01_1 1.2809 + PIXEL10_C 1.2810 + PIXEL11 1.2811 + PIXEL20_1M 1.2812 + break; 1.2813 + } 1.2814 + case 207: 1.2815 + { 1.2816 + if (Diff(cget(4), cget(2))) 1.2817 + { 1.2818 + PIXEL00_C 1.2819 + PIXEL01_C 1.2820 + PIXEL02_1R 1.2821 + PIXEL10_C 1.2822 + } 1.2823 + else 1.2824 + { 1.2825 + PIXEL00_5 1.2826 + PIXEL01_6 1.2827 + PIXEL02_2 1.2828 + PIXEL10_1 1.2829 + } 1.2830 + PIXEL11 1.2831 + PIXEL12_1 1.2832 + PIXEL20_1M 1.2833 + PIXEL21_C 1.2834 + PIXEL22_1R 1.2835 + break; 1.2836 + } 1.2837 + case 238: 1.2838 + { 1.2839 + if (Diff(cget(8), cget(4))) 1.2840 + { 1.2841 + PIXEL10_C 1.2842 + PIXEL20_C 1.2843 + PIXEL21_C 1.2844 + PIXEL22_1R 1.2845 + } 1.2846 + else 1.2847 + { 1.2848 + PIXEL10_1 1.2849 + PIXEL20_5 1.2850 + PIXEL21_6 1.2851 + PIXEL22_2 1.2852 + } 1.2853 + PIXEL00_1M 1.2854 + PIXEL01_C 1.2855 + PIXEL02_1R 1.2856 + PIXEL11 1.2857 + PIXEL12_1 1.2858 + break; 1.2859 + } 1.2860 + case 190: 1.2861 + { 1.2862 + if (Diff(cget(2), cget(6))) 1.2863 + { 1.2864 + PIXEL01_C 1.2865 + PIXEL02_C 1.2866 + PIXEL12_C 1.2867 + PIXEL22_1D 1.2868 + } 1.2869 + else 1.2870 + { 1.2871 + PIXEL01_1 1.2872 + PIXEL02_5 1.2873 + PIXEL12_6 1.2874 + PIXEL22_2 1.2875 + } 1.2876 + PIXEL00_1M 1.2877 + PIXEL10_C 1.2878 + PIXEL11 1.2879 + PIXEL20_1D 1.2880 + PIXEL21_1 1.2881 + break; 1.2882 + } 1.2883 + case 187: 1.2884 + { 1.2885 + if (Diff(cget(4), cget(2))) 1.2886 + { 1.2887 + PIXEL00_C 1.2888 + PIXEL01_C 1.2889 + PIXEL10_C 1.2890 + PIXEL20_1D 1.2891 + } 1.2892 + else 1.2893 + { 1.2894 + PIXEL00_5 1.2895 + PIXEL01_1 1.2896 + PIXEL10_6 1.2897 + PIXEL20_2 1.2898 + } 1.2899 + PIXEL02_1M 1.2900 + PIXEL11 1.2901 + PIXEL12_C 1.2902 + PIXEL21_1 1.2903 + PIXEL22_1D 1.2904 + break; 1.2905 + } 1.2906 + case 243: 1.2907 + { 1.2908 + if (Diff(cget(6), cget(8))) 1.2909 + { 1.2910 + PIXEL12_C 1.2911 + PIXEL20_1L 1.2912 + PIXEL21_C 1.2913 + PIXEL22_C 1.2914 + } 1.2915 + else 1.2916 + { 1.2917 + PIXEL12_1 1.2918 + PIXEL20_2 1.2919 + PIXEL21_6 1.2920 + PIXEL22_5 1.2921 + } 1.2922 + PIXEL00_1L 1.2923 + PIXEL01_C 1.2924 + PIXEL02_1M 1.2925 + PIXEL10_1 1.2926 + PIXEL11 1.2927 + break; 1.2928 + } 1.2929 + case 119: 1.2930 + { 1.2931 + if (Diff(cget(2), cget(6))) 1.2932 + { 1.2933 + PIXEL00_1L 1.2934 + PIXEL01_C 1.2935 + PIXEL02_C 1.2936 + PIXEL12_C 1.2937 + } 1.2938 + else 1.2939 + { 1.2940 + PIXEL00_2 1.2941 + PIXEL01_6 1.2942 + PIXEL02_5 1.2943 + PIXEL12_1 1.2944 + } 1.2945 + PIXEL10_1 1.2946 + PIXEL11 1.2947 + PIXEL20_1L 1.2948 + PIXEL21_C 1.2949 + PIXEL22_1M 1.2950 + break; 1.2951 + } 1.2952 + case 237: 1.2953 + case 233: 1.2954 + { 1.2955 + PIXEL00_1U 1.2956 + PIXEL01_1 1.2957 + PIXEL02_2 1.2958 + PIXEL10_C 1.2959 + PIXEL11 1.2960 + PIXEL12_1 1.2961 + if (Diff(cget(8), cget(4))) 1.2962 + { 1.2963 + PIXEL20_C 1.2964 + } 1.2965 + else 1.2966 + { 1.2967 + PIXEL20_2 1.2968 + } 1.2969 + PIXEL21_C 1.2970 + PIXEL22_1R 1.2971 + break; 1.2972 + } 1.2973 + case 175: 1.2974 + case 47: 1.2975 + { 1.2976 + if (Diff(cget(4), cget(2))) 1.2977 + { 1.2978 + PIXEL00_C 1.2979 + } 1.2980 + else 1.2981 + { 1.2982 + PIXEL00_2 1.2983 + } 1.2984 + PIXEL01_C 1.2985 + PIXEL02_1R 1.2986 + PIXEL10_C 1.2987 + PIXEL11 1.2988 + PIXEL12_1 1.2989 + PIXEL20_1D 1.2990 + PIXEL21_1 1.2991 + PIXEL22_2 1.2992 + break; 1.2993 + } 1.2994 + case 183: 1.2995 + case 151: 1.2996 + { 1.2997 + PIXEL00_1L 1.2998 + PIXEL01_C 1.2999 + if (Diff(cget(2), cget(6))) 1.3000 + { 1.3001 + PIXEL02_C 1.3002 + } 1.3003 + else 1.3004 + { 1.3005 + PIXEL02_2 1.3006 + } 1.3007 + PIXEL10_1 1.3008 + PIXEL11 1.3009 + PIXEL12_C 1.3010 + PIXEL20_2 1.3011 + PIXEL21_1 1.3012 + PIXEL22_1D 1.3013 + break; 1.3014 + } 1.3015 + case 245: 1.3016 + case 244: 1.3017 + { 1.3018 + PIXEL00_2 1.3019 + PIXEL01_1 1.3020 + PIXEL02_1U 1.3021 + PIXEL10_1 1.3022 + PIXEL11 1.3023 + PIXEL12_C 1.3024 + PIXEL20_1L 1.3025 + PIXEL21_C 1.3026 + if (Diff(cget(6), cget(8))) 1.3027 + { 1.3028 + PIXEL22_C 1.3029 + } 1.3030 + else 1.3031 + { 1.3032 + PIXEL22_2 1.3033 + } 1.3034 + break; 1.3035 + } 1.3036 + case 250: 1.3037 + { 1.3038 + PIXEL00_1M 1.3039 + PIXEL01_C 1.3040 + PIXEL02_1M 1.3041 + PIXEL11 1.3042 + if (Diff(cget(8), cget(4))) 1.3043 + { 1.3044 + PIXEL10_C 1.3045 + PIXEL20_C 1.3046 + } 1.3047 + else 1.3048 + { 1.3049 + PIXEL10_3 1.3050 + PIXEL20_4 1.3051 + } 1.3052 + PIXEL21_C 1.3053 + if (Diff(cget(6), cget(8))) 1.3054 + { 1.3055 + PIXEL12_C 1.3056 + PIXEL22_C 1.3057 + } 1.3058 + else 1.3059 + { 1.3060 + PIXEL12_3 1.3061 + PIXEL22_4 1.3062 + } 1.3063 + break; 1.3064 + } 1.3065 + case 123: 1.3066 + { 1.3067 + if (Diff(cget(4), cget(2))) 1.3068 + { 1.3069 + PIXEL00_C 1.3070 + PIXEL01_C 1.3071 + } 1.3072 + else 1.3073 + { 1.3074 + PIXEL00_4 1.3075 + PIXEL01_3 1.3076 + } 1.3077 + PIXEL02_1M 1.3078 + PIXEL10_C 1.3079 + PIXEL11 1.3080 + PIXEL12_C 1.3081 + if (Diff(cget(8), cget(4))) 1.3082 + { 1.3083 + PIXEL20_C 1.3084 + PIXEL21_C 1.3085 + } 1.3086 + else 1.3087 + { 1.3088 + PIXEL20_4 1.3089 + PIXEL21_3 1.3090 + } 1.3091 + PIXEL22_1M 1.3092 + break; 1.3093 + } 1.3094 + case 95: 1.3095 + { 1.3096 + if (Diff(cget(4), cget(2))) 1.3097 + { 1.3098 + PIXEL00_C 1.3099 + PIXEL10_C 1.3100 + } 1.3101 + else 1.3102 + { 1.3103 + PIXEL00_4 1.3104 + PIXEL10_3 1.3105 + } 1.3106 + PIXEL01_C 1.3107 + if (Diff(cget(2), cget(6))) 1.3108 + { 1.3109 + PIXEL02_C 1.3110 + PIXEL12_C 1.3111 + } 1.3112 + else 1.3113 + { 1.3114 + PIXEL02_4 1.3115 + PIXEL12_3 1.3116 + } 1.3117 + PIXEL11 1.3118 + PIXEL20_1M 1.3119 + PIXEL21_C 1.3120 + PIXEL22_1M 1.3121 + break; 1.3122 + } 1.3123 + case 222: 1.3124 + { 1.3125 + PIXEL00_1M 1.3126 + if (Diff(cget(2), cget(6))) 1.3127 + { 1.3128 + PIXEL01_C 1.3129 + PIXEL02_C 1.3130 + } 1.3131 + else 1.3132 + { 1.3133 + PIXEL01_3 1.3134 + PIXEL02_4 1.3135 + } 1.3136 + PIXEL10_C 1.3137 + PIXEL11 1.3138 + PIXEL12_C 1.3139 + PIXEL20_1M 1.3140 + if (Diff(cget(6), cget(8))) 1.3141 + { 1.3142 + PIXEL21_C 1.3143 + PIXEL22_C 1.3144 + } 1.3145 + else 1.3146 + { 1.3147 + PIXEL21_3 1.3148 + PIXEL22_4 1.3149 + } 1.3150 + break; 1.3151 + } 1.3152 + case 252: 1.3153 + { 1.3154 + PIXEL00_1M 1.3155 + PIXEL01_1 1.3156 + PIXEL02_1U 1.3157 + PIXEL11 1.3158 + PIXEL12_C 1.3159 + if (Diff(cget(8), cget(4))) 1.3160 + { 1.3161 + PIXEL10_C 1.3162 + PIXEL20_C 1.3163 + } 1.3164 + else 1.3165 + { 1.3166 + PIXEL10_3 1.3167 + PIXEL20_4 1.3168 + } 1.3169 + PIXEL21_C 1.3170 + if (Diff(cget(6), cget(8))) 1.3171 + { 1.3172 + PIXEL22_C 1.3173 + } 1.3174 + else 1.3175 + { 1.3176 + PIXEL22_2 1.3177 + } 1.3178 + break; 1.3179 + } 1.3180 + case 249: 1.3181 + { 1.3182 + PIXEL00_1U 1.3183 + PIXEL01_1 1.3184 + PIXEL02_1M 1.3185 + PIXEL10_C 1.3186 + PIXEL11 1.3187 + if (Diff(cget(8), cget(4))) 1.3188 + { 1.3189 + PIXEL20_C 1.3190 + } 1.3191 + else 1.3192 + { 1.3193 + PIXEL20_2 1.3194 + } 1.3195 + PIXEL21_C 1.3196 + if (Diff(cget(6), cget(8))) 1.3197 + { 1.3198 + PIXEL12_C 1.3199 + PIXEL22_C 1.3200 + } 1.3201 + else 1.3202 + { 1.3203 + PIXEL12_3 1.3204 + PIXEL22_4 1.3205 + } 1.3206 + break; 1.3207 + } 1.3208 + case 235: 1.3209 + { 1.3210 + if (Diff(cget(4), cget(2))) 1.3211 + { 1.3212 + PIXEL00_C 1.3213 + PIXEL01_C 1.3214 + } 1.3215 + else 1.3216 + { 1.3217 + PIXEL00_4 1.3218 + PIXEL01_3 1.3219 + } 1.3220 + PIXEL02_1M 1.3221 + PIXEL10_C 1.3222 + PIXEL11 1.3223 + PIXEL12_1 1.3224 + if (Diff(cget(8), cget(4))) 1.3225 + { 1.3226 + PIXEL20_C 1.3227 + } 1.3228 + else 1.3229 + { 1.3230 + PIXEL20_2 1.3231 + } 1.3232 + PIXEL21_C 1.3233 + PIXEL22_1R 1.3234 + break; 1.3235 + } 1.3236 + case 111: 1.3237 + { 1.3238 + if (Diff(cget(4), cget(2))) 1.3239 + { 1.3240 + PIXEL00_C 1.3241 + } 1.3242 + else 1.3243 + { 1.3244 + PIXEL00_2 1.3245 + } 1.3246 + PIXEL01_C 1.3247 + PIXEL02_1R 1.3248 + PIXEL10_C 1.3249 + PIXEL11 1.3250 + PIXEL12_1 1.3251 + if (Diff(cget(8), cget(4))) 1.3252 + { 1.3253 + PIXEL20_C 1.3254 + PIXEL21_C 1.3255 + } 1.3256 + else 1.3257 + { 1.3258 + PIXEL20_4 1.3259 + PIXEL21_3 1.3260 + } 1.3261 + PIXEL22_1M 1.3262 + break; 1.3263 + } 1.3264 + case 63: 1.3265 + { 1.3266 + if (Diff(cget(4), cget(2))) 1.3267 + { 1.3268 + PIXEL00_C 1.3269 + } 1.3270 + else 1.3271 + { 1.3272 + PIXEL00_2 1.3273 + } 1.3274 + PIXEL01_C 1.3275 + if (Diff(cget(2), cget(6))) 1.3276 + { 1.3277 + PIXEL02_C 1.3278 + PIXEL12_C 1.3279 + } 1.3280 + else 1.3281 + { 1.3282 + PIXEL02_4 1.3283 + PIXEL12_3 1.3284 + } 1.3285 + PIXEL10_C 1.3286 + PIXEL11 1.3287 + PIXEL20_1D 1.3288 + PIXEL21_1 1.3289 + PIXEL22_1M 1.3290 + break; 1.3291 + } 1.3292 + case 159: 1.3293 + { 1.3294 + if (Diff(cget(4), cget(2))) 1.3295 + { 1.3296 + PIXEL00_C 1.3297 + PIXEL10_C 1.3298 + } 1.3299 + else 1.3300 + { 1.3301 + PIXEL00_4 1.3302 + PIXEL10_3 1.3303 + } 1.3304 + PIXEL01_C 1.3305 + if (Diff(cget(2), cget(6))) 1.3306 + { 1.3307 + PIXEL02_C 1.3308 + } 1.3309 + else 1.3310 + { 1.3311 + PIXEL02_2 1.3312 + } 1.3313 + PIXEL11 1.3314 + PIXEL12_C 1.3315 + PIXEL20_1M 1.3316 + PIXEL21_1 1.3317 + PIXEL22_1D 1.3318 + break; 1.3319 + } 1.3320 + case 215: 1.3321 + { 1.3322 + PIXEL00_1L 1.3323 + PIXEL01_C 1.3324 + if (Diff(cget(2), cget(6))) 1.3325 + { 1.3326 + PIXEL02_C 1.3327 + } 1.3328 + else 1.3329 + { 1.3330 + PIXEL02_2 1.3331 + } 1.3332 + PIXEL10_1 1.3333 + PIXEL11 1.3334 + PIXEL12_C 1.3335 + PIXEL20_1M 1.3336 + if (Diff(cget(6), cget(8))) 1.3337 + { 1.3338 + PIXEL21_C 1.3339 + PIXEL22_C 1.3340 + } 1.3341 + else 1.3342 + { 1.3343 + PIXEL21_3 1.3344 + PIXEL22_4 1.3345 + } 1.3346 + break; 1.3347 + } 1.3348 + case 246: 1.3349 + { 1.3350 + PIXEL00_1M 1.3351 + if (Diff(cget(2), cget(6))) 1.3352 + { 1.3353 + PIXEL01_C 1.3354 + PIXEL02_C 1.3355 + } 1.3356 + else 1.3357 + { 1.3358 + PIXEL01_3 1.3359 + PIXEL02_4 1.3360 + } 1.3361 + PIXEL10_1 1.3362 + PIXEL11 1.3363 + PIXEL12_C 1.3364 + PIXEL20_1L 1.3365 + PIXEL21_C 1.3366 + if (Diff(cget(6), cget(8))) 1.3367 + { 1.3368 + PIXEL22_C 1.3369 + } 1.3370 + else 1.3371 + { 1.3372 + PIXEL22_2 1.3373 + } 1.3374 + break; 1.3375 + } 1.3376 + case 254: 1.3377 + { 1.3378 + PIXEL00_1M 1.3379 + if (Diff(cget(2), cget(6))) 1.3380 + { 1.3381 + PIXEL01_C 1.3382 + PIXEL02_C 1.3383 + } 1.3384 + else 1.3385 + { 1.3386 + PIXEL01_3 1.3387 + PIXEL02_4 1.3388 + } 1.3389 + PIXEL11 1.3390 + if (Diff(cget(8), cget(4))) 1.3391 + { 1.3392 + PIXEL10_C 1.3393 + PIXEL20_C 1.3394 + } 1.3395 + else 1.3396 + { 1.3397 + PIXEL10_3 1.3398 + PIXEL20_4 1.3399 + } 1.3400 + if (Diff(cget(6), cget(8))) 1.3401 + { 1.3402 + PIXEL12_C 1.3403 + PIXEL21_C 1.3404 + PIXEL22_C 1.3405 + } 1.3406 + else 1.3407 + { 1.3408 + PIXEL12_3 1.3409 + PIXEL21_3 1.3410 + PIXEL22_2 1.3411 + } 1.3412 + break; 1.3413 + } 1.3414 + case 253: 1.3415 + { 1.3416 + PIXEL00_1U 1.3417 + PIXEL01_1 1.3418 + PIXEL02_1U 1.3419 + PIXEL10_C 1.3420 + PIXEL11 1.3421 + PIXEL12_C 1.3422 + if (Diff(cget(8), cget(4))) 1.3423 + { 1.3424 + PIXEL20_C 1.3425 + } 1.3426 + else 1.3427 + { 1.3428 + PIXEL20_2 1.3429 + } 1.3430 + PIXEL21_C 1.3431 + if (Diff(cget(6), cget(8))) 1.3432 + { 1.3433 + PIXEL22_C 1.3434 + } 1.3435 + else 1.3436 + { 1.3437 + PIXEL22_2 1.3438 + } 1.3439 + break; 1.3440 + } 1.3441 + case 251: 1.3442 + { 1.3443 + if (Diff(cget(4), cget(2))) 1.3444 + { 1.3445 + PIXEL00_C 1.3446 + PIXEL01_C 1.3447 + } 1.3448 + else 1.3449 + { 1.3450 + PIXEL00_4 1.3451 + PIXEL01_3 1.3452 + } 1.3453 + PIXEL02_1M 1.3454 + PIXEL11 1.3455 + if (Diff(cget(8), cget(4))) 1.3456 + { 1.3457 + PIXEL10_C 1.3458 + PIXEL20_C 1.3459 + PIXEL21_C 1.3460 + } 1.3461 + else 1.3462 + { 1.3463 + PIXEL10_3 1.3464 + PIXEL20_2 1.3465 + PIXEL21_3 1.3466 + } 1.3467 + if (Diff(cget(6), cget(8))) 1.3468 + { 1.3469 + PIXEL12_C 1.3470 + PIXEL22_C 1.3471 + } 1.3472 + else 1.3473 + { 1.3474 + PIXEL12_3 1.3475 + PIXEL22_4 1.3476 + } 1.3477 + break; 1.3478 + } 1.3479 + case 239: 1.3480 + { 1.3481 + if (Diff(cget(4), cget(2))) 1.3482 + { 1.3483 + PIXEL00_C 1.3484 + } 1.3485 + else 1.3486 + { 1.3487 + PIXEL00_2 1.3488 + } 1.3489 + PIXEL01_C 1.3490 + PIXEL02_1R 1.3491 + PIXEL10_C 1.3492 + PIXEL11 1.3493 + PIXEL12_1 1.3494 + if (Diff(cget(8), cget(4))) 1.3495 + { 1.3496 + PIXEL20_C 1.3497 + } 1.3498 + else 1.3499 + { 1.3500 + PIXEL20_2 1.3501 + } 1.3502 + PIXEL21_C 1.3503 + PIXEL22_1R 1.3504 + break; 1.3505 + } 1.3506 + case 127: 1.3507 + { 1.3508 + if (Diff(cget(4), cget(2))) 1.3509 + { 1.3510 + PIXEL00_C 1.3511 + PIXEL01_C 1.3512 + PIXEL10_C 1.3513 + } 1.3514 + else 1.3515 + { 1.3516 + PIXEL00_2 1.3517 + PIXEL01_3 1.3518 + PIXEL10_3 1.3519 + } 1.3520 + if (Diff(cget(2), cget(6))) 1.3521 + { 1.3522 + PIXEL02_C 1.3523 + PIXEL12_C 1.3524 + } 1.3525 + else 1.3526 + { 1.3527 + PIXEL02_4 1.3528 + PIXEL12_3 1.3529 + } 1.3530 + PIXEL11 1.3531 + if (Diff(cget(8), cget(4))) 1.3532 + { 1.3533 + PIXEL20_C 1.3534 + PIXEL21_C 1.3535 + } 1.3536 + else 1.3537 + { 1.3538 + PIXEL20_4 1.3539 + PIXEL21_3 1.3540 + } 1.3541 + PIXEL22_1M 1.3542 + break; 1.3543 + } 1.3544 + case 191: 1.3545 + { 1.3546 + if (Diff(cget(4), cget(2))) 1.3547 + { 1.3548 + PIXEL00_C 1.3549 + } 1.3550 + else 1.3551 + { 1.3552 + PIXEL00_2 1.3553 + } 1.3554 + PIXEL01_C 1.3555 + if (Diff(cget(2), cget(6))) 1.3556 + { 1.3557 + PIXEL02_C 1.3558 + } 1.3559 + else 1.3560 + { 1.3561 + PIXEL02_2 1.3562 + } 1.3563 + PIXEL10_C 1.3564 + PIXEL11 1.3565 + PIXEL12_C 1.3566 + PIXEL20_1D 1.3567 + PIXEL21_1 1.3568 + PIXEL22_1D 1.3569 + break; 1.3570 + } 1.3571 + case 223: 1.3572 + { 1.3573 + if (Diff(cget(4), cget(2))) 1.3574 + { 1.3575 + PIXEL00_C 1.3576 + PIXEL10_C 1.3577 + } 1.3578 + else 1.3579 + { 1.3580 + PIXEL00_4 1.3581 + PIXEL10_3 1.3582 + } 1.3583 + if (Diff(cget(2), cget(6))) 1.3584 + { 1.3585 + PIXEL01_C 1.3586 + PIXEL02_C 1.3587 + PIXEL12_C 1.3588 + } 1.3589 + else 1.3590 + { 1.3591 + PIXEL01_3 1.3592 + PIXEL02_2 1.3593 + PIXEL12_3 1.3594 + } 1.3595 + PIXEL11 1.3596 + PIXEL20_1M 1.3597 + if (Diff(cget(6), cget(8))) 1.3598 + { 1.3599 + PIXEL21_C 1.3600 + PIXEL22_C 1.3601 + } 1.3602 + else 1.3603 + { 1.3604 + PIXEL21_3 1.3605 + PIXEL22_4 1.3606 + } 1.3607 + break; 1.3608 + } 1.3609 + case 247: 1.3610 + { 1.3611 + PIXEL00_1L 1.3612 + PIXEL01_C 1.3613 + if (Diff(cget(2), cget(6))) 1.3614 + { 1.3615 + PIXEL02_C 1.3616 + } 1.3617 + else 1.3618 + { 1.3619 + PIXEL02_2 1.3620 + } 1.3621 + PIXEL10_1 1.3622 + PIXEL11 1.3623 + PIXEL12_C 1.3624 + PIXEL20_1L 1.3625 + PIXEL21_C 1.3626 + if (Diff(cget(6), cget(8))) 1.3627 + { 1.3628 + PIXEL22_C 1.3629 + } 1.3630 + else 1.3631 + { 1.3632 + PIXEL22_2 1.3633 + } 1.3634 + break; 1.3635 + } 1.3636 + case 255: 1.3637 + { 1.3638 + if (Diff(cget(4), cget(2))) 1.3639 + { 1.3640 + PIXEL00_C 1.3641 + } 1.3642 + else 1.3643 + { 1.3644 + PIXEL00_2 1.3645 + } 1.3646 + PIXEL01_C 1.3647 + if (Diff(cget(2), cget(6))) 1.3648 + { 1.3649 + PIXEL02_C 1.3650 + } 1.3651 + else 1.3652 + { 1.3653 + PIXEL02_2 1.3654 + } 1.3655 + PIXEL10_C 1.3656 + PIXEL11 1.3657 + PIXEL12_C 1.3658 + if (Diff(cget(8), cget(4))) 1.3659 + { 1.3660 + PIXEL20_C 1.3661 + } 1.3662 + else 1.3663 + { 1.3664 + PIXEL20_2 1.3665 + } 1.3666 + PIXEL21_C 1.3667 + if (Diff(cget(6), cget(8))) 1.3668 + { 1.3669 + PIXEL22_C 1.3670 + } 1.3671 + else 1.3672 + { 1.3673 + PIXEL22_2 1.3674 + } 1.3675 + break; 1.3676 + } 1.3677 + }