Mercurial > vba-clojure
view src/filters/hq3x32.h @ 488:09b3bc0b71b5
added rgb->gbRGB translation code.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 07 May 2012 12:31:16 -0500 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #define PIXEL00_1M Interp1( pOut, c[5], c[1] );2 #define PIXEL00_1U Interp1( pOut, c[5], c[2] );3 #define PIXEL00_1L Interp1( pOut, c[5], c[4] );4 #define PIXEL00_2 Interp2( pOut, c[5], c[4], c[2] );5 #define PIXEL00_4 Interp4( pOut, c[5], c[4], c[2] );6 #define PIXEL00_5 Interp5( pOut, c[4], c[2] );7 #define PIXEL00_C *((PIXELTYPE*)(pOut)) = c[5];9 #define PIXEL01_1 Interp1( pOut+SIZE_PIXEL, c[5], c[2] );10 #define PIXEL01_3 Interp3( pOut+SIZE_PIXEL, c[5], c[2] );11 #define PIXEL01_6 Interp1( pOut+SIZE_PIXEL, c[2], c[5] );12 #define PIXEL01_C *((PIXELTYPE*)(pOut+SIZE_PIXEL)) = c[5];14 #define PIXEL02_1M Interp1( pOut+SIZE_PIXEL+SIZE_PIXEL, c[5], c[3] );15 #define PIXEL02_1U Interp1( pOut+SIZE_PIXEL+SIZE_PIXEL, c[5], c[2] );16 #define PIXEL02_1R Interp1( pOut+SIZE_PIXEL+SIZE_PIXEL, c[5], c[6] );17 #define PIXEL02_2 Interp2( pOut+SIZE_PIXEL+SIZE_PIXEL, c[5], c[2], c[6] );18 #define PIXEL02_4 Interp4( pOut+SIZE_PIXEL+SIZE_PIXEL, c[5], c[2], c[6] );19 #define PIXEL02_5 Interp5( pOut+SIZE_PIXEL+SIZE_PIXEL, c[2], c[6] );20 #define PIXEL02_C *((PIXELTYPE*)(pOut+SIZE_PIXEL+SIZE_PIXEL)) = c[5];22 #define PIXEL10_1 Interp1( pOut+dstPitch, c[5], c[4] );23 #define PIXEL10_3 Interp3( pOut+dstPitch, c[5], c[4] );24 #define PIXEL10_6 Interp1( pOut+dstPitch, c[4], c[5] );25 #define PIXEL10_C *((PIXELTYPE*)(pOut+dstPitch)) = c[5];27 #define PIXEL11 *((PIXELTYPE*)(pOut+dstPitch+SIZE_PIXEL)) = c[5];29 #define PIXEL12_1 Interp1( pOut+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[6] );30 #define PIXEL12_3 Interp3( pOut+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[6] );31 #define PIXEL12_6 Interp1( pOut+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[6], c[5] );32 #define PIXEL12_C *((PIXELTYPE*)(pOut+dstPitch+SIZE_PIXEL+SIZE_PIXEL)) = c[5];34 #define PIXEL20_1M Interp1( pOut+dstPitch+dstPitch, c[5], c[7] );35 #define PIXEL20_1D Interp1( pOut+dstPitch+dstPitch, c[5], c[8] );36 #define PIXEL20_1L Interp1( pOut+dstPitch+dstPitch, c[5], c[4] );37 #define PIXEL20_2 Interp2( pOut+dstPitch+dstPitch, c[5], c[8], c[4] );38 #define PIXEL20_4 Interp4( pOut+dstPitch+dstPitch, c[5], c[8], c[4] );39 #define PIXEL20_5 Interp5( pOut+dstPitch+dstPitch, c[8], c[4] );40 #define PIXEL20_C *((PIXELTYPE*)(pOut+dstPitch+dstPitch)) = c[5];42 #define PIXEL21_1 Interp1( pOut+dstPitch+dstPitch+SIZE_PIXEL, c[5], c[8] );43 #define PIXEL21_3 Interp3( pOut+dstPitch+dstPitch+SIZE_PIXEL, c[5], c[8] );44 #define PIXEL21_6 Interp1( pOut+dstPitch+dstPitch+SIZE_PIXEL, c[8], c[5] );45 #define PIXEL21_C *((PIXELTYPE*)(pOut+dstPitch+dstPitch+SIZE_PIXEL)) = c[5];47 #define PIXEL22_1M Interp1( pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[9] );48 #define PIXEL22_1D Interp1( pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[8] );49 #define PIXEL22_1R Interp1( pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[6] );50 #define PIXEL22_2 Interp2( pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[6], c[8] );51 #define PIXEL22_4 Interp4( pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[5], c[6], c[8] );52 #define PIXEL22_5 Interp5( pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL, c[6], c[8] );53 #define PIXEL22_C *((PIXELTYPE*)(pOut+dstPitch+dstPitch+SIZE_PIXEL+SIZE_PIXEL)) = c[5];55 #ifndef cget56 #define cget(x) c[x]57 #endif59 switch (pattern)60 {61 case 0:62 case 1:63 case 4:64 case 32:65 case 128:66 case 5:67 case 132:68 case 160:69 case 33:70 case 129:71 case 36:72 case 133:73 case 164:74 case 161:75 case 37:76 case 165:77 {78 PIXEL00_279 PIXEL01_180 PIXEL02_281 PIXEL10_182 PIXEL1183 PIXEL12_184 PIXEL20_285 PIXEL21_186 PIXEL22_287 break;88 }89 case 2:90 case 34:91 case 130:92 case 162:93 {94 PIXEL00_1M95 PIXEL01_C96 PIXEL02_1M97 PIXEL10_198 PIXEL1199 PIXEL12_1100 PIXEL20_2101 PIXEL21_1102 PIXEL22_2103 break;104 }105 case 16:106 case 17:107 case 48:108 case 49:109 {110 PIXEL00_2111 PIXEL01_1112 PIXEL02_1M113 PIXEL10_1114 PIXEL11115 PIXEL12_C116 PIXEL20_2117 PIXEL21_1118 PIXEL22_1M119 break;120 }121 case 64:122 case 65:123 case 68:124 case 69:125 {126 PIXEL00_2127 PIXEL01_1128 PIXEL02_2129 PIXEL10_1130 PIXEL11131 PIXEL12_1132 PIXEL20_1M133 PIXEL21_C134 PIXEL22_1M135 break;136 }137 case 8:138 case 12:139 case 136:140 case 140:141 {142 PIXEL00_1M143 PIXEL01_1144 PIXEL02_2145 PIXEL10_C146 PIXEL11147 PIXEL12_1148 PIXEL20_1M149 PIXEL21_1150 PIXEL22_2151 break;152 }153 case 3:154 case 35:155 case 131:156 case 163:157 {158 PIXEL00_1L159 PIXEL01_C160 PIXEL02_1M161 PIXEL10_1162 PIXEL11163 PIXEL12_1164 PIXEL20_2165 PIXEL21_1166 PIXEL22_2167 break;168 }169 case 6:170 case 38:171 case 134:172 case 166:173 {174 PIXEL00_1M175 PIXEL01_C176 PIXEL02_1R177 PIXEL10_1178 PIXEL11179 PIXEL12_1180 PIXEL20_2181 PIXEL21_1182 PIXEL22_2183 break;184 }185 case 20:186 case 21:187 case 52:188 case 53:189 {190 PIXEL00_2191 PIXEL01_1192 PIXEL02_1U193 PIXEL10_1194 PIXEL11195 PIXEL12_C196 PIXEL20_2197 PIXEL21_1198 PIXEL22_1M199 break;200 }201 case 144:202 case 145:203 case 176:204 case 177:205 {206 PIXEL00_2207 PIXEL01_1208 PIXEL02_1M209 PIXEL10_1210 PIXEL11211 PIXEL12_C212 PIXEL20_2213 PIXEL21_1214 PIXEL22_1D215 break;216 }217 case 192:218 case 193:219 case 196:220 case 197:221 {222 PIXEL00_2223 PIXEL01_1224 PIXEL02_2225 PIXEL10_1226 PIXEL11227 PIXEL12_1228 PIXEL20_1M229 PIXEL21_C230 PIXEL22_1R231 break;232 }233 case 96:234 case 97:235 case 100:236 case 101:237 {238 PIXEL00_2239 PIXEL01_1240 PIXEL02_2241 PIXEL10_1242 PIXEL11243 PIXEL12_1244 PIXEL20_1L245 PIXEL21_C246 PIXEL22_1M247 break;248 }249 case 40:250 case 44:251 case 168:252 case 172:253 {254 PIXEL00_1M255 PIXEL01_1256 PIXEL02_2257 PIXEL10_C258 PIXEL11259 PIXEL12_1260 PIXEL20_1D261 PIXEL21_1262 PIXEL22_2263 break;264 }265 case 9:266 case 13:267 case 137:268 case 141:269 {270 PIXEL00_1U271 PIXEL01_1272 PIXEL02_2273 PIXEL10_C274 PIXEL11275 PIXEL12_1276 PIXEL20_1M277 PIXEL21_1278 PIXEL22_2279 break;280 }281 case 18:282 case 50:283 {284 PIXEL00_1M286 if (Diff(cget(2), cget(6)))287 {288 PIXEL01_C289 PIXEL02_1M290 PIXEL12_C291 }292 else293 {294 PIXEL01_3295 PIXEL02_4296 PIXEL12_3297 }298 PIXEL10_1299 PIXEL11300 PIXEL20_2301 PIXEL21_1302 PIXEL22_1M303 break;304 }305 case 80:306 case 81:307 {308 PIXEL00_2309 PIXEL01_1310 PIXEL02_1M311 PIXEL10_1312 PIXEL11313 PIXEL20_1M314 if (Diff(cget(6), cget(8)))315 {316 PIXEL12_C317 PIXEL21_C318 PIXEL22_1M319 }320 else321 {322 PIXEL12_3323 PIXEL21_3324 PIXEL22_4325 }326 break;327 }328 case 72:329 case 76:330 {331 PIXEL00_1M332 PIXEL01_1333 PIXEL02_2334 PIXEL11335 PIXEL12_1336 if (Diff(cget(8), cget(4)))337 {338 PIXEL10_C339 PIXEL20_1M340 PIXEL21_C341 }342 else343 {344 PIXEL10_3345 PIXEL20_4346 PIXEL21_3347 }348 PIXEL22_1M349 break;350 }351 case 10:352 case 138:353 {354 if (Diff(cget(4), cget(2)))355 {356 PIXEL00_1M357 PIXEL01_C358 PIXEL10_C359 }360 else361 {362 PIXEL00_4363 PIXEL01_3364 PIXEL10_3365 }366 PIXEL02_1M367 PIXEL11368 PIXEL12_1369 PIXEL20_1M370 PIXEL21_1371 PIXEL22_2372 break;373 }374 case 66:375 {376 PIXEL00_1M377 PIXEL01_C378 PIXEL02_1M379 PIXEL10_1380 PIXEL11381 PIXEL12_1382 PIXEL20_1M383 PIXEL21_C384 PIXEL22_1M385 break;386 }387 case 24:388 {389 PIXEL00_1M390 PIXEL01_1391 PIXEL02_1M392 PIXEL10_C393 PIXEL11394 PIXEL12_C395 PIXEL20_1M396 PIXEL21_1397 PIXEL22_1M398 break;399 }400 case 7:401 case 39:402 case 135:403 {404 PIXEL00_1L405 PIXEL01_C406 PIXEL02_1R407 PIXEL10_1408 PIXEL11409 PIXEL12_1410 PIXEL20_2411 PIXEL21_1412 PIXEL22_2413 break;414 }415 case 148:416 case 149:417 case 180:418 {419 PIXEL00_2420 PIXEL01_1421 PIXEL02_1U422 PIXEL10_1423 PIXEL11424 PIXEL12_C425 PIXEL20_2426 PIXEL21_1427 PIXEL22_1D428 break;429 }430 case 224:431 case 228:432 case 225:433 {434 PIXEL00_2435 PIXEL01_1436 PIXEL02_2437 PIXEL10_1438 PIXEL11439 PIXEL12_1440 PIXEL20_1L441 PIXEL21_C442 PIXEL22_1R443 break;444 }445 case 41:446 case 169:447 case 45:448 {449 PIXEL00_1U450 PIXEL01_1451 PIXEL02_2452 PIXEL10_C453 PIXEL11454 PIXEL12_1455 PIXEL20_1D456 PIXEL21_1457 PIXEL22_2458 break;459 }460 case 22:461 case 54:462 {463 PIXEL00_1M464 if (Diff(cget(2), cget(6)))465 {466 PIXEL01_C467 PIXEL02_C468 PIXEL12_C469 }470 else471 {472 PIXEL01_3473 PIXEL02_4474 PIXEL12_3475 }476 PIXEL10_1477 PIXEL11478 PIXEL20_2479 PIXEL21_1480 PIXEL22_1M481 break;482 }483 case 208:484 case 209:485 {486 PIXEL00_2487 PIXEL01_1488 PIXEL02_1M489 PIXEL10_1490 PIXEL11491 PIXEL20_1M492 if (Diff(cget(6), cget(8)))493 {494 PIXEL12_C495 PIXEL21_C496 PIXEL22_C497 }498 else499 {500 PIXEL12_3501 PIXEL21_3502 PIXEL22_4503 }504 break;505 }506 case 104:507 case 108:508 {509 PIXEL00_1M510 PIXEL01_1511 PIXEL02_2512 PIXEL11513 PIXEL12_1514 if (Diff(cget(8), cget(4)))515 {516 PIXEL10_C517 PIXEL20_C518 PIXEL21_C519 }520 else521 {522 PIXEL10_3523 PIXEL20_4524 PIXEL21_3525 }526 PIXEL22_1M527 break;528 }529 case 11:530 case 139:531 {532 if (Diff(cget(4), cget(2)))533 {534 PIXEL00_C535 PIXEL01_C536 PIXEL10_C537 }538 else539 {540 PIXEL00_4541 PIXEL01_3542 PIXEL10_3543 }544 PIXEL02_1M545 PIXEL11546 PIXEL12_1547 PIXEL20_1M548 PIXEL21_1549 PIXEL22_2550 break;551 }552 case 19:553 case 51:554 {555 if (Diff(cget(2), cget(6)))556 {557 PIXEL00_1L558 PIXEL01_C559 PIXEL02_1M560 PIXEL12_C561 }562 else563 {564 PIXEL00_2565 PIXEL01_6566 PIXEL02_5567 PIXEL12_1568 }569 PIXEL10_1570 PIXEL11571 PIXEL20_2572 PIXEL21_1573 PIXEL22_1M574 break;575 }576 case 146:577 case 178:578 {579 if (Diff(cget(2), cget(6)))580 {581 PIXEL01_C582 PIXEL02_1M583 PIXEL12_C584 PIXEL22_1D585 }586 else587 {588 PIXEL01_1589 PIXEL02_5590 PIXEL12_6591 PIXEL22_2592 }593 PIXEL00_1M594 PIXEL10_1595 PIXEL11596 PIXEL20_2597 PIXEL21_1598 break;599 }600 case 84:601 case 85:602 {603 if (Diff(cget(6), cget(8)))604 {605 PIXEL02_1U606 PIXEL12_C607 PIXEL21_C608 PIXEL22_1M609 }610 else611 {612 PIXEL02_2613 PIXEL12_6614 PIXEL21_1615 PIXEL22_5616 }617 PIXEL00_2618 PIXEL01_1619 PIXEL10_1620 PIXEL11621 PIXEL20_1M622 break;623 }624 case 112:625 case 113:626 {627 if (Diff(cget(6), cget(8)))628 {629 PIXEL12_C630 PIXEL20_1L631 PIXEL21_C632 PIXEL22_1M633 }634 else635 {636 PIXEL12_1637 PIXEL20_2638 PIXEL21_6639 PIXEL22_5640 }641 PIXEL00_2642 PIXEL01_1643 PIXEL02_1M644 PIXEL10_1645 PIXEL11646 break;647 }648 case 200:649 case 204:650 {651 if (Diff(cget(8), cget(4)))652 {653 PIXEL10_C654 PIXEL20_1M655 PIXEL21_C656 PIXEL22_1R657 }658 else659 {660 PIXEL10_1661 PIXEL20_5662 PIXEL21_6663 PIXEL22_2664 }665 PIXEL00_1M666 PIXEL01_1667 PIXEL02_2668 PIXEL11669 PIXEL12_1670 break;671 }672 case 73:673 case 77:674 {675 if (Diff(cget(8), cget(4)))676 {677 PIXEL00_1U678 PIXEL10_C679 PIXEL20_1M680 PIXEL21_C681 }682 else683 {684 PIXEL00_2685 PIXEL10_6686 PIXEL20_5687 PIXEL21_1688 }689 PIXEL01_1690 PIXEL02_2691 PIXEL11692 PIXEL12_1693 PIXEL22_1M694 break;695 }696 case 42:697 case 170:698 {699 if (Diff(cget(4), cget(2)))700 {701 PIXEL00_1M702 PIXEL01_C703 PIXEL10_C704 PIXEL20_1D705 }706 else707 {708 PIXEL00_5709 PIXEL01_1710 PIXEL10_6711 PIXEL20_2712 }713 PIXEL02_1M714 PIXEL11715 PIXEL12_1716 PIXEL21_1717 PIXEL22_2718 break;719 }720 case 14:721 case 142:722 {723 if (Diff(cget(4), cget(2)))724 {725 PIXEL00_1M726 PIXEL01_C727 PIXEL02_1R728 PIXEL10_C729 }730 else731 {732 PIXEL00_5733 PIXEL01_6734 PIXEL02_2735 PIXEL10_1736 }737 PIXEL11738 PIXEL12_1739 PIXEL20_1M740 PIXEL21_1741 PIXEL22_2742 break;743 }744 case 67:745 {746 PIXEL00_1L747 PIXEL01_C748 PIXEL02_1M749 PIXEL10_1750 PIXEL11751 PIXEL12_1752 PIXEL20_1M753 PIXEL21_C754 PIXEL22_1M755 break;756 }757 case 70:758 {759 PIXEL00_1M760 PIXEL01_C761 PIXEL02_1R762 PIXEL10_1763 PIXEL11764 PIXEL12_1765 PIXEL20_1M766 PIXEL21_C767 PIXEL22_1M768 break;769 }770 case 28:771 {772 PIXEL00_1M773 PIXEL01_1774 PIXEL02_1U775 PIXEL10_C776 PIXEL11777 PIXEL12_C778 PIXEL20_1M779 PIXEL21_1780 PIXEL22_1M781 break;782 }783 case 152:784 {785 PIXEL00_1M786 PIXEL01_1787 PIXEL02_1M788 PIXEL10_C789 PIXEL11790 PIXEL12_C791 PIXEL20_1M792 PIXEL21_1793 PIXEL22_1D794 break;795 }796 case 194:797 {798 PIXEL00_1M799 PIXEL01_C800 PIXEL02_1M801 PIXEL10_1802 PIXEL11803 PIXEL12_1804 PIXEL20_1M805 PIXEL21_C806 PIXEL22_1R807 break;808 }809 case 98:810 {811 PIXEL00_1M812 PIXEL01_C813 PIXEL02_1M814 PIXEL10_1815 PIXEL11816 PIXEL12_1817 PIXEL20_1L818 PIXEL21_C819 PIXEL22_1M820 break;821 }822 case 56:823 {824 PIXEL00_1M825 PIXEL01_1826 PIXEL02_1M827 PIXEL10_C828 PIXEL11829 PIXEL12_C830 PIXEL20_1D831 PIXEL21_1832 PIXEL22_1M833 break;834 }835 case 25:836 {837 PIXEL00_1U838 PIXEL01_1839 PIXEL02_1M840 PIXEL10_C841 PIXEL11842 PIXEL12_C843 PIXEL20_1M844 PIXEL21_1845 PIXEL22_1M846 break;847 }848 case 26:849 case 31:850 {851 if (Diff(cget(4), cget(2)))852 {853 PIXEL00_C854 PIXEL10_C855 }856 else857 {858 PIXEL00_4859 PIXEL10_3860 }861 PIXEL01_C862 if (Diff(cget(2), cget(6)))863 {864 PIXEL02_C865 PIXEL12_C866 }867 else868 {869 PIXEL02_4870 PIXEL12_3871 }872 PIXEL11873 PIXEL20_1M874 PIXEL21_1875 PIXEL22_1M876 break;877 }878 case 82:879 case 214:880 {881 PIXEL00_1M882 if (Diff(cget(2), cget(6)))883 {884 PIXEL01_C885 PIXEL02_C886 }887 else888 {889 PIXEL01_3890 PIXEL02_4891 }892 PIXEL10_1893 PIXEL11894 PIXEL12_C895 PIXEL20_1M896 if (Diff(cget(6), cget(8)))897 {898 PIXEL21_C899 PIXEL22_C900 }901 else902 {903 PIXEL21_3904 PIXEL22_4905 }906 break;907 }908 case 88:909 case 248:910 {911 PIXEL00_1M912 PIXEL01_1913 PIXEL02_1M914 PIXEL11915 if (Diff(cget(8), cget(4)))916 {917 PIXEL10_C918 PIXEL20_C919 }920 else921 {922 PIXEL10_3923 PIXEL20_4924 }925 PIXEL21_C926 if (Diff(cget(6), cget(8)))927 {928 PIXEL12_C929 PIXEL22_C930 }931 else932 {933 PIXEL12_3934 PIXEL22_4935 }936 break;937 }938 case 74:939 case 107:940 {941 if (Diff(cget(4), cget(2)))942 {943 PIXEL00_C944 PIXEL01_C945 }946 else947 {948 PIXEL00_4949 PIXEL01_3950 }951 PIXEL02_1M952 PIXEL10_C953 PIXEL11954 PIXEL12_1955 if (Diff(cget(8), cget(4)))956 {957 PIXEL20_C958 PIXEL21_C959 }960 else961 {962 PIXEL20_4963 PIXEL21_3964 }965 PIXEL22_1M966 break;967 }968 case 27:969 {970 if (Diff(cget(4), cget(2)))971 {972 PIXEL00_C973 PIXEL01_C974 PIXEL10_C975 }976 else977 {978 PIXEL00_4979 PIXEL01_3980 PIXEL10_3981 }982 PIXEL02_1M983 PIXEL11984 PIXEL12_C985 PIXEL20_1M986 PIXEL21_1987 PIXEL22_1M988 break;989 }990 case 86:991 {992 PIXEL00_1M993 if (Diff(cget(2), cget(6)))994 {995 PIXEL01_C996 PIXEL02_C997 PIXEL12_C998 }999 else1000 {1001 PIXEL01_31002 PIXEL02_41003 PIXEL12_31004 }1005 PIXEL10_11006 PIXEL111007 PIXEL20_1M1008 PIXEL21_C1009 PIXEL22_1M1010 break;1011 }1012 case 216:1013 {1014 PIXEL00_1M1015 PIXEL01_11016 PIXEL02_1M1017 PIXEL10_C1018 PIXEL111019 PIXEL20_1M1020 if (Diff(cget(6), cget(8)))1021 {1022 PIXEL12_C1023 PIXEL21_C1024 PIXEL22_C1025 }1026 else1027 {1028 PIXEL12_31029 PIXEL21_31030 PIXEL22_41031 }1032 break;1033 }1034 case 106:1035 {1036 PIXEL00_1M1037 PIXEL01_C1038 PIXEL02_1M1039 PIXEL111040 PIXEL12_11041 if (Diff(cget(8), cget(4)))1042 {1043 PIXEL10_C1044 PIXEL20_C1045 PIXEL21_C1046 }1047 else1048 {1049 PIXEL10_31050 PIXEL20_41051 PIXEL21_31052 }1053 PIXEL22_1M1054 break;1055 }1056 case 30:1057 {1058 PIXEL00_1M1059 if (Diff(cget(2), cget(6)))1060 {1061 PIXEL01_C1062 PIXEL02_C1063 PIXEL12_C1064 }1065 else1066 {1067 PIXEL01_31068 PIXEL02_41069 PIXEL12_31070 }1071 PIXEL10_C1072 PIXEL111073 PIXEL20_1M1074 PIXEL21_11075 PIXEL22_1M1076 break;1077 }1078 case 210:1079 {1080 PIXEL00_1M1081 PIXEL01_C1082 PIXEL02_1M1083 PIXEL10_11084 PIXEL111085 PIXEL20_1M1086 if (Diff(cget(6), cget(8)))1087 {1088 PIXEL12_C1089 PIXEL21_C1090 PIXEL22_C1091 }1092 else1093 {1094 PIXEL12_31095 PIXEL21_31096 PIXEL22_41097 }1098 break;1099 }1100 case 120:1101 {1102 PIXEL00_1M1103 PIXEL01_11104 PIXEL02_1M1105 PIXEL111106 PIXEL12_C1107 if (Diff(cget(8), cget(4)))1108 {1109 PIXEL10_C1110 PIXEL20_C1111 PIXEL21_C1112 }1113 else1114 {1115 PIXEL10_31116 PIXEL20_41117 PIXEL21_31118 }1119 PIXEL22_1M1120 break;1121 }1122 case 75:1123 {1124 if (Diff(cget(4), cget(2)))1125 {1126 PIXEL00_C1127 PIXEL01_C1128 PIXEL10_C1129 }1130 else1131 {1132 PIXEL00_41133 PIXEL01_31134 PIXEL10_31135 }1136 PIXEL02_1M1137 PIXEL111138 PIXEL12_11139 PIXEL20_1M1140 PIXEL21_C1141 PIXEL22_1M1142 break;1143 }1144 case 29:1145 {1146 PIXEL00_1U1147 PIXEL01_11148 PIXEL02_1U1149 PIXEL10_C1150 PIXEL111151 PIXEL12_C1152 PIXEL20_1M1153 PIXEL21_11154 PIXEL22_1M1155 break;1156 }1157 case 198:1158 {1159 PIXEL00_1M1160 PIXEL01_C1161 PIXEL02_1R1162 PIXEL10_11163 PIXEL111164 PIXEL12_11165 PIXEL20_1M1166 PIXEL21_C1167 PIXEL22_1R1168 break;1169 }1170 case 184:1171 {1172 PIXEL00_1M1173 PIXEL01_11174 PIXEL02_1M1175 PIXEL10_C1176 PIXEL111177 PIXEL12_C1178 PIXEL20_1D1179 PIXEL21_11180 PIXEL22_1D1181 break;1182 }1183 case 99:1184 {1185 PIXEL00_1L1186 PIXEL01_C1187 PIXEL02_1M1188 PIXEL10_11189 PIXEL111190 PIXEL12_11191 PIXEL20_1L1192 PIXEL21_C1193 PIXEL22_1M1194 break;1195 }1196 case 57:1197 {1198 PIXEL00_1U1199 PIXEL01_11200 PIXEL02_1M1201 PIXEL10_C1202 PIXEL111203 PIXEL12_C1204 PIXEL20_1D1205 PIXEL21_11206 PIXEL22_1M1207 break;1208 }1209 case 71:1210 {1211 PIXEL00_1L1212 PIXEL01_C1213 PIXEL02_1R1214 PIXEL10_11215 PIXEL111216 PIXEL12_11217 PIXEL20_1M1218 PIXEL21_C1219 PIXEL22_1M1220 break;1221 }1222 case 156:1223 {1224 PIXEL00_1M1225 PIXEL01_11226 PIXEL02_1U1227 PIXEL10_C1228 PIXEL111229 PIXEL12_C1230 PIXEL20_1M1231 PIXEL21_11232 PIXEL22_1D1233 break;1234 }1235 case 226:1236 {1237 PIXEL00_1M1238 PIXEL01_C1239 PIXEL02_1M1240 PIXEL10_11241 PIXEL111242 PIXEL12_11243 PIXEL20_1L1244 PIXEL21_C1245 PIXEL22_1R1246 break;1247 }1248 case 60:1249 {1250 PIXEL00_1M1251 PIXEL01_11252 PIXEL02_1U1253 PIXEL10_C1254 PIXEL111255 PIXEL12_C1256 PIXEL20_1D1257 PIXEL21_11258 PIXEL22_1M1259 break;1260 }1261 case 195:1262 {1263 PIXEL00_1L1264 PIXEL01_C1265 PIXEL02_1M1266 PIXEL10_11267 PIXEL111268 PIXEL12_11269 PIXEL20_1M1270 PIXEL21_C1271 PIXEL22_1R1272 break;1273 }1274 case 102:1275 {1276 PIXEL00_1M1277 PIXEL01_C1278 PIXEL02_1R1279 PIXEL10_11280 PIXEL111281 PIXEL12_11282 PIXEL20_1L1283 PIXEL21_C1284 PIXEL22_1M1285 break;1286 }1287 case 153:1288 {1289 PIXEL00_1U1290 PIXEL01_11291 PIXEL02_1M1292 PIXEL10_C1293 PIXEL111294 PIXEL12_C1295 PIXEL20_1M1296 PIXEL21_11297 PIXEL22_1D1298 break;1299 }1300 case 58:1301 {1302 if (Diff(cget(4), cget(2)))1303 {1304 PIXEL00_1M1305 }1306 else1307 {1308 PIXEL00_21309 }1310 PIXEL01_C1311 if (Diff(cget(2), cget(6)))1312 {1313 PIXEL02_1M1314 }1315 else1316 {1317 PIXEL02_21318 }1319 PIXEL10_C1320 PIXEL111321 PIXEL12_C1322 PIXEL20_1D1323 PIXEL21_11324 PIXEL22_1M1325 break;1326 }1327 case 83:1328 {1329 PIXEL00_1L1330 PIXEL01_C1331 if (Diff(cget(2), cget(6)))1332 {1333 PIXEL02_1M1334 }1335 else1336 {1337 PIXEL02_21338 }1339 PIXEL10_11340 PIXEL111341 PIXEL12_C1342 PIXEL20_1M1343 PIXEL21_C1344 if (Diff(cget(6), cget(8)))1345 {1346 PIXEL22_1M1347 }1348 else1349 {1350 PIXEL22_21351 }1352 break;1353 }1354 case 92:1355 {1356 PIXEL00_1M1357 PIXEL01_11358 PIXEL02_1U1359 PIXEL10_C1360 PIXEL111361 PIXEL12_C1362 if (Diff(cget(8), cget(4)))1363 {1364 PIXEL20_1M1365 }1366 else1367 {1368 PIXEL20_21369 }1370 PIXEL21_C1371 if (Diff(cget(6), cget(8)))1372 {1373 PIXEL22_1M1374 }1375 else1376 {1377 PIXEL22_21378 }1379 break;1380 }1381 case 202:1382 {1383 if (Diff(cget(4), cget(2)))1384 {1385 PIXEL00_1M1386 }1387 else1388 {1389 PIXEL00_21390 }1391 PIXEL01_C1392 PIXEL02_1M1393 PIXEL10_C1394 PIXEL111395 PIXEL12_11396 if (Diff(cget(8), cget(4)))1397 {1398 PIXEL20_1M1399 }1400 else1401 {1402 PIXEL20_21403 }1404 PIXEL21_C1405 PIXEL22_1R1406 break;1407 }1408 case 78:1409 {1410 if (Diff(cget(4), cget(2)))1411 {1412 PIXEL00_1M1413 }1414 else1415 {1416 PIXEL00_21417 }1418 PIXEL01_C1419 PIXEL02_1R1420 PIXEL10_C1421 PIXEL111422 PIXEL12_11423 if (Diff(cget(8), cget(4)))1424 {1425 PIXEL20_1M1426 }1427 else1428 {1429 PIXEL20_21430 }1431 PIXEL21_C1432 PIXEL22_1M1433 break;1434 }1435 case 154:1436 {1437 if (Diff(cget(4), cget(2)))1438 {1439 PIXEL00_1M1440 }1441 else1442 {1443 PIXEL00_21444 }1445 PIXEL01_C1446 if (Diff(cget(2), cget(6)))1447 {1448 PIXEL02_1M1449 }1450 else1451 {1452 PIXEL02_21453 }1454 PIXEL10_C1455 PIXEL111456 PIXEL12_C1457 PIXEL20_1M1458 PIXEL21_11459 PIXEL22_1D1460 break;1461 }1462 case 114:1463 {1464 PIXEL00_1M1465 PIXEL01_C1466 if (Diff(cget(2), cget(6)))1467 {1468 PIXEL02_1M1469 }1470 else1471 {1472 PIXEL02_21473 }1474 PIXEL10_11475 PIXEL111476 PIXEL12_C1477 PIXEL20_1L1478 PIXEL21_C1479 if (Diff(cget(6), cget(8)))1480 {1481 PIXEL22_1M1482 }1483 else1484 {1485 PIXEL22_21486 }1487 break;1488 }1489 case 89:1490 {1491 PIXEL00_1U1492 PIXEL01_11493 PIXEL02_1M1494 PIXEL10_C1495 PIXEL111496 PIXEL12_C1497 if (Diff(cget(8), cget(4)))1498 {1499 PIXEL20_1M1500 }1501 else1502 {1503 PIXEL20_21504 }1505 PIXEL21_C1506 if (Diff(cget(6), cget(8)))1507 {1508 PIXEL22_1M1509 }1510 else1511 {1512 PIXEL22_21513 }1514 break;1515 }1516 case 90:1517 {1518 if (Diff(cget(4), cget(2)))1519 {1520 PIXEL00_1M1521 }1522 else1523 {1524 PIXEL00_21525 }1526 PIXEL01_C1527 if (Diff(cget(2), cget(6)))1528 {1529 PIXEL02_1M1530 }1531 else1532 {1533 PIXEL02_21534 }1535 PIXEL10_C1536 PIXEL111537 PIXEL12_C1538 if (Diff(cget(8), cget(4)))1539 {1540 PIXEL20_1M1541 }1542 else1543 {1544 PIXEL20_21545 }1546 PIXEL21_C1547 if (Diff(cget(6), cget(8)))1548 {1549 PIXEL22_1M1550 }1551 else1552 {1553 PIXEL22_21554 }1555 break;1556 }1557 case 55:1558 case 23:1559 {1560 if (Diff(cget(2), cget(6)))1561 {1562 PIXEL00_1L1563 PIXEL01_C1564 PIXEL02_C1565 PIXEL12_C1566 }1567 else1568 {1569 PIXEL00_21570 PIXEL01_61571 PIXEL02_51572 PIXEL12_11573 }1574 PIXEL10_11575 PIXEL111576 PIXEL20_21577 PIXEL21_11578 PIXEL22_1M1579 break;1580 }1581 case 182:1582 case 150:1583 {1584 if (Diff(cget(2), cget(6)))1585 {1586 PIXEL01_C1587 PIXEL02_C1588 PIXEL12_C1589 PIXEL22_1D1590 }1591 else1592 {1593 PIXEL01_11594 PIXEL02_51595 PIXEL12_61596 PIXEL22_21597 }1598 PIXEL00_1M1599 PIXEL10_11600 PIXEL111601 PIXEL20_21602 PIXEL21_11603 break;1604 }1605 case 213:1606 case 212:1607 {1608 if (Diff(cget(6), cget(8)))1609 {1610 PIXEL02_1U1611 PIXEL12_C1612 PIXEL21_C1613 PIXEL22_C1614 }1615 else1616 {1617 PIXEL02_21618 PIXEL12_61619 PIXEL21_11620 PIXEL22_51621 }1622 PIXEL00_21623 PIXEL01_11624 PIXEL10_11625 PIXEL111626 PIXEL20_1M1627 break;1628 }1629 case 241:1630 case 240:1631 {1632 if (Diff(cget(6), cget(8)))1633 {1634 PIXEL12_C1635 PIXEL20_1L1636 PIXEL21_C1637 PIXEL22_C1638 }1639 else1640 {1641 PIXEL12_11642 PIXEL20_21643 PIXEL21_61644 PIXEL22_51645 }1646 PIXEL00_21647 PIXEL01_11648 PIXEL02_1M1649 PIXEL10_11650 PIXEL111651 break;1652 }1653 case 236:1654 case 232:1655 {1656 if (Diff(cget(8), cget(4)))1657 {1658 PIXEL10_C1659 PIXEL20_C1660 PIXEL21_C1661 PIXEL22_1R1662 }1663 else1664 {1665 PIXEL10_11666 PIXEL20_51667 PIXEL21_61668 PIXEL22_21669 }1670 PIXEL00_1M1671 PIXEL01_11672 PIXEL02_21673 PIXEL111674 PIXEL12_11675 break;1676 }1677 case 109:1678 case 105:1679 {1680 if (Diff(cget(8), cget(4)))1681 {1682 PIXEL00_1U1683 PIXEL10_C1684 PIXEL20_C1685 PIXEL21_C1686 }1687 else1688 {1689 PIXEL00_21690 PIXEL10_61691 PIXEL20_51692 PIXEL21_11693 }1694 PIXEL01_11695 PIXEL02_21696 PIXEL111697 PIXEL12_11698 PIXEL22_1M1699 break;1700 }1701 case 171:1702 case 43:1703 {1704 if (Diff(cget(4), cget(2)))1705 {1706 PIXEL00_C1707 PIXEL01_C1708 PIXEL10_C1709 PIXEL20_1D1710 }1711 else1712 {1713 PIXEL00_51714 PIXEL01_11715 PIXEL10_61716 PIXEL20_21717 }1718 PIXEL02_1M1719 PIXEL111720 PIXEL12_11721 PIXEL21_11722 PIXEL22_21723 break;1724 }1725 case 143:1726 case 15:1727 {1728 if (Diff(cget(4), cget(2)))1729 {1730 PIXEL00_C1731 PIXEL01_C1732 PIXEL02_1R1733 PIXEL10_C1734 }1735 else1736 {1737 PIXEL00_51738 PIXEL01_61739 PIXEL02_21740 PIXEL10_11741 }1742 PIXEL111743 PIXEL12_11744 PIXEL20_1M1745 PIXEL21_11746 PIXEL22_21747 break;1748 }1749 case 124:1750 {1751 PIXEL00_1M1752 PIXEL01_11753 PIXEL02_1U1754 PIXEL111755 PIXEL12_C1756 if (Diff(cget(8), cget(4)))1757 {1758 PIXEL10_C1759 PIXEL20_C1760 PIXEL21_C1761 }1762 else1763 {1764 PIXEL10_31765 PIXEL20_41766 PIXEL21_31767 }1768 PIXEL22_1M1769 break;1770 }1771 case 203:1772 {1773 if (Diff(cget(4), cget(2)))1774 {1775 PIXEL00_C1776 PIXEL01_C1777 PIXEL10_C1778 }1779 else1780 {1781 PIXEL00_41782 PIXEL01_31783 PIXEL10_31784 }1785 PIXEL02_1M1786 PIXEL111787 PIXEL12_11788 PIXEL20_1M1789 PIXEL21_C1790 PIXEL22_1R1791 break;1792 }1793 case 62:1794 {1795 PIXEL00_1M1796 if (Diff(cget(2), cget(6)))1797 {1798 PIXEL01_C1799 PIXEL02_C1800 PIXEL12_C1801 }1802 else1803 {1804 PIXEL01_31805 PIXEL02_41806 PIXEL12_31807 }1808 PIXEL10_C1809 PIXEL111810 PIXEL20_1D1811 PIXEL21_11812 PIXEL22_1M1813 break;1814 }1815 case 211:1816 {1817 PIXEL00_1L1818 PIXEL01_C1819 PIXEL02_1M1820 PIXEL10_11821 PIXEL111822 PIXEL20_1M1823 if (Diff(cget(6), cget(8)))1824 {1825 PIXEL12_C1826 PIXEL21_C1827 PIXEL22_C1828 }1829 else1830 {1831 PIXEL12_31832 PIXEL21_31833 PIXEL22_41834 }1835 break;1836 }1837 case 118:1838 {1839 PIXEL00_1M1840 if (Diff(cget(2), cget(6)))1841 {1842 PIXEL01_C1843 PIXEL02_C1844 PIXEL12_C1845 }1846 else1847 {1848 PIXEL01_31849 PIXEL02_41850 PIXEL12_31851 }1852 PIXEL10_11853 PIXEL111854 PIXEL20_1L1855 PIXEL21_C1856 PIXEL22_1M1857 break;1858 }1859 case 217:1860 {1861 PIXEL00_1U1862 PIXEL01_11863 PIXEL02_1M1864 PIXEL10_C1865 PIXEL111866 PIXEL20_1M1867 if (Diff(cget(6), cget(8)))1868 {1869 PIXEL12_C1870 PIXEL21_C1871 PIXEL22_C1872 }1873 else1874 {1875 PIXEL12_31876 PIXEL21_31877 PIXEL22_41878 }1879 break;1880 }1881 case 110:1882 {1883 PIXEL00_1M1884 PIXEL01_C1885 PIXEL02_1R1886 PIXEL111887 PIXEL12_11888 if (Diff(cget(8), cget(4)))1889 {1890 PIXEL10_C1891 PIXEL20_C1892 PIXEL21_C1893 }1894 else1895 {1896 PIXEL10_31897 PIXEL20_41898 PIXEL21_31899 }1900 PIXEL22_1M1901 break;1902 }1903 case 155:1904 {1905 if (Diff(cget(4), cget(2)))1906 {1907 PIXEL00_C1908 PIXEL01_C1909 PIXEL10_C1910 }1911 else1912 {1913 PIXEL00_41914 PIXEL01_31915 PIXEL10_31916 }1917 PIXEL02_1M1918 PIXEL111919 PIXEL12_C1920 PIXEL20_1M1921 PIXEL21_11922 PIXEL22_1D1923 break;1924 }1925 case 188:1926 {1927 PIXEL00_1M1928 PIXEL01_11929 PIXEL02_1U1930 PIXEL10_C1931 PIXEL111932 PIXEL12_C1933 PIXEL20_1D1934 PIXEL21_11935 PIXEL22_1D1936 break;1937 }1938 case 185:1939 {1940 PIXEL00_1U1941 PIXEL01_11942 PIXEL02_1M1943 PIXEL10_C1944 PIXEL111945 PIXEL12_C1946 PIXEL20_1D1947 PIXEL21_11948 PIXEL22_1D1949 break;1950 }1951 case 61:1952 {1953 PIXEL00_1U1954 PIXEL01_11955 PIXEL02_1U1956 PIXEL10_C1957 PIXEL111958 PIXEL12_C1959 PIXEL20_1D1960 PIXEL21_11961 PIXEL22_1M1962 break;1963 }1964 case 157:1965 {1966 PIXEL00_1U1967 PIXEL01_11968 PIXEL02_1U1969 PIXEL10_C1970 PIXEL111971 PIXEL12_C1972 PIXEL20_1M1973 PIXEL21_11974 PIXEL22_1D1975 break;1976 }1977 case 103:1978 {1979 PIXEL00_1L1980 PIXEL01_C1981 PIXEL02_1R1982 PIXEL10_11983 PIXEL111984 PIXEL12_11985 PIXEL20_1L1986 PIXEL21_C1987 PIXEL22_1M1988 break;1989 }1990 case 227:1991 {1992 PIXEL00_1L1993 PIXEL01_C1994 PIXEL02_1M1995 PIXEL10_11996 PIXEL111997 PIXEL12_11998 PIXEL20_1L1999 PIXEL21_C2000 PIXEL22_1R2001 break;2002 }2003 case 230:2004 {2005 PIXEL00_1M2006 PIXEL01_C2007 PIXEL02_1R2008 PIXEL10_12009 PIXEL112010 PIXEL12_12011 PIXEL20_1L2012 PIXEL21_C2013 PIXEL22_1R2014 break;2015 }2016 case 199:2017 {2018 PIXEL00_1L2019 PIXEL01_C2020 PIXEL02_1R2021 PIXEL10_12022 PIXEL112023 PIXEL12_12024 PIXEL20_1M2025 PIXEL21_C2026 PIXEL22_1R2027 break;2028 }2029 case 220:2030 {2031 PIXEL00_1M2032 PIXEL01_12033 PIXEL02_1U2034 PIXEL10_C2035 PIXEL112036 if (Diff(cget(8), cget(4)))2037 {2038 PIXEL20_1M2039 }2040 else2041 {2042 PIXEL20_22043 }2044 if (Diff(cget(6), cget(8)))2045 {2046 PIXEL12_C2047 PIXEL21_C2048 PIXEL22_C2049 }2050 else2051 {2052 PIXEL12_32053 PIXEL21_32054 PIXEL22_42055 }2056 break;2057 }2058 case 158:2059 {2060 if (Diff(cget(4), cget(2)))2061 {2062 PIXEL00_1M2063 }2064 else2065 {2066 PIXEL00_22067 }2068 if (Diff(cget(2), cget(6)))2069 {2070 PIXEL01_C2071 PIXEL02_C2072 PIXEL12_C2073 }2074 else2075 {2076 PIXEL01_32077 PIXEL02_42078 PIXEL12_32079 }2080 PIXEL10_C2081 PIXEL112082 PIXEL20_1M2083 PIXEL21_12084 PIXEL22_1D2085 break;2086 }2087 case 234:2088 {2089 if (Diff(cget(4), cget(2)))2090 {2091 PIXEL00_1M2092 }2093 else2094 {2095 PIXEL00_22096 }2097 PIXEL01_C2098 PIXEL02_1M2099 PIXEL112100 PIXEL12_12101 if (Diff(cget(8), cget(4)))2102 {2103 PIXEL10_C2104 PIXEL20_C2105 PIXEL21_C2106 }2107 else2108 {2109 PIXEL10_32110 PIXEL20_42111 PIXEL21_32112 }2113 PIXEL22_1R2114 break;2115 }2116 case 242:2117 {2118 PIXEL00_1M2119 PIXEL01_C2120 if (Diff(cget(2), cget(6)))2121 {2122 PIXEL02_1M2123 }2124 else2125 {2126 PIXEL02_22127 }2128 PIXEL10_12129 PIXEL112130 PIXEL20_1L2131 if (Diff(cget(6), cget(8)))2132 {2133 PIXEL12_C2134 PIXEL21_C2135 PIXEL22_C2136 }2137 else2138 {2139 PIXEL12_32140 PIXEL21_32141 PIXEL22_42142 }2143 break;2144 }2145 case 59:2146 {2147 if (Diff(cget(4), cget(2)))2148 {2149 PIXEL00_C2150 PIXEL01_C2151 PIXEL10_C2152 }2153 else2154 {2155 PIXEL00_42156 PIXEL01_32157 PIXEL10_32158 }2159 if (Diff(cget(2), cget(6)))2160 {2161 PIXEL02_1M2162 }2163 else2164 {2165 PIXEL02_22166 }2167 PIXEL112168 PIXEL12_C2169 PIXEL20_1D2170 PIXEL21_12171 PIXEL22_1M2172 break;2173 }2174 case 121:2175 {2176 PIXEL00_1U2177 PIXEL01_12178 PIXEL02_1M2179 PIXEL112180 PIXEL12_C2181 if (Diff(cget(8), cget(4)))2182 {2183 PIXEL10_C2184 PIXEL20_C2185 PIXEL21_C2186 }2187 else2188 {2189 PIXEL10_32190 PIXEL20_42191 PIXEL21_32192 }2193 if (Diff(cget(6), cget(8)))2194 {2195 PIXEL22_1M2196 }2197 else2198 {2199 PIXEL22_22200 }2201 break;2202 }2203 case 87:2204 {2205 PIXEL00_1L2206 if (Diff(cget(2), cget(6)))2207 {2208 PIXEL01_C2209 PIXEL02_C2210 PIXEL12_C2211 }2212 else2213 {2214 PIXEL01_32215 PIXEL02_42216 PIXEL12_32217 }2218 PIXEL10_12219 PIXEL112220 PIXEL20_1M2221 PIXEL21_C2222 if (Diff(cget(6), cget(8)))2223 {2224 PIXEL22_1M2225 }2226 else2227 {2228 PIXEL22_22229 }2230 break;2231 }2232 case 79:2233 {2234 if (Diff(cget(4), cget(2)))2235 {2236 PIXEL00_C2237 PIXEL01_C2238 PIXEL10_C2239 }2240 else2241 {2242 PIXEL00_42243 PIXEL01_32244 PIXEL10_32245 }2246 PIXEL02_1R2247 PIXEL112248 PIXEL12_12249 if (Diff(cget(8), cget(4)))2250 {2251 PIXEL20_1M2252 }2253 else2254 {2255 PIXEL20_22256 }2257 PIXEL21_C2258 PIXEL22_1M2259 break;2260 }2261 case 122:2262 {2263 if (Diff(cget(4), cget(2)))2264 {2265 PIXEL00_1M2266 }2267 else2268 {2269 PIXEL00_22270 }2271 PIXEL01_C2272 if (Diff(cget(2), cget(6)))2273 {2274 PIXEL02_1M2275 }2276 else2277 {2278 PIXEL02_22279 }2280 PIXEL112281 PIXEL12_C2282 if (Diff(cget(8), cget(4)))2283 {2284 PIXEL10_C2285 PIXEL20_C2286 PIXEL21_C2287 }2288 else2289 {2290 PIXEL10_32291 PIXEL20_42292 PIXEL21_32293 }2294 if (Diff(cget(6), cget(8)))2295 {2296 PIXEL22_1M2297 }2298 else2299 {2300 PIXEL22_22301 }2302 break;2303 }2304 case 94:2305 {2306 if (Diff(cget(4), cget(2)))2307 {2308 PIXEL00_1M2309 }2310 else2311 {2312 PIXEL00_22313 }2314 if (Diff(cget(2), cget(6)))2315 {2316 PIXEL01_C2317 PIXEL02_C2318 PIXEL12_C2319 }2320 else2321 {2322 PIXEL01_32323 PIXEL02_42324 PIXEL12_32325 }2326 PIXEL10_C2327 PIXEL112328 if (Diff(cget(8), cget(4)))2329 {2330 PIXEL20_1M2331 }2332 else2333 {2334 PIXEL20_22335 }2336 PIXEL21_C2337 if (Diff(cget(6), cget(8)))2338 {2339 PIXEL22_1M2340 }2341 else2342 {2343 PIXEL22_22344 }2345 break;2346 }2347 case 218:2348 {2349 if (Diff(cget(4), cget(2)))2350 {2351 PIXEL00_1M2352 }2353 else2354 {2355 PIXEL00_22356 }2357 PIXEL01_C2358 if (Diff(cget(2), cget(6)))2359 {2360 PIXEL02_1M2361 }2362 else2363 {2364 PIXEL02_22365 }2366 PIXEL10_C2367 PIXEL112368 if (Diff(cget(8), cget(4)))2369 {2370 PIXEL20_1M2371 }2372 else2373 {2374 PIXEL20_22375 }2376 if (Diff(cget(6), cget(8)))2377 {2378 PIXEL12_C2379 PIXEL21_C2380 PIXEL22_C2381 }2382 else2383 {2384 PIXEL12_32385 PIXEL21_32386 PIXEL22_42387 }2388 break;2389 }2390 case 91:2391 {2392 if (Diff(cget(4), cget(2)))2393 {2394 PIXEL00_C2395 PIXEL01_C2396 PIXEL10_C2397 }2398 else2399 {2400 PIXEL00_42401 PIXEL01_32402 PIXEL10_32403 }2404 if (Diff(cget(2), cget(6)))2405 {2406 PIXEL02_1M2407 }2408 else2409 {2410 PIXEL02_22411 }2412 PIXEL112413 PIXEL12_C2414 if (Diff(cget(8), cget(4)))2415 {2416 PIXEL20_1M2417 }2418 else2419 {2420 PIXEL20_22421 }2422 PIXEL21_C2423 if (Diff(cget(6), cget(8)))2424 {2425 PIXEL22_1M2426 }2427 else2428 {2429 PIXEL22_22430 }2431 break;2432 }2433 case 229:2434 {2435 PIXEL00_22436 PIXEL01_12437 PIXEL02_22438 PIXEL10_12439 PIXEL112440 PIXEL12_12441 PIXEL20_1L2442 PIXEL21_C2443 PIXEL22_1R2444 break;2445 }2446 case 167:2447 {2448 PIXEL00_1L2449 PIXEL01_C2450 PIXEL02_1R2451 PIXEL10_12452 PIXEL112453 PIXEL12_12454 PIXEL20_22455 PIXEL21_12456 PIXEL22_22457 break;2458 }2459 case 173:2460 {2461 PIXEL00_1U2462 PIXEL01_12463 PIXEL02_22464 PIXEL10_C2465 PIXEL112466 PIXEL12_12467 PIXEL20_1D2468 PIXEL21_12469 PIXEL22_22470 break;2471 }2472 case 181:2473 {2474 PIXEL00_22475 PIXEL01_12476 PIXEL02_1U2477 PIXEL10_12478 PIXEL112479 PIXEL12_C2480 PIXEL20_22481 PIXEL21_12482 PIXEL22_1D2483 break;2484 }2485 case 186:2486 {2487 if (Diff(cget(4), cget(2)))2488 {2489 PIXEL00_1M2490 }2491 else2492 {2493 PIXEL00_22494 }2495 PIXEL01_C2496 if (Diff(cget(2), cget(6)))2497 {2498 PIXEL02_1M2499 }2500 else2501 {2502 PIXEL02_22503 }2504 PIXEL10_C2505 PIXEL112506 PIXEL12_C2507 PIXEL20_1D2508 PIXEL21_12509 PIXEL22_1D2510 break;2511 }2512 case 115:2513 {2514 PIXEL00_1L2515 PIXEL01_C2516 if (Diff(cget(2), cget(6)))2517 {2518 PIXEL02_1M2519 }2520 else2521 {2522 PIXEL02_22523 }2524 PIXEL10_12525 PIXEL112526 PIXEL12_C2527 PIXEL20_1L2528 PIXEL21_C2529 if (Diff(cget(6), cget(8)))2530 {2531 PIXEL22_1M2532 }2533 else2534 {2535 PIXEL22_22536 }2537 break;2538 }2539 case 93:2540 {2541 PIXEL00_1U2542 PIXEL01_12543 PIXEL02_1U2544 PIXEL10_C2545 PIXEL112546 PIXEL12_C2547 if (Diff(cget(8), cget(4)))2548 {2549 PIXEL20_1M2550 }2551 else2552 {2553 PIXEL20_22554 }2555 PIXEL21_C2556 if (Diff(cget(6), cget(8)))2557 {2558 PIXEL22_1M2559 }2560 else2561 {2562 PIXEL22_22563 }2564 break;2565 }2566 case 206:2567 {2568 if (Diff(cget(4), cget(2)))2569 {2570 PIXEL00_1M2571 }2572 else2573 {2574 PIXEL00_22575 }2576 PIXEL01_C2577 PIXEL02_1R2578 PIXEL10_C2579 PIXEL112580 PIXEL12_12581 if (Diff(cget(8), cget(4)))2582 {2583 PIXEL20_1M2584 }2585 else2586 {2587 PIXEL20_22588 }2589 PIXEL21_C2590 PIXEL22_1R2591 break;2592 }2593 case 205:2594 case 201:2595 {2596 PIXEL00_1U2597 PIXEL01_12598 PIXEL02_22599 PIXEL10_C2600 PIXEL112601 PIXEL12_12602 if (Diff(cget(8), cget(4)))2603 {2604 PIXEL20_1M2605 }2606 else2607 {2608 PIXEL20_22609 }2610 PIXEL21_C2611 PIXEL22_1R2612 break;2613 }2614 case 174:2615 case 46:2616 {2617 if (Diff(cget(4), cget(2)))2618 {2619 PIXEL00_1M2620 }2621 else2622 {2623 PIXEL00_22624 }2625 PIXEL01_C2626 PIXEL02_1R2627 PIXEL10_C2628 PIXEL112629 PIXEL12_12630 PIXEL20_1D2631 PIXEL21_12632 PIXEL22_22633 break;2634 }2635 case 179:2636 case 147:2637 {2638 PIXEL00_1L2639 PIXEL01_C2640 if (Diff(cget(2), cget(6)))2641 {2642 PIXEL02_1M2643 }2644 else2645 {2646 PIXEL02_22647 }2648 PIXEL10_12649 PIXEL112650 PIXEL12_C2651 PIXEL20_22652 PIXEL21_12653 PIXEL22_1D2654 break;2655 }2656 case 117:2657 case 116:2658 {2659 PIXEL00_22660 PIXEL01_12661 PIXEL02_1U2662 PIXEL10_12663 PIXEL112664 PIXEL12_C2665 PIXEL20_1L2666 PIXEL21_C2667 if (Diff(cget(6), cget(8)))2668 {2669 PIXEL22_1M2670 }2671 else2672 {2673 PIXEL22_22674 }2675 break;2676 }2677 case 189:2678 {2679 PIXEL00_1U2680 PIXEL01_12681 PIXEL02_1U2682 PIXEL10_C2683 PIXEL112684 PIXEL12_C2685 PIXEL20_1D2686 PIXEL21_12687 PIXEL22_1D2688 break;2689 }2690 case 231:2691 {2692 PIXEL00_1L2693 PIXEL01_C2694 PIXEL02_1R2695 PIXEL10_12696 PIXEL112697 PIXEL12_12698 PIXEL20_1L2699 PIXEL21_C2700 PIXEL22_1R2701 break;2702 }2703 case 126:2704 {2705 PIXEL00_1M2706 if (Diff(cget(2), cget(6)))2707 {2708 PIXEL01_C2709 PIXEL02_C2710 PIXEL12_C2711 }2712 else2713 {2714 PIXEL01_32715 PIXEL02_42716 PIXEL12_32717 }2718 PIXEL112719 if (Diff(cget(8), cget(4)))2720 {2721 PIXEL10_C2722 PIXEL20_C2723 PIXEL21_C2724 }2725 else2726 {2727 PIXEL10_32728 PIXEL20_42729 PIXEL21_32730 }2731 PIXEL22_1M2732 break;2733 }2734 case 219:2735 {2736 if (Diff(cget(4), cget(2)))2737 {2738 PIXEL00_C2739 PIXEL01_C2740 PIXEL10_C2741 }2742 else2743 {2744 PIXEL00_42745 PIXEL01_32746 PIXEL10_32747 }2748 PIXEL02_1M2749 PIXEL112750 PIXEL20_1M2751 if (Diff(cget(6), cget(8)))2752 {2753 PIXEL12_C2754 PIXEL21_C2755 PIXEL22_C2756 }2757 else2758 {2759 PIXEL12_32760 PIXEL21_32761 PIXEL22_42762 }2763 break;2764 }2765 case 125:2766 {2767 if (Diff(cget(8), cget(4)))2768 {2769 PIXEL00_1U2770 PIXEL10_C2771 PIXEL20_C2772 PIXEL21_C2773 }2774 else2775 {2776 PIXEL00_22777 PIXEL10_62778 PIXEL20_52779 PIXEL21_12780 }2781 PIXEL01_12782 PIXEL02_1U2783 PIXEL112784 PIXEL12_C2785 PIXEL22_1M2786 break;2787 }2788 case 221:2789 {2790 if (Diff(cget(6), cget(8)))2791 {2792 PIXEL02_1U2793 PIXEL12_C2794 PIXEL21_C2795 PIXEL22_C2796 }2797 else2798 {2799 PIXEL02_22800 PIXEL12_62801 PIXEL21_12802 PIXEL22_52803 }2804 PIXEL00_1U2805 PIXEL01_12806 PIXEL10_C2807 PIXEL112808 PIXEL20_1M2809 break;2810 }2811 case 207:2812 {2813 if (Diff(cget(4), cget(2)))2814 {2815 PIXEL00_C2816 PIXEL01_C2817 PIXEL02_1R2818 PIXEL10_C2819 }2820 else2821 {2822 PIXEL00_52823 PIXEL01_62824 PIXEL02_22825 PIXEL10_12826 }2827 PIXEL112828 PIXEL12_12829 PIXEL20_1M2830 PIXEL21_C2831 PIXEL22_1R2832 break;2833 }2834 case 238:2835 {2836 if (Diff(cget(8), cget(4)))2837 {2838 PIXEL10_C2839 PIXEL20_C2840 PIXEL21_C2841 PIXEL22_1R2842 }2843 else2844 {2845 PIXEL10_12846 PIXEL20_52847 PIXEL21_62848 PIXEL22_22849 }2850 PIXEL00_1M2851 PIXEL01_C2852 PIXEL02_1R2853 PIXEL112854 PIXEL12_12855 break;2856 }2857 case 190:2858 {2859 if (Diff(cget(2), cget(6)))2860 {2861 PIXEL01_C2862 PIXEL02_C2863 PIXEL12_C2864 PIXEL22_1D2865 }2866 else2867 {2868 PIXEL01_12869 PIXEL02_52870 PIXEL12_62871 PIXEL22_22872 }2873 PIXEL00_1M2874 PIXEL10_C2875 PIXEL112876 PIXEL20_1D2877 PIXEL21_12878 break;2879 }2880 case 187:2881 {2882 if (Diff(cget(4), cget(2)))2883 {2884 PIXEL00_C2885 PIXEL01_C2886 PIXEL10_C2887 PIXEL20_1D2888 }2889 else2890 {2891 PIXEL00_52892 PIXEL01_12893 PIXEL10_62894 PIXEL20_22895 }2896 PIXEL02_1M2897 PIXEL112898 PIXEL12_C2899 PIXEL21_12900 PIXEL22_1D2901 break;2902 }2903 case 243:2904 {2905 if (Diff(cget(6), cget(8)))2906 {2907 PIXEL12_C2908 PIXEL20_1L2909 PIXEL21_C2910 PIXEL22_C2911 }2912 else2913 {2914 PIXEL12_12915 PIXEL20_22916 PIXEL21_62917 PIXEL22_52918 }2919 PIXEL00_1L2920 PIXEL01_C2921 PIXEL02_1M2922 PIXEL10_12923 PIXEL112924 break;2925 }2926 case 119:2927 {2928 if (Diff(cget(2), cget(6)))2929 {2930 PIXEL00_1L2931 PIXEL01_C2932 PIXEL02_C2933 PIXEL12_C2934 }2935 else2936 {2937 PIXEL00_22938 PIXEL01_62939 PIXEL02_52940 PIXEL12_12941 }2942 PIXEL10_12943 PIXEL112944 PIXEL20_1L2945 PIXEL21_C2946 PIXEL22_1M2947 break;2948 }2949 case 237:2950 case 233:2951 {2952 PIXEL00_1U2953 PIXEL01_12954 PIXEL02_22955 PIXEL10_C2956 PIXEL112957 PIXEL12_12958 if (Diff(cget(8), cget(4)))2959 {2960 PIXEL20_C2961 }2962 else2963 {2964 PIXEL20_22965 }2966 PIXEL21_C2967 PIXEL22_1R2968 break;2969 }2970 case 175:2971 case 47:2972 {2973 if (Diff(cget(4), cget(2)))2974 {2975 PIXEL00_C2976 }2977 else2978 {2979 PIXEL00_22980 }2981 PIXEL01_C2982 PIXEL02_1R2983 PIXEL10_C2984 PIXEL112985 PIXEL12_12986 PIXEL20_1D2987 PIXEL21_12988 PIXEL22_22989 break;2990 }2991 case 183:2992 case 151:2993 {2994 PIXEL00_1L2995 PIXEL01_C2996 if (Diff(cget(2), cget(6)))2997 {2998 PIXEL02_C2999 }3000 else3001 {3002 PIXEL02_23003 }3004 PIXEL10_13005 PIXEL113006 PIXEL12_C3007 PIXEL20_23008 PIXEL21_13009 PIXEL22_1D3010 break;3011 }3012 case 245:3013 case 244:3014 {3015 PIXEL00_23016 PIXEL01_13017 PIXEL02_1U3018 PIXEL10_13019 PIXEL113020 PIXEL12_C3021 PIXEL20_1L3022 PIXEL21_C3023 if (Diff(cget(6), cget(8)))3024 {3025 PIXEL22_C3026 }3027 else3028 {3029 PIXEL22_23030 }3031 break;3032 }3033 case 250:3034 {3035 PIXEL00_1M3036 PIXEL01_C3037 PIXEL02_1M3038 PIXEL113039 if (Diff(cget(8), cget(4)))3040 {3041 PIXEL10_C3042 PIXEL20_C3043 }3044 else3045 {3046 PIXEL10_33047 PIXEL20_43048 }3049 PIXEL21_C3050 if (Diff(cget(6), cget(8)))3051 {3052 PIXEL12_C3053 PIXEL22_C3054 }3055 else3056 {3057 PIXEL12_33058 PIXEL22_43059 }3060 break;3061 }3062 case 123:3063 {3064 if (Diff(cget(4), cget(2)))3065 {3066 PIXEL00_C3067 PIXEL01_C3068 }3069 else3070 {3071 PIXEL00_43072 PIXEL01_33073 }3074 PIXEL02_1M3075 PIXEL10_C3076 PIXEL113077 PIXEL12_C3078 if (Diff(cget(8), cget(4)))3079 {3080 PIXEL20_C3081 PIXEL21_C3082 }3083 else3084 {3085 PIXEL20_43086 PIXEL21_33087 }3088 PIXEL22_1M3089 break;3090 }3091 case 95:3092 {3093 if (Diff(cget(4), cget(2)))3094 {3095 PIXEL00_C3096 PIXEL10_C3097 }3098 else3099 {3100 PIXEL00_43101 PIXEL10_33102 }3103 PIXEL01_C3104 if (Diff(cget(2), cget(6)))3105 {3106 PIXEL02_C3107 PIXEL12_C3108 }3109 else3110 {3111 PIXEL02_43112 PIXEL12_33113 }3114 PIXEL113115 PIXEL20_1M3116 PIXEL21_C3117 PIXEL22_1M3118 break;3119 }3120 case 222:3121 {3122 PIXEL00_1M3123 if (Diff(cget(2), cget(6)))3124 {3125 PIXEL01_C3126 PIXEL02_C3127 }3128 else3129 {3130 PIXEL01_33131 PIXEL02_43132 }3133 PIXEL10_C3134 PIXEL113135 PIXEL12_C3136 PIXEL20_1M3137 if (Diff(cget(6), cget(8)))3138 {3139 PIXEL21_C3140 PIXEL22_C3141 }3142 else3143 {3144 PIXEL21_33145 PIXEL22_43146 }3147 break;3148 }3149 case 252:3150 {3151 PIXEL00_1M3152 PIXEL01_13153 PIXEL02_1U3154 PIXEL113155 PIXEL12_C3156 if (Diff(cget(8), cget(4)))3157 {3158 PIXEL10_C3159 PIXEL20_C3160 }3161 else3162 {3163 PIXEL10_33164 PIXEL20_43165 }3166 PIXEL21_C3167 if (Diff(cget(6), cget(8)))3168 {3169 PIXEL22_C3170 }3171 else3172 {3173 PIXEL22_23174 }3175 break;3176 }3177 case 249:3178 {3179 PIXEL00_1U3180 PIXEL01_13181 PIXEL02_1M3182 PIXEL10_C3183 PIXEL113184 if (Diff(cget(8), cget(4)))3185 {3186 PIXEL20_C3187 }3188 else3189 {3190 PIXEL20_23191 }3192 PIXEL21_C3193 if (Diff(cget(6), cget(8)))3194 {3195 PIXEL12_C3196 PIXEL22_C3197 }3198 else3199 {3200 PIXEL12_33201 PIXEL22_43202 }3203 break;3204 }3205 case 235:3206 {3207 if (Diff(cget(4), cget(2)))3208 {3209 PIXEL00_C3210 PIXEL01_C3211 }3212 else3213 {3214 PIXEL00_43215 PIXEL01_33216 }3217 PIXEL02_1M3218 PIXEL10_C3219 PIXEL113220 PIXEL12_13221 if (Diff(cget(8), cget(4)))3222 {3223 PIXEL20_C3224 }3225 else3226 {3227 PIXEL20_23228 }3229 PIXEL21_C3230 PIXEL22_1R3231 break;3232 }3233 case 111:3234 {3235 if (Diff(cget(4), cget(2)))3236 {3237 PIXEL00_C3238 }3239 else3240 {3241 PIXEL00_23242 }3243 PIXEL01_C3244 PIXEL02_1R3245 PIXEL10_C3246 PIXEL113247 PIXEL12_13248 if (Diff(cget(8), cget(4)))3249 {3250 PIXEL20_C3251 PIXEL21_C3252 }3253 else3254 {3255 PIXEL20_43256 PIXEL21_33257 }3258 PIXEL22_1M3259 break;3260 }3261 case 63:3262 {3263 if (Diff(cget(4), cget(2)))3264 {3265 PIXEL00_C3266 }3267 else3268 {3269 PIXEL00_23270 }3271 PIXEL01_C3272 if (Diff(cget(2), cget(6)))3273 {3274 PIXEL02_C3275 PIXEL12_C3276 }3277 else3278 {3279 PIXEL02_43280 PIXEL12_33281 }3282 PIXEL10_C3283 PIXEL113284 PIXEL20_1D3285 PIXEL21_13286 PIXEL22_1M3287 break;3288 }3289 case 159:3290 {3291 if (Diff(cget(4), cget(2)))3292 {3293 PIXEL00_C3294 PIXEL10_C3295 }3296 else3297 {3298 PIXEL00_43299 PIXEL10_33300 }3301 PIXEL01_C3302 if (Diff(cget(2), cget(6)))3303 {3304 PIXEL02_C3305 }3306 else3307 {3308 PIXEL02_23309 }3310 PIXEL113311 PIXEL12_C3312 PIXEL20_1M3313 PIXEL21_13314 PIXEL22_1D3315 break;3316 }3317 case 215:3318 {3319 PIXEL00_1L3320 PIXEL01_C3321 if (Diff(cget(2), cget(6)))3322 {3323 PIXEL02_C3324 }3325 else3326 {3327 PIXEL02_23328 }3329 PIXEL10_13330 PIXEL113331 PIXEL12_C3332 PIXEL20_1M3333 if (Diff(cget(6), cget(8)))3334 {3335 PIXEL21_C3336 PIXEL22_C3337 }3338 else3339 {3340 PIXEL21_33341 PIXEL22_43342 }3343 break;3344 }3345 case 246:3346 {3347 PIXEL00_1M3348 if (Diff(cget(2), cget(6)))3349 {3350 PIXEL01_C3351 PIXEL02_C3352 }3353 else3354 {3355 PIXEL01_33356 PIXEL02_43357 }3358 PIXEL10_13359 PIXEL113360 PIXEL12_C3361 PIXEL20_1L3362 PIXEL21_C3363 if (Diff(cget(6), cget(8)))3364 {3365 PIXEL22_C3366 }3367 else3368 {3369 PIXEL22_23370 }3371 break;3372 }3373 case 254:3374 {3375 PIXEL00_1M3376 if (Diff(cget(2), cget(6)))3377 {3378 PIXEL01_C3379 PIXEL02_C3380 }3381 else3382 {3383 PIXEL01_33384 PIXEL02_43385 }3386 PIXEL113387 if (Diff(cget(8), cget(4)))3388 {3389 PIXEL10_C3390 PIXEL20_C3391 }3392 else3393 {3394 PIXEL10_33395 PIXEL20_43396 }3397 if (Diff(cget(6), cget(8)))3398 {3399 PIXEL12_C3400 PIXEL21_C3401 PIXEL22_C3402 }3403 else3404 {3405 PIXEL12_33406 PIXEL21_33407 PIXEL22_23408 }3409 break;3410 }3411 case 253:3412 {3413 PIXEL00_1U3414 PIXEL01_13415 PIXEL02_1U3416 PIXEL10_C3417 PIXEL113418 PIXEL12_C3419 if (Diff(cget(8), cget(4)))3420 {3421 PIXEL20_C3422 }3423 else3424 {3425 PIXEL20_23426 }3427 PIXEL21_C3428 if (Diff(cget(6), cget(8)))3429 {3430 PIXEL22_C3431 }3432 else3433 {3434 PIXEL22_23435 }3436 break;3437 }3438 case 251:3439 {3440 if (Diff(cget(4), cget(2)))3441 {3442 PIXEL00_C3443 PIXEL01_C3444 }3445 else3446 {3447 PIXEL00_43448 PIXEL01_33449 }3450 PIXEL02_1M3451 PIXEL113452 if (Diff(cget(8), cget(4)))3453 {3454 PIXEL10_C3455 PIXEL20_C3456 PIXEL21_C3457 }3458 else3459 {3460 PIXEL10_33461 PIXEL20_23462 PIXEL21_33463 }3464 if (Diff(cget(6), cget(8)))3465 {3466 PIXEL12_C3467 PIXEL22_C3468 }3469 else3470 {3471 PIXEL12_33472 PIXEL22_43473 }3474 break;3475 }3476 case 239:3477 {3478 if (Diff(cget(4), cget(2)))3479 {3480 PIXEL00_C3481 }3482 else3483 {3484 PIXEL00_23485 }3486 PIXEL01_C3487 PIXEL02_1R3488 PIXEL10_C3489 PIXEL113490 PIXEL12_13491 if (Diff(cget(8), cget(4)))3492 {3493 PIXEL20_C3494 }3495 else3496 {3497 PIXEL20_23498 }3499 PIXEL21_C3500 PIXEL22_1R3501 break;3502 }3503 case 127:3504 {3505 if (Diff(cget(4), cget(2)))3506 {3507 PIXEL00_C3508 PIXEL01_C3509 PIXEL10_C3510 }3511 else3512 {3513 PIXEL00_23514 PIXEL01_33515 PIXEL10_33516 }3517 if (Diff(cget(2), cget(6)))3518 {3519 PIXEL02_C3520 PIXEL12_C3521 }3522 else3523 {3524 PIXEL02_43525 PIXEL12_33526 }3527 PIXEL113528 if (Diff(cget(8), cget(4)))3529 {3530 PIXEL20_C3531 PIXEL21_C3532 }3533 else3534 {3535 PIXEL20_43536 PIXEL21_33537 }3538 PIXEL22_1M3539 break;3540 }3541 case 191:3542 {3543 if (Diff(cget(4), cget(2)))3544 {3545 PIXEL00_C3546 }3547 else3548 {3549 PIXEL00_23550 }3551 PIXEL01_C3552 if (Diff(cget(2), cget(6)))3553 {3554 PIXEL02_C3555 }3556 else3557 {3558 PIXEL02_23559 }3560 PIXEL10_C3561 PIXEL113562 PIXEL12_C3563 PIXEL20_1D3564 PIXEL21_13565 PIXEL22_1D3566 break;3567 }3568 case 223:3569 {3570 if (Diff(cget(4), cget(2)))3571 {3572 PIXEL00_C3573 PIXEL10_C3574 }3575 else3576 {3577 PIXEL00_43578 PIXEL10_33579 }3580 if (Diff(cget(2), cget(6)))3581 {3582 PIXEL01_C3583 PIXEL02_C3584 PIXEL12_C3585 }3586 else3587 {3588 PIXEL01_33589 PIXEL02_23590 PIXEL12_33591 }3592 PIXEL113593 PIXEL20_1M3594 if (Diff(cget(6), cget(8)))3595 {3596 PIXEL21_C3597 PIXEL22_C3598 }3599 else3600 {3601 PIXEL21_33602 PIXEL22_43603 }3604 break;3605 }3606 case 247:3607 {3608 PIXEL00_1L3609 PIXEL01_C3610 if (Diff(cget(2), cget(6)))3611 {3612 PIXEL02_C3613 }3614 else3615 {3616 PIXEL02_23617 }3618 PIXEL10_13619 PIXEL113620 PIXEL12_C3621 PIXEL20_1L3622 PIXEL21_C3623 if (Diff(cget(6), cget(8)))3624 {3625 PIXEL22_C3626 }3627 else3628 {3629 PIXEL22_23630 }3631 break;3632 }3633 case 255:3634 {3635 if (Diff(cget(4), cget(2)))3636 {3637 PIXEL00_C3638 }3639 else3640 {3641 PIXEL00_23642 }3643 PIXEL01_C3644 if (Diff(cget(2), cget(6)))3645 {3646 PIXEL02_C3647 }3648 else3649 {3650 PIXEL02_23651 }3652 PIXEL10_C3653 PIXEL113654 PIXEL12_C3655 if (Diff(cget(8), cget(4)))3656 {3657 PIXEL20_C3658 }3659 else3660 {3661 PIXEL20_23662 }3663 PIXEL21_C3664 if (Diff(cget(6), cget(8)))3665 {3666 PIXEL22_C3667 }3668 else3669 {3670 PIXEL22_23671 }3672 break;3673 }3674 }