view src/filters/hq3x32.h @ 559:91e99cc36bda

problem was improper value for starting position in memory for glyph-display-program.
author Robert McIntyre <rlm@mit.edu>
date Fri, 31 Aug 2012 04:58:15 -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 cget
56 #define cget(x) c[x]
57 #endif
59 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_2
79 PIXEL01_1
80 PIXEL02_2
81 PIXEL10_1
82 PIXEL11
83 PIXEL12_1
84 PIXEL20_2
85 PIXEL21_1
86 PIXEL22_2
87 break;
88 }
89 case 2:
90 case 34:
91 case 130:
92 case 162:
93 {
94 PIXEL00_1M
95 PIXEL01_C
96 PIXEL02_1M
97 PIXEL10_1
98 PIXEL11
99 PIXEL12_1
100 PIXEL20_2
101 PIXEL21_1
102 PIXEL22_2
103 break;
104 }
105 case 16:
106 case 17:
107 case 48:
108 case 49:
109 {
110 PIXEL00_2
111 PIXEL01_1
112 PIXEL02_1M
113 PIXEL10_1
114 PIXEL11
115 PIXEL12_C
116 PIXEL20_2
117 PIXEL21_1
118 PIXEL22_1M
119 break;
120 }
121 case 64:
122 case 65:
123 case 68:
124 case 69:
125 {
126 PIXEL00_2
127 PIXEL01_1
128 PIXEL02_2
129 PIXEL10_1
130 PIXEL11
131 PIXEL12_1
132 PIXEL20_1M
133 PIXEL21_C
134 PIXEL22_1M
135 break;
136 }
137 case 8:
138 case 12:
139 case 136:
140 case 140:
141 {
142 PIXEL00_1M
143 PIXEL01_1
144 PIXEL02_2
145 PIXEL10_C
146 PIXEL11
147 PIXEL12_1
148 PIXEL20_1M
149 PIXEL21_1
150 PIXEL22_2
151 break;
152 }
153 case 3:
154 case 35:
155 case 131:
156 case 163:
157 {
158 PIXEL00_1L
159 PIXEL01_C
160 PIXEL02_1M
161 PIXEL10_1
162 PIXEL11
163 PIXEL12_1
164 PIXEL20_2
165 PIXEL21_1
166 PIXEL22_2
167 break;
168 }
169 case 6:
170 case 38:
171 case 134:
172 case 166:
173 {
174 PIXEL00_1M
175 PIXEL01_C
176 PIXEL02_1R
177 PIXEL10_1
178 PIXEL11
179 PIXEL12_1
180 PIXEL20_2
181 PIXEL21_1
182 PIXEL22_2
183 break;
184 }
185 case 20:
186 case 21:
187 case 52:
188 case 53:
189 {
190 PIXEL00_2
191 PIXEL01_1
192 PIXEL02_1U
193 PIXEL10_1
194 PIXEL11
195 PIXEL12_C
196 PIXEL20_2
197 PIXEL21_1
198 PIXEL22_1M
199 break;
200 }
201 case 144:
202 case 145:
203 case 176:
204 case 177:
205 {
206 PIXEL00_2
207 PIXEL01_1
208 PIXEL02_1M
209 PIXEL10_1
210 PIXEL11
211 PIXEL12_C
212 PIXEL20_2
213 PIXEL21_1
214 PIXEL22_1D
215 break;
216 }
217 case 192:
218 case 193:
219 case 196:
220 case 197:
221 {
222 PIXEL00_2
223 PIXEL01_1
224 PIXEL02_2
225 PIXEL10_1
226 PIXEL11
227 PIXEL12_1
228 PIXEL20_1M
229 PIXEL21_C
230 PIXEL22_1R
231 break;
232 }
233 case 96:
234 case 97:
235 case 100:
236 case 101:
237 {
238 PIXEL00_2
239 PIXEL01_1
240 PIXEL02_2
241 PIXEL10_1
242 PIXEL11
243 PIXEL12_1
244 PIXEL20_1L
245 PIXEL21_C
246 PIXEL22_1M
247 break;
248 }
249 case 40:
250 case 44:
251 case 168:
252 case 172:
253 {
254 PIXEL00_1M
255 PIXEL01_1
256 PIXEL02_2
257 PIXEL10_C
258 PIXEL11
259 PIXEL12_1
260 PIXEL20_1D
261 PIXEL21_1
262 PIXEL22_2
263 break;
264 }
265 case 9:
266 case 13:
267 case 137:
268 case 141:
269 {
270 PIXEL00_1U
271 PIXEL01_1
272 PIXEL02_2
273 PIXEL10_C
274 PIXEL11
275 PIXEL12_1
276 PIXEL20_1M
277 PIXEL21_1
278 PIXEL22_2
279 break;
280 }
281 case 18:
282 case 50:
283 {
284 PIXEL00_1M
286 if (Diff(cget(2), cget(6)))
287 {
288 PIXEL01_C
289 PIXEL02_1M
290 PIXEL12_C
291 }
292 else
293 {
294 PIXEL01_3
295 PIXEL02_4
296 PIXEL12_3
297 }
298 PIXEL10_1
299 PIXEL11
300 PIXEL20_2
301 PIXEL21_1
302 PIXEL22_1M
303 break;
304 }
305 case 80:
306 case 81:
307 {
308 PIXEL00_2
309 PIXEL01_1
310 PIXEL02_1M
311 PIXEL10_1
312 PIXEL11
313 PIXEL20_1M
314 if (Diff(cget(6), cget(8)))
315 {
316 PIXEL12_C
317 PIXEL21_C
318 PIXEL22_1M
319 }
320 else
321 {
322 PIXEL12_3
323 PIXEL21_3
324 PIXEL22_4
325 }
326 break;
327 }
328 case 72:
329 case 76:
330 {
331 PIXEL00_1M
332 PIXEL01_1
333 PIXEL02_2
334 PIXEL11
335 PIXEL12_1
336 if (Diff(cget(8), cget(4)))
337 {
338 PIXEL10_C
339 PIXEL20_1M
340 PIXEL21_C
341 }
342 else
343 {
344 PIXEL10_3
345 PIXEL20_4
346 PIXEL21_3
347 }
348 PIXEL22_1M
349 break;
350 }
351 case 10:
352 case 138:
353 {
354 if (Diff(cget(4), cget(2)))
355 {
356 PIXEL00_1M
357 PIXEL01_C
358 PIXEL10_C
359 }
360 else
361 {
362 PIXEL00_4
363 PIXEL01_3
364 PIXEL10_3
365 }
366 PIXEL02_1M
367 PIXEL11
368 PIXEL12_1
369 PIXEL20_1M
370 PIXEL21_1
371 PIXEL22_2
372 break;
373 }
374 case 66:
375 {
376 PIXEL00_1M
377 PIXEL01_C
378 PIXEL02_1M
379 PIXEL10_1
380 PIXEL11
381 PIXEL12_1
382 PIXEL20_1M
383 PIXEL21_C
384 PIXEL22_1M
385 break;
386 }
387 case 24:
388 {
389 PIXEL00_1M
390 PIXEL01_1
391 PIXEL02_1M
392 PIXEL10_C
393 PIXEL11
394 PIXEL12_C
395 PIXEL20_1M
396 PIXEL21_1
397 PIXEL22_1M
398 break;
399 }
400 case 7:
401 case 39:
402 case 135:
403 {
404 PIXEL00_1L
405 PIXEL01_C
406 PIXEL02_1R
407 PIXEL10_1
408 PIXEL11
409 PIXEL12_1
410 PIXEL20_2
411 PIXEL21_1
412 PIXEL22_2
413 break;
414 }
415 case 148:
416 case 149:
417 case 180:
418 {
419 PIXEL00_2
420 PIXEL01_1
421 PIXEL02_1U
422 PIXEL10_1
423 PIXEL11
424 PIXEL12_C
425 PIXEL20_2
426 PIXEL21_1
427 PIXEL22_1D
428 break;
429 }
430 case 224:
431 case 228:
432 case 225:
433 {
434 PIXEL00_2
435 PIXEL01_1
436 PIXEL02_2
437 PIXEL10_1
438 PIXEL11
439 PIXEL12_1
440 PIXEL20_1L
441 PIXEL21_C
442 PIXEL22_1R
443 break;
444 }
445 case 41:
446 case 169:
447 case 45:
448 {
449 PIXEL00_1U
450 PIXEL01_1
451 PIXEL02_2
452 PIXEL10_C
453 PIXEL11
454 PIXEL12_1
455 PIXEL20_1D
456 PIXEL21_1
457 PIXEL22_2
458 break;
459 }
460 case 22:
461 case 54:
462 {
463 PIXEL00_1M
464 if (Diff(cget(2), cget(6)))
465 {
466 PIXEL01_C
467 PIXEL02_C
468 PIXEL12_C
469 }
470 else
471 {
472 PIXEL01_3
473 PIXEL02_4
474 PIXEL12_3
475 }
476 PIXEL10_1
477 PIXEL11
478 PIXEL20_2
479 PIXEL21_1
480 PIXEL22_1M
481 break;
482 }
483 case 208:
484 case 209:
485 {
486 PIXEL00_2
487 PIXEL01_1
488 PIXEL02_1M
489 PIXEL10_1
490 PIXEL11
491 PIXEL20_1M
492 if (Diff(cget(6), cget(8)))
493 {
494 PIXEL12_C
495 PIXEL21_C
496 PIXEL22_C
497 }
498 else
499 {
500 PIXEL12_3
501 PIXEL21_3
502 PIXEL22_4
503 }
504 break;
505 }
506 case 104:
507 case 108:
508 {
509 PIXEL00_1M
510 PIXEL01_1
511 PIXEL02_2
512 PIXEL11
513 PIXEL12_1
514 if (Diff(cget(8), cget(4)))
515 {
516 PIXEL10_C
517 PIXEL20_C
518 PIXEL21_C
519 }
520 else
521 {
522 PIXEL10_3
523 PIXEL20_4
524 PIXEL21_3
525 }
526 PIXEL22_1M
527 break;
528 }
529 case 11:
530 case 139:
531 {
532 if (Diff(cget(4), cget(2)))
533 {
534 PIXEL00_C
535 PIXEL01_C
536 PIXEL10_C
537 }
538 else
539 {
540 PIXEL00_4
541 PIXEL01_3
542 PIXEL10_3
543 }
544 PIXEL02_1M
545 PIXEL11
546 PIXEL12_1
547 PIXEL20_1M
548 PIXEL21_1
549 PIXEL22_2
550 break;
551 }
552 case 19:
553 case 51:
554 {
555 if (Diff(cget(2), cget(6)))
556 {
557 PIXEL00_1L
558 PIXEL01_C
559 PIXEL02_1M
560 PIXEL12_C
561 }
562 else
563 {
564 PIXEL00_2
565 PIXEL01_6
566 PIXEL02_5
567 PIXEL12_1
568 }
569 PIXEL10_1
570 PIXEL11
571 PIXEL20_2
572 PIXEL21_1
573 PIXEL22_1M
574 break;
575 }
576 case 146:
577 case 178:
578 {
579 if (Diff(cget(2), cget(6)))
580 {
581 PIXEL01_C
582 PIXEL02_1M
583 PIXEL12_C
584 PIXEL22_1D
585 }
586 else
587 {
588 PIXEL01_1
589 PIXEL02_5
590 PIXEL12_6
591 PIXEL22_2
592 }
593 PIXEL00_1M
594 PIXEL10_1
595 PIXEL11
596 PIXEL20_2
597 PIXEL21_1
598 break;
599 }
600 case 84:
601 case 85:
602 {
603 if (Diff(cget(6), cget(8)))
604 {
605 PIXEL02_1U
606 PIXEL12_C
607 PIXEL21_C
608 PIXEL22_1M
609 }
610 else
611 {
612 PIXEL02_2
613 PIXEL12_6
614 PIXEL21_1
615 PIXEL22_5
616 }
617 PIXEL00_2
618 PIXEL01_1
619 PIXEL10_1
620 PIXEL11
621 PIXEL20_1M
622 break;
623 }
624 case 112:
625 case 113:
626 {
627 if (Diff(cget(6), cget(8)))
628 {
629 PIXEL12_C
630 PIXEL20_1L
631 PIXEL21_C
632 PIXEL22_1M
633 }
634 else
635 {
636 PIXEL12_1
637 PIXEL20_2
638 PIXEL21_6
639 PIXEL22_5
640 }
641 PIXEL00_2
642 PIXEL01_1
643 PIXEL02_1M
644 PIXEL10_1
645 PIXEL11
646 break;
647 }
648 case 200:
649 case 204:
650 {
651 if (Diff(cget(8), cget(4)))
652 {
653 PIXEL10_C
654 PIXEL20_1M
655 PIXEL21_C
656 PIXEL22_1R
657 }
658 else
659 {
660 PIXEL10_1
661 PIXEL20_5
662 PIXEL21_6
663 PIXEL22_2
664 }
665 PIXEL00_1M
666 PIXEL01_1
667 PIXEL02_2
668 PIXEL11
669 PIXEL12_1
670 break;
671 }
672 case 73:
673 case 77:
674 {
675 if (Diff(cget(8), cget(4)))
676 {
677 PIXEL00_1U
678 PIXEL10_C
679 PIXEL20_1M
680 PIXEL21_C
681 }
682 else
683 {
684 PIXEL00_2
685 PIXEL10_6
686 PIXEL20_5
687 PIXEL21_1
688 }
689 PIXEL01_1
690 PIXEL02_2
691 PIXEL11
692 PIXEL12_1
693 PIXEL22_1M
694 break;
695 }
696 case 42:
697 case 170:
698 {
699 if (Diff(cget(4), cget(2)))
700 {
701 PIXEL00_1M
702 PIXEL01_C
703 PIXEL10_C
704 PIXEL20_1D
705 }
706 else
707 {
708 PIXEL00_5
709 PIXEL01_1
710 PIXEL10_6
711 PIXEL20_2
712 }
713 PIXEL02_1M
714 PIXEL11
715 PIXEL12_1
716 PIXEL21_1
717 PIXEL22_2
718 break;
719 }
720 case 14:
721 case 142:
722 {
723 if (Diff(cget(4), cget(2)))
724 {
725 PIXEL00_1M
726 PIXEL01_C
727 PIXEL02_1R
728 PIXEL10_C
729 }
730 else
731 {
732 PIXEL00_5
733 PIXEL01_6
734 PIXEL02_2
735 PIXEL10_1
736 }
737 PIXEL11
738 PIXEL12_1
739 PIXEL20_1M
740 PIXEL21_1
741 PIXEL22_2
742 break;
743 }
744 case 67:
745 {
746 PIXEL00_1L
747 PIXEL01_C
748 PIXEL02_1M
749 PIXEL10_1
750 PIXEL11
751 PIXEL12_1
752 PIXEL20_1M
753 PIXEL21_C
754 PIXEL22_1M
755 break;
756 }
757 case 70:
758 {
759 PIXEL00_1M
760 PIXEL01_C
761 PIXEL02_1R
762 PIXEL10_1
763 PIXEL11
764 PIXEL12_1
765 PIXEL20_1M
766 PIXEL21_C
767 PIXEL22_1M
768 break;
769 }
770 case 28:
771 {
772 PIXEL00_1M
773 PIXEL01_1
774 PIXEL02_1U
775 PIXEL10_C
776 PIXEL11
777 PIXEL12_C
778 PIXEL20_1M
779 PIXEL21_1
780 PIXEL22_1M
781 break;
782 }
783 case 152:
784 {
785 PIXEL00_1M
786 PIXEL01_1
787 PIXEL02_1M
788 PIXEL10_C
789 PIXEL11
790 PIXEL12_C
791 PIXEL20_1M
792 PIXEL21_1
793 PIXEL22_1D
794 break;
795 }
796 case 194:
797 {
798 PIXEL00_1M
799 PIXEL01_C
800 PIXEL02_1M
801 PIXEL10_1
802 PIXEL11
803 PIXEL12_1
804 PIXEL20_1M
805 PIXEL21_C
806 PIXEL22_1R
807 break;
808 }
809 case 98:
810 {
811 PIXEL00_1M
812 PIXEL01_C
813 PIXEL02_1M
814 PIXEL10_1
815 PIXEL11
816 PIXEL12_1
817 PIXEL20_1L
818 PIXEL21_C
819 PIXEL22_1M
820 break;
821 }
822 case 56:
823 {
824 PIXEL00_1M
825 PIXEL01_1
826 PIXEL02_1M
827 PIXEL10_C
828 PIXEL11
829 PIXEL12_C
830 PIXEL20_1D
831 PIXEL21_1
832 PIXEL22_1M
833 break;
834 }
835 case 25:
836 {
837 PIXEL00_1U
838 PIXEL01_1
839 PIXEL02_1M
840 PIXEL10_C
841 PIXEL11
842 PIXEL12_C
843 PIXEL20_1M
844 PIXEL21_1
845 PIXEL22_1M
846 break;
847 }
848 case 26:
849 case 31:
850 {
851 if (Diff(cget(4), cget(2)))
852 {
853 PIXEL00_C
854 PIXEL10_C
855 }
856 else
857 {
858 PIXEL00_4
859 PIXEL10_3
860 }
861 PIXEL01_C
862 if (Diff(cget(2), cget(6)))
863 {
864 PIXEL02_C
865 PIXEL12_C
866 }
867 else
868 {
869 PIXEL02_4
870 PIXEL12_3
871 }
872 PIXEL11
873 PIXEL20_1M
874 PIXEL21_1
875 PIXEL22_1M
876 break;
877 }
878 case 82:
879 case 214:
880 {
881 PIXEL00_1M
882 if (Diff(cget(2), cget(6)))
883 {
884 PIXEL01_C
885 PIXEL02_C
886 }
887 else
888 {
889 PIXEL01_3
890 PIXEL02_4
891 }
892 PIXEL10_1
893 PIXEL11
894 PIXEL12_C
895 PIXEL20_1M
896 if (Diff(cget(6), cget(8)))
897 {
898 PIXEL21_C
899 PIXEL22_C
900 }
901 else
902 {
903 PIXEL21_3
904 PIXEL22_4
905 }
906 break;
907 }
908 case 88:
909 case 248:
910 {
911 PIXEL00_1M
912 PIXEL01_1
913 PIXEL02_1M
914 PIXEL11
915 if (Diff(cget(8), cget(4)))
916 {
917 PIXEL10_C
918 PIXEL20_C
919 }
920 else
921 {
922 PIXEL10_3
923 PIXEL20_4
924 }
925 PIXEL21_C
926 if (Diff(cget(6), cget(8)))
927 {
928 PIXEL12_C
929 PIXEL22_C
930 }
931 else
932 {
933 PIXEL12_3
934 PIXEL22_4
935 }
936 break;
937 }
938 case 74:
939 case 107:
940 {
941 if (Diff(cget(4), cget(2)))
942 {
943 PIXEL00_C
944 PIXEL01_C
945 }
946 else
947 {
948 PIXEL00_4
949 PIXEL01_3
950 }
951 PIXEL02_1M
952 PIXEL10_C
953 PIXEL11
954 PIXEL12_1
955 if (Diff(cget(8), cget(4)))
956 {
957 PIXEL20_C
958 PIXEL21_C
959 }
960 else
961 {
962 PIXEL20_4
963 PIXEL21_3
964 }
965 PIXEL22_1M
966 break;
967 }
968 case 27:
969 {
970 if (Diff(cget(4), cget(2)))
971 {
972 PIXEL00_C
973 PIXEL01_C
974 PIXEL10_C
975 }
976 else
977 {
978 PIXEL00_4
979 PIXEL01_3
980 PIXEL10_3
981 }
982 PIXEL02_1M
983 PIXEL11
984 PIXEL12_C
985 PIXEL20_1M
986 PIXEL21_1
987 PIXEL22_1M
988 break;
989 }
990 case 86:
991 {
992 PIXEL00_1M
993 if (Diff(cget(2), cget(6)))
994 {
995 PIXEL01_C
996 PIXEL02_C
997 PIXEL12_C
998 }
999 else
1001 PIXEL01_3
1002 PIXEL02_4
1003 PIXEL12_3
1005 PIXEL10_1
1006 PIXEL11
1007 PIXEL20_1M
1008 PIXEL21_C
1009 PIXEL22_1M
1010 break;
1012 case 216:
1014 PIXEL00_1M
1015 PIXEL01_1
1016 PIXEL02_1M
1017 PIXEL10_C
1018 PIXEL11
1019 PIXEL20_1M
1020 if (Diff(cget(6), cget(8)))
1022 PIXEL12_C
1023 PIXEL21_C
1024 PIXEL22_C
1026 else
1028 PIXEL12_3
1029 PIXEL21_3
1030 PIXEL22_4
1032 break;
1034 case 106:
1036 PIXEL00_1M
1037 PIXEL01_C
1038 PIXEL02_1M
1039 PIXEL11
1040 PIXEL12_1
1041 if (Diff(cget(8), cget(4)))
1043 PIXEL10_C
1044 PIXEL20_C
1045 PIXEL21_C
1047 else
1049 PIXEL10_3
1050 PIXEL20_4
1051 PIXEL21_3
1053 PIXEL22_1M
1054 break;
1056 case 30:
1058 PIXEL00_1M
1059 if (Diff(cget(2), cget(6)))
1061 PIXEL01_C
1062 PIXEL02_C
1063 PIXEL12_C
1065 else
1067 PIXEL01_3
1068 PIXEL02_4
1069 PIXEL12_3
1071 PIXEL10_C
1072 PIXEL11
1073 PIXEL20_1M
1074 PIXEL21_1
1075 PIXEL22_1M
1076 break;
1078 case 210:
1080 PIXEL00_1M
1081 PIXEL01_C
1082 PIXEL02_1M
1083 PIXEL10_1
1084 PIXEL11
1085 PIXEL20_1M
1086 if (Diff(cget(6), cget(8)))
1088 PIXEL12_C
1089 PIXEL21_C
1090 PIXEL22_C
1092 else
1094 PIXEL12_3
1095 PIXEL21_3
1096 PIXEL22_4
1098 break;
1100 case 120:
1102 PIXEL00_1M
1103 PIXEL01_1
1104 PIXEL02_1M
1105 PIXEL11
1106 PIXEL12_C
1107 if (Diff(cget(8), cget(4)))
1109 PIXEL10_C
1110 PIXEL20_C
1111 PIXEL21_C
1113 else
1115 PIXEL10_3
1116 PIXEL20_4
1117 PIXEL21_3
1119 PIXEL22_1M
1120 break;
1122 case 75:
1124 if (Diff(cget(4), cget(2)))
1126 PIXEL00_C
1127 PIXEL01_C
1128 PIXEL10_C
1130 else
1132 PIXEL00_4
1133 PIXEL01_3
1134 PIXEL10_3
1136 PIXEL02_1M
1137 PIXEL11
1138 PIXEL12_1
1139 PIXEL20_1M
1140 PIXEL21_C
1141 PIXEL22_1M
1142 break;
1144 case 29:
1146 PIXEL00_1U
1147 PIXEL01_1
1148 PIXEL02_1U
1149 PIXEL10_C
1150 PIXEL11
1151 PIXEL12_C
1152 PIXEL20_1M
1153 PIXEL21_1
1154 PIXEL22_1M
1155 break;
1157 case 198:
1159 PIXEL00_1M
1160 PIXEL01_C
1161 PIXEL02_1R
1162 PIXEL10_1
1163 PIXEL11
1164 PIXEL12_1
1165 PIXEL20_1M
1166 PIXEL21_C
1167 PIXEL22_1R
1168 break;
1170 case 184:
1172 PIXEL00_1M
1173 PIXEL01_1
1174 PIXEL02_1M
1175 PIXEL10_C
1176 PIXEL11
1177 PIXEL12_C
1178 PIXEL20_1D
1179 PIXEL21_1
1180 PIXEL22_1D
1181 break;
1183 case 99:
1185 PIXEL00_1L
1186 PIXEL01_C
1187 PIXEL02_1M
1188 PIXEL10_1
1189 PIXEL11
1190 PIXEL12_1
1191 PIXEL20_1L
1192 PIXEL21_C
1193 PIXEL22_1M
1194 break;
1196 case 57:
1198 PIXEL00_1U
1199 PIXEL01_1
1200 PIXEL02_1M
1201 PIXEL10_C
1202 PIXEL11
1203 PIXEL12_C
1204 PIXEL20_1D
1205 PIXEL21_1
1206 PIXEL22_1M
1207 break;
1209 case 71:
1211 PIXEL00_1L
1212 PIXEL01_C
1213 PIXEL02_1R
1214 PIXEL10_1
1215 PIXEL11
1216 PIXEL12_1
1217 PIXEL20_1M
1218 PIXEL21_C
1219 PIXEL22_1M
1220 break;
1222 case 156:
1224 PIXEL00_1M
1225 PIXEL01_1
1226 PIXEL02_1U
1227 PIXEL10_C
1228 PIXEL11
1229 PIXEL12_C
1230 PIXEL20_1M
1231 PIXEL21_1
1232 PIXEL22_1D
1233 break;
1235 case 226:
1237 PIXEL00_1M
1238 PIXEL01_C
1239 PIXEL02_1M
1240 PIXEL10_1
1241 PIXEL11
1242 PIXEL12_1
1243 PIXEL20_1L
1244 PIXEL21_C
1245 PIXEL22_1R
1246 break;
1248 case 60:
1250 PIXEL00_1M
1251 PIXEL01_1
1252 PIXEL02_1U
1253 PIXEL10_C
1254 PIXEL11
1255 PIXEL12_C
1256 PIXEL20_1D
1257 PIXEL21_1
1258 PIXEL22_1M
1259 break;
1261 case 195:
1263 PIXEL00_1L
1264 PIXEL01_C
1265 PIXEL02_1M
1266 PIXEL10_1
1267 PIXEL11
1268 PIXEL12_1
1269 PIXEL20_1M
1270 PIXEL21_C
1271 PIXEL22_1R
1272 break;
1274 case 102:
1276 PIXEL00_1M
1277 PIXEL01_C
1278 PIXEL02_1R
1279 PIXEL10_1
1280 PIXEL11
1281 PIXEL12_1
1282 PIXEL20_1L
1283 PIXEL21_C
1284 PIXEL22_1M
1285 break;
1287 case 153:
1289 PIXEL00_1U
1290 PIXEL01_1
1291 PIXEL02_1M
1292 PIXEL10_C
1293 PIXEL11
1294 PIXEL12_C
1295 PIXEL20_1M
1296 PIXEL21_1
1297 PIXEL22_1D
1298 break;
1300 case 58:
1302 if (Diff(cget(4), cget(2)))
1304 PIXEL00_1M
1306 else
1308 PIXEL00_2
1310 PIXEL01_C
1311 if (Diff(cget(2), cget(6)))
1313 PIXEL02_1M
1315 else
1317 PIXEL02_2
1319 PIXEL10_C
1320 PIXEL11
1321 PIXEL12_C
1322 PIXEL20_1D
1323 PIXEL21_1
1324 PIXEL22_1M
1325 break;
1327 case 83:
1329 PIXEL00_1L
1330 PIXEL01_C
1331 if (Diff(cget(2), cget(6)))
1333 PIXEL02_1M
1335 else
1337 PIXEL02_2
1339 PIXEL10_1
1340 PIXEL11
1341 PIXEL12_C
1342 PIXEL20_1M
1343 PIXEL21_C
1344 if (Diff(cget(6), cget(8)))
1346 PIXEL22_1M
1348 else
1350 PIXEL22_2
1352 break;
1354 case 92:
1356 PIXEL00_1M
1357 PIXEL01_1
1358 PIXEL02_1U
1359 PIXEL10_C
1360 PIXEL11
1361 PIXEL12_C
1362 if (Diff(cget(8), cget(4)))
1364 PIXEL20_1M
1366 else
1368 PIXEL20_2
1370 PIXEL21_C
1371 if (Diff(cget(6), cget(8)))
1373 PIXEL22_1M
1375 else
1377 PIXEL22_2
1379 break;
1381 case 202:
1383 if (Diff(cget(4), cget(2)))
1385 PIXEL00_1M
1387 else
1389 PIXEL00_2
1391 PIXEL01_C
1392 PIXEL02_1M
1393 PIXEL10_C
1394 PIXEL11
1395 PIXEL12_1
1396 if (Diff(cget(8), cget(4)))
1398 PIXEL20_1M
1400 else
1402 PIXEL20_2
1404 PIXEL21_C
1405 PIXEL22_1R
1406 break;
1408 case 78:
1410 if (Diff(cget(4), cget(2)))
1412 PIXEL00_1M
1414 else
1416 PIXEL00_2
1418 PIXEL01_C
1419 PIXEL02_1R
1420 PIXEL10_C
1421 PIXEL11
1422 PIXEL12_1
1423 if (Diff(cget(8), cget(4)))
1425 PIXEL20_1M
1427 else
1429 PIXEL20_2
1431 PIXEL21_C
1432 PIXEL22_1M
1433 break;
1435 case 154:
1437 if (Diff(cget(4), cget(2)))
1439 PIXEL00_1M
1441 else
1443 PIXEL00_2
1445 PIXEL01_C
1446 if (Diff(cget(2), cget(6)))
1448 PIXEL02_1M
1450 else
1452 PIXEL02_2
1454 PIXEL10_C
1455 PIXEL11
1456 PIXEL12_C
1457 PIXEL20_1M
1458 PIXEL21_1
1459 PIXEL22_1D
1460 break;
1462 case 114:
1464 PIXEL00_1M
1465 PIXEL01_C
1466 if (Diff(cget(2), cget(6)))
1468 PIXEL02_1M
1470 else
1472 PIXEL02_2
1474 PIXEL10_1
1475 PIXEL11
1476 PIXEL12_C
1477 PIXEL20_1L
1478 PIXEL21_C
1479 if (Diff(cget(6), cget(8)))
1481 PIXEL22_1M
1483 else
1485 PIXEL22_2
1487 break;
1489 case 89:
1491 PIXEL00_1U
1492 PIXEL01_1
1493 PIXEL02_1M
1494 PIXEL10_C
1495 PIXEL11
1496 PIXEL12_C
1497 if (Diff(cget(8), cget(4)))
1499 PIXEL20_1M
1501 else
1503 PIXEL20_2
1505 PIXEL21_C
1506 if (Diff(cget(6), cget(8)))
1508 PIXEL22_1M
1510 else
1512 PIXEL22_2
1514 break;
1516 case 90:
1518 if (Diff(cget(4), cget(2)))
1520 PIXEL00_1M
1522 else
1524 PIXEL00_2
1526 PIXEL01_C
1527 if (Diff(cget(2), cget(6)))
1529 PIXEL02_1M
1531 else
1533 PIXEL02_2
1535 PIXEL10_C
1536 PIXEL11
1537 PIXEL12_C
1538 if (Diff(cget(8), cget(4)))
1540 PIXEL20_1M
1542 else
1544 PIXEL20_2
1546 PIXEL21_C
1547 if (Diff(cget(6), cget(8)))
1549 PIXEL22_1M
1551 else
1553 PIXEL22_2
1555 break;
1557 case 55:
1558 case 23:
1560 if (Diff(cget(2), cget(6)))
1562 PIXEL00_1L
1563 PIXEL01_C
1564 PIXEL02_C
1565 PIXEL12_C
1567 else
1569 PIXEL00_2
1570 PIXEL01_6
1571 PIXEL02_5
1572 PIXEL12_1
1574 PIXEL10_1
1575 PIXEL11
1576 PIXEL20_2
1577 PIXEL21_1
1578 PIXEL22_1M
1579 break;
1581 case 182:
1582 case 150:
1584 if (Diff(cget(2), cget(6)))
1586 PIXEL01_C
1587 PIXEL02_C
1588 PIXEL12_C
1589 PIXEL22_1D
1591 else
1593 PIXEL01_1
1594 PIXEL02_5
1595 PIXEL12_6
1596 PIXEL22_2
1598 PIXEL00_1M
1599 PIXEL10_1
1600 PIXEL11
1601 PIXEL20_2
1602 PIXEL21_1
1603 break;
1605 case 213:
1606 case 212:
1608 if (Diff(cget(6), cget(8)))
1610 PIXEL02_1U
1611 PIXEL12_C
1612 PIXEL21_C
1613 PIXEL22_C
1615 else
1617 PIXEL02_2
1618 PIXEL12_6
1619 PIXEL21_1
1620 PIXEL22_5
1622 PIXEL00_2
1623 PIXEL01_1
1624 PIXEL10_1
1625 PIXEL11
1626 PIXEL20_1M
1627 break;
1629 case 241:
1630 case 240:
1632 if (Diff(cget(6), cget(8)))
1634 PIXEL12_C
1635 PIXEL20_1L
1636 PIXEL21_C
1637 PIXEL22_C
1639 else
1641 PIXEL12_1
1642 PIXEL20_2
1643 PIXEL21_6
1644 PIXEL22_5
1646 PIXEL00_2
1647 PIXEL01_1
1648 PIXEL02_1M
1649 PIXEL10_1
1650 PIXEL11
1651 break;
1653 case 236:
1654 case 232:
1656 if (Diff(cget(8), cget(4)))
1658 PIXEL10_C
1659 PIXEL20_C
1660 PIXEL21_C
1661 PIXEL22_1R
1663 else
1665 PIXEL10_1
1666 PIXEL20_5
1667 PIXEL21_6
1668 PIXEL22_2
1670 PIXEL00_1M
1671 PIXEL01_1
1672 PIXEL02_2
1673 PIXEL11
1674 PIXEL12_1
1675 break;
1677 case 109:
1678 case 105:
1680 if (Diff(cget(8), cget(4)))
1682 PIXEL00_1U
1683 PIXEL10_C
1684 PIXEL20_C
1685 PIXEL21_C
1687 else
1689 PIXEL00_2
1690 PIXEL10_6
1691 PIXEL20_5
1692 PIXEL21_1
1694 PIXEL01_1
1695 PIXEL02_2
1696 PIXEL11
1697 PIXEL12_1
1698 PIXEL22_1M
1699 break;
1701 case 171:
1702 case 43:
1704 if (Diff(cget(4), cget(2)))
1706 PIXEL00_C
1707 PIXEL01_C
1708 PIXEL10_C
1709 PIXEL20_1D
1711 else
1713 PIXEL00_5
1714 PIXEL01_1
1715 PIXEL10_6
1716 PIXEL20_2
1718 PIXEL02_1M
1719 PIXEL11
1720 PIXEL12_1
1721 PIXEL21_1
1722 PIXEL22_2
1723 break;
1725 case 143:
1726 case 15:
1728 if (Diff(cget(4), cget(2)))
1730 PIXEL00_C
1731 PIXEL01_C
1732 PIXEL02_1R
1733 PIXEL10_C
1735 else
1737 PIXEL00_5
1738 PIXEL01_6
1739 PIXEL02_2
1740 PIXEL10_1
1742 PIXEL11
1743 PIXEL12_1
1744 PIXEL20_1M
1745 PIXEL21_1
1746 PIXEL22_2
1747 break;
1749 case 124:
1751 PIXEL00_1M
1752 PIXEL01_1
1753 PIXEL02_1U
1754 PIXEL11
1755 PIXEL12_C
1756 if (Diff(cget(8), cget(4)))
1758 PIXEL10_C
1759 PIXEL20_C
1760 PIXEL21_C
1762 else
1764 PIXEL10_3
1765 PIXEL20_4
1766 PIXEL21_3
1768 PIXEL22_1M
1769 break;
1771 case 203:
1773 if (Diff(cget(4), cget(2)))
1775 PIXEL00_C
1776 PIXEL01_C
1777 PIXEL10_C
1779 else
1781 PIXEL00_4
1782 PIXEL01_3
1783 PIXEL10_3
1785 PIXEL02_1M
1786 PIXEL11
1787 PIXEL12_1
1788 PIXEL20_1M
1789 PIXEL21_C
1790 PIXEL22_1R
1791 break;
1793 case 62:
1795 PIXEL00_1M
1796 if (Diff(cget(2), cget(6)))
1798 PIXEL01_C
1799 PIXEL02_C
1800 PIXEL12_C
1802 else
1804 PIXEL01_3
1805 PIXEL02_4
1806 PIXEL12_3
1808 PIXEL10_C
1809 PIXEL11
1810 PIXEL20_1D
1811 PIXEL21_1
1812 PIXEL22_1M
1813 break;
1815 case 211:
1817 PIXEL00_1L
1818 PIXEL01_C
1819 PIXEL02_1M
1820 PIXEL10_1
1821 PIXEL11
1822 PIXEL20_1M
1823 if (Diff(cget(6), cget(8)))
1825 PIXEL12_C
1826 PIXEL21_C
1827 PIXEL22_C
1829 else
1831 PIXEL12_3
1832 PIXEL21_3
1833 PIXEL22_4
1835 break;
1837 case 118:
1839 PIXEL00_1M
1840 if (Diff(cget(2), cget(6)))
1842 PIXEL01_C
1843 PIXEL02_C
1844 PIXEL12_C
1846 else
1848 PIXEL01_3
1849 PIXEL02_4
1850 PIXEL12_3
1852 PIXEL10_1
1853 PIXEL11
1854 PIXEL20_1L
1855 PIXEL21_C
1856 PIXEL22_1M
1857 break;
1859 case 217:
1861 PIXEL00_1U
1862 PIXEL01_1
1863 PIXEL02_1M
1864 PIXEL10_C
1865 PIXEL11
1866 PIXEL20_1M
1867 if (Diff(cget(6), cget(8)))
1869 PIXEL12_C
1870 PIXEL21_C
1871 PIXEL22_C
1873 else
1875 PIXEL12_3
1876 PIXEL21_3
1877 PIXEL22_4
1879 break;
1881 case 110:
1883 PIXEL00_1M
1884 PIXEL01_C
1885 PIXEL02_1R
1886 PIXEL11
1887 PIXEL12_1
1888 if (Diff(cget(8), cget(4)))
1890 PIXEL10_C
1891 PIXEL20_C
1892 PIXEL21_C
1894 else
1896 PIXEL10_3
1897 PIXEL20_4
1898 PIXEL21_3
1900 PIXEL22_1M
1901 break;
1903 case 155:
1905 if (Diff(cget(4), cget(2)))
1907 PIXEL00_C
1908 PIXEL01_C
1909 PIXEL10_C
1911 else
1913 PIXEL00_4
1914 PIXEL01_3
1915 PIXEL10_3
1917 PIXEL02_1M
1918 PIXEL11
1919 PIXEL12_C
1920 PIXEL20_1M
1921 PIXEL21_1
1922 PIXEL22_1D
1923 break;
1925 case 188:
1927 PIXEL00_1M
1928 PIXEL01_1
1929 PIXEL02_1U
1930 PIXEL10_C
1931 PIXEL11
1932 PIXEL12_C
1933 PIXEL20_1D
1934 PIXEL21_1
1935 PIXEL22_1D
1936 break;
1938 case 185:
1940 PIXEL00_1U
1941 PIXEL01_1
1942 PIXEL02_1M
1943 PIXEL10_C
1944 PIXEL11
1945 PIXEL12_C
1946 PIXEL20_1D
1947 PIXEL21_1
1948 PIXEL22_1D
1949 break;
1951 case 61:
1953 PIXEL00_1U
1954 PIXEL01_1
1955 PIXEL02_1U
1956 PIXEL10_C
1957 PIXEL11
1958 PIXEL12_C
1959 PIXEL20_1D
1960 PIXEL21_1
1961 PIXEL22_1M
1962 break;
1964 case 157:
1966 PIXEL00_1U
1967 PIXEL01_1
1968 PIXEL02_1U
1969 PIXEL10_C
1970 PIXEL11
1971 PIXEL12_C
1972 PIXEL20_1M
1973 PIXEL21_1
1974 PIXEL22_1D
1975 break;
1977 case 103:
1979 PIXEL00_1L
1980 PIXEL01_C
1981 PIXEL02_1R
1982 PIXEL10_1
1983 PIXEL11
1984 PIXEL12_1
1985 PIXEL20_1L
1986 PIXEL21_C
1987 PIXEL22_1M
1988 break;
1990 case 227:
1992 PIXEL00_1L
1993 PIXEL01_C
1994 PIXEL02_1M
1995 PIXEL10_1
1996 PIXEL11
1997 PIXEL12_1
1998 PIXEL20_1L
1999 PIXEL21_C
2000 PIXEL22_1R
2001 break;
2003 case 230:
2005 PIXEL00_1M
2006 PIXEL01_C
2007 PIXEL02_1R
2008 PIXEL10_1
2009 PIXEL11
2010 PIXEL12_1
2011 PIXEL20_1L
2012 PIXEL21_C
2013 PIXEL22_1R
2014 break;
2016 case 199:
2018 PIXEL00_1L
2019 PIXEL01_C
2020 PIXEL02_1R
2021 PIXEL10_1
2022 PIXEL11
2023 PIXEL12_1
2024 PIXEL20_1M
2025 PIXEL21_C
2026 PIXEL22_1R
2027 break;
2029 case 220:
2031 PIXEL00_1M
2032 PIXEL01_1
2033 PIXEL02_1U
2034 PIXEL10_C
2035 PIXEL11
2036 if (Diff(cget(8), cget(4)))
2038 PIXEL20_1M
2040 else
2042 PIXEL20_2
2044 if (Diff(cget(6), cget(8)))
2046 PIXEL12_C
2047 PIXEL21_C
2048 PIXEL22_C
2050 else
2052 PIXEL12_3
2053 PIXEL21_3
2054 PIXEL22_4
2056 break;
2058 case 158:
2060 if (Diff(cget(4), cget(2)))
2062 PIXEL00_1M
2064 else
2066 PIXEL00_2
2068 if (Diff(cget(2), cget(6)))
2070 PIXEL01_C
2071 PIXEL02_C
2072 PIXEL12_C
2074 else
2076 PIXEL01_3
2077 PIXEL02_4
2078 PIXEL12_3
2080 PIXEL10_C
2081 PIXEL11
2082 PIXEL20_1M
2083 PIXEL21_1
2084 PIXEL22_1D
2085 break;
2087 case 234:
2089 if (Diff(cget(4), cget(2)))
2091 PIXEL00_1M
2093 else
2095 PIXEL00_2
2097 PIXEL01_C
2098 PIXEL02_1M
2099 PIXEL11
2100 PIXEL12_1
2101 if (Diff(cget(8), cget(4)))
2103 PIXEL10_C
2104 PIXEL20_C
2105 PIXEL21_C
2107 else
2109 PIXEL10_3
2110 PIXEL20_4
2111 PIXEL21_3
2113 PIXEL22_1R
2114 break;
2116 case 242:
2118 PIXEL00_1M
2119 PIXEL01_C
2120 if (Diff(cget(2), cget(6)))
2122 PIXEL02_1M
2124 else
2126 PIXEL02_2
2128 PIXEL10_1
2129 PIXEL11
2130 PIXEL20_1L
2131 if (Diff(cget(6), cget(8)))
2133 PIXEL12_C
2134 PIXEL21_C
2135 PIXEL22_C
2137 else
2139 PIXEL12_3
2140 PIXEL21_3
2141 PIXEL22_4
2143 break;
2145 case 59:
2147 if (Diff(cget(4), cget(2)))
2149 PIXEL00_C
2150 PIXEL01_C
2151 PIXEL10_C
2153 else
2155 PIXEL00_4
2156 PIXEL01_3
2157 PIXEL10_3
2159 if (Diff(cget(2), cget(6)))
2161 PIXEL02_1M
2163 else
2165 PIXEL02_2
2167 PIXEL11
2168 PIXEL12_C
2169 PIXEL20_1D
2170 PIXEL21_1
2171 PIXEL22_1M
2172 break;
2174 case 121:
2176 PIXEL00_1U
2177 PIXEL01_1
2178 PIXEL02_1M
2179 PIXEL11
2180 PIXEL12_C
2181 if (Diff(cget(8), cget(4)))
2183 PIXEL10_C
2184 PIXEL20_C
2185 PIXEL21_C
2187 else
2189 PIXEL10_3
2190 PIXEL20_4
2191 PIXEL21_3
2193 if (Diff(cget(6), cget(8)))
2195 PIXEL22_1M
2197 else
2199 PIXEL22_2
2201 break;
2203 case 87:
2205 PIXEL00_1L
2206 if (Diff(cget(2), cget(6)))
2208 PIXEL01_C
2209 PIXEL02_C
2210 PIXEL12_C
2212 else
2214 PIXEL01_3
2215 PIXEL02_4
2216 PIXEL12_3
2218 PIXEL10_1
2219 PIXEL11
2220 PIXEL20_1M
2221 PIXEL21_C
2222 if (Diff(cget(6), cget(8)))
2224 PIXEL22_1M
2226 else
2228 PIXEL22_2
2230 break;
2232 case 79:
2234 if (Diff(cget(4), cget(2)))
2236 PIXEL00_C
2237 PIXEL01_C
2238 PIXEL10_C
2240 else
2242 PIXEL00_4
2243 PIXEL01_3
2244 PIXEL10_3
2246 PIXEL02_1R
2247 PIXEL11
2248 PIXEL12_1
2249 if (Diff(cget(8), cget(4)))
2251 PIXEL20_1M
2253 else
2255 PIXEL20_2
2257 PIXEL21_C
2258 PIXEL22_1M
2259 break;
2261 case 122:
2263 if (Diff(cget(4), cget(2)))
2265 PIXEL00_1M
2267 else
2269 PIXEL00_2
2271 PIXEL01_C
2272 if (Diff(cget(2), cget(6)))
2274 PIXEL02_1M
2276 else
2278 PIXEL02_2
2280 PIXEL11
2281 PIXEL12_C
2282 if (Diff(cget(8), cget(4)))
2284 PIXEL10_C
2285 PIXEL20_C
2286 PIXEL21_C
2288 else
2290 PIXEL10_3
2291 PIXEL20_4
2292 PIXEL21_3
2294 if (Diff(cget(6), cget(8)))
2296 PIXEL22_1M
2298 else
2300 PIXEL22_2
2302 break;
2304 case 94:
2306 if (Diff(cget(4), cget(2)))
2308 PIXEL00_1M
2310 else
2312 PIXEL00_2
2314 if (Diff(cget(2), cget(6)))
2316 PIXEL01_C
2317 PIXEL02_C
2318 PIXEL12_C
2320 else
2322 PIXEL01_3
2323 PIXEL02_4
2324 PIXEL12_3
2326 PIXEL10_C
2327 PIXEL11
2328 if (Diff(cget(8), cget(4)))
2330 PIXEL20_1M
2332 else
2334 PIXEL20_2
2336 PIXEL21_C
2337 if (Diff(cget(6), cget(8)))
2339 PIXEL22_1M
2341 else
2343 PIXEL22_2
2345 break;
2347 case 218:
2349 if (Diff(cget(4), cget(2)))
2351 PIXEL00_1M
2353 else
2355 PIXEL00_2
2357 PIXEL01_C
2358 if (Diff(cget(2), cget(6)))
2360 PIXEL02_1M
2362 else
2364 PIXEL02_2
2366 PIXEL10_C
2367 PIXEL11
2368 if (Diff(cget(8), cget(4)))
2370 PIXEL20_1M
2372 else
2374 PIXEL20_2
2376 if (Diff(cget(6), cget(8)))
2378 PIXEL12_C
2379 PIXEL21_C
2380 PIXEL22_C
2382 else
2384 PIXEL12_3
2385 PIXEL21_3
2386 PIXEL22_4
2388 break;
2390 case 91:
2392 if (Diff(cget(4), cget(2)))
2394 PIXEL00_C
2395 PIXEL01_C
2396 PIXEL10_C
2398 else
2400 PIXEL00_4
2401 PIXEL01_3
2402 PIXEL10_3
2404 if (Diff(cget(2), cget(6)))
2406 PIXEL02_1M
2408 else
2410 PIXEL02_2
2412 PIXEL11
2413 PIXEL12_C
2414 if (Diff(cget(8), cget(4)))
2416 PIXEL20_1M
2418 else
2420 PIXEL20_2
2422 PIXEL21_C
2423 if (Diff(cget(6), cget(8)))
2425 PIXEL22_1M
2427 else
2429 PIXEL22_2
2431 break;
2433 case 229:
2435 PIXEL00_2
2436 PIXEL01_1
2437 PIXEL02_2
2438 PIXEL10_1
2439 PIXEL11
2440 PIXEL12_1
2441 PIXEL20_1L
2442 PIXEL21_C
2443 PIXEL22_1R
2444 break;
2446 case 167:
2448 PIXEL00_1L
2449 PIXEL01_C
2450 PIXEL02_1R
2451 PIXEL10_1
2452 PIXEL11
2453 PIXEL12_1
2454 PIXEL20_2
2455 PIXEL21_1
2456 PIXEL22_2
2457 break;
2459 case 173:
2461 PIXEL00_1U
2462 PIXEL01_1
2463 PIXEL02_2
2464 PIXEL10_C
2465 PIXEL11
2466 PIXEL12_1
2467 PIXEL20_1D
2468 PIXEL21_1
2469 PIXEL22_2
2470 break;
2472 case 181:
2474 PIXEL00_2
2475 PIXEL01_1
2476 PIXEL02_1U
2477 PIXEL10_1
2478 PIXEL11
2479 PIXEL12_C
2480 PIXEL20_2
2481 PIXEL21_1
2482 PIXEL22_1D
2483 break;
2485 case 186:
2487 if (Diff(cget(4), cget(2)))
2489 PIXEL00_1M
2491 else
2493 PIXEL00_2
2495 PIXEL01_C
2496 if (Diff(cget(2), cget(6)))
2498 PIXEL02_1M
2500 else
2502 PIXEL02_2
2504 PIXEL10_C
2505 PIXEL11
2506 PIXEL12_C
2507 PIXEL20_1D
2508 PIXEL21_1
2509 PIXEL22_1D
2510 break;
2512 case 115:
2514 PIXEL00_1L
2515 PIXEL01_C
2516 if (Diff(cget(2), cget(6)))
2518 PIXEL02_1M
2520 else
2522 PIXEL02_2
2524 PIXEL10_1
2525 PIXEL11
2526 PIXEL12_C
2527 PIXEL20_1L
2528 PIXEL21_C
2529 if (Diff(cget(6), cget(8)))
2531 PIXEL22_1M
2533 else
2535 PIXEL22_2
2537 break;
2539 case 93:
2541 PIXEL00_1U
2542 PIXEL01_1
2543 PIXEL02_1U
2544 PIXEL10_C
2545 PIXEL11
2546 PIXEL12_C
2547 if (Diff(cget(8), cget(4)))
2549 PIXEL20_1M
2551 else
2553 PIXEL20_2
2555 PIXEL21_C
2556 if (Diff(cget(6), cget(8)))
2558 PIXEL22_1M
2560 else
2562 PIXEL22_2
2564 break;
2566 case 206:
2568 if (Diff(cget(4), cget(2)))
2570 PIXEL00_1M
2572 else
2574 PIXEL00_2
2576 PIXEL01_C
2577 PIXEL02_1R
2578 PIXEL10_C
2579 PIXEL11
2580 PIXEL12_1
2581 if (Diff(cget(8), cget(4)))
2583 PIXEL20_1M
2585 else
2587 PIXEL20_2
2589 PIXEL21_C
2590 PIXEL22_1R
2591 break;
2593 case 205:
2594 case 201:
2596 PIXEL00_1U
2597 PIXEL01_1
2598 PIXEL02_2
2599 PIXEL10_C
2600 PIXEL11
2601 PIXEL12_1
2602 if (Diff(cget(8), cget(4)))
2604 PIXEL20_1M
2606 else
2608 PIXEL20_2
2610 PIXEL21_C
2611 PIXEL22_1R
2612 break;
2614 case 174:
2615 case 46:
2617 if (Diff(cget(4), cget(2)))
2619 PIXEL00_1M
2621 else
2623 PIXEL00_2
2625 PIXEL01_C
2626 PIXEL02_1R
2627 PIXEL10_C
2628 PIXEL11
2629 PIXEL12_1
2630 PIXEL20_1D
2631 PIXEL21_1
2632 PIXEL22_2
2633 break;
2635 case 179:
2636 case 147:
2638 PIXEL00_1L
2639 PIXEL01_C
2640 if (Diff(cget(2), cget(6)))
2642 PIXEL02_1M
2644 else
2646 PIXEL02_2
2648 PIXEL10_1
2649 PIXEL11
2650 PIXEL12_C
2651 PIXEL20_2
2652 PIXEL21_1
2653 PIXEL22_1D
2654 break;
2656 case 117:
2657 case 116:
2659 PIXEL00_2
2660 PIXEL01_1
2661 PIXEL02_1U
2662 PIXEL10_1
2663 PIXEL11
2664 PIXEL12_C
2665 PIXEL20_1L
2666 PIXEL21_C
2667 if (Diff(cget(6), cget(8)))
2669 PIXEL22_1M
2671 else
2673 PIXEL22_2
2675 break;
2677 case 189:
2679 PIXEL00_1U
2680 PIXEL01_1
2681 PIXEL02_1U
2682 PIXEL10_C
2683 PIXEL11
2684 PIXEL12_C
2685 PIXEL20_1D
2686 PIXEL21_1
2687 PIXEL22_1D
2688 break;
2690 case 231:
2692 PIXEL00_1L
2693 PIXEL01_C
2694 PIXEL02_1R
2695 PIXEL10_1
2696 PIXEL11
2697 PIXEL12_1
2698 PIXEL20_1L
2699 PIXEL21_C
2700 PIXEL22_1R
2701 break;
2703 case 126:
2705 PIXEL00_1M
2706 if (Diff(cget(2), cget(6)))
2708 PIXEL01_C
2709 PIXEL02_C
2710 PIXEL12_C
2712 else
2714 PIXEL01_3
2715 PIXEL02_4
2716 PIXEL12_3
2718 PIXEL11
2719 if (Diff(cget(8), cget(4)))
2721 PIXEL10_C
2722 PIXEL20_C
2723 PIXEL21_C
2725 else
2727 PIXEL10_3
2728 PIXEL20_4
2729 PIXEL21_3
2731 PIXEL22_1M
2732 break;
2734 case 219:
2736 if (Diff(cget(4), cget(2)))
2738 PIXEL00_C
2739 PIXEL01_C
2740 PIXEL10_C
2742 else
2744 PIXEL00_4
2745 PIXEL01_3
2746 PIXEL10_3
2748 PIXEL02_1M
2749 PIXEL11
2750 PIXEL20_1M
2751 if (Diff(cget(6), cget(8)))
2753 PIXEL12_C
2754 PIXEL21_C
2755 PIXEL22_C
2757 else
2759 PIXEL12_3
2760 PIXEL21_3
2761 PIXEL22_4
2763 break;
2765 case 125:
2767 if (Diff(cget(8), cget(4)))
2769 PIXEL00_1U
2770 PIXEL10_C
2771 PIXEL20_C
2772 PIXEL21_C
2774 else
2776 PIXEL00_2
2777 PIXEL10_6
2778 PIXEL20_5
2779 PIXEL21_1
2781 PIXEL01_1
2782 PIXEL02_1U
2783 PIXEL11
2784 PIXEL12_C
2785 PIXEL22_1M
2786 break;
2788 case 221:
2790 if (Diff(cget(6), cget(8)))
2792 PIXEL02_1U
2793 PIXEL12_C
2794 PIXEL21_C
2795 PIXEL22_C
2797 else
2799 PIXEL02_2
2800 PIXEL12_6
2801 PIXEL21_1
2802 PIXEL22_5
2804 PIXEL00_1U
2805 PIXEL01_1
2806 PIXEL10_C
2807 PIXEL11
2808 PIXEL20_1M
2809 break;
2811 case 207:
2813 if (Diff(cget(4), cget(2)))
2815 PIXEL00_C
2816 PIXEL01_C
2817 PIXEL02_1R
2818 PIXEL10_C
2820 else
2822 PIXEL00_5
2823 PIXEL01_6
2824 PIXEL02_2
2825 PIXEL10_1
2827 PIXEL11
2828 PIXEL12_1
2829 PIXEL20_1M
2830 PIXEL21_C
2831 PIXEL22_1R
2832 break;
2834 case 238:
2836 if (Diff(cget(8), cget(4)))
2838 PIXEL10_C
2839 PIXEL20_C
2840 PIXEL21_C
2841 PIXEL22_1R
2843 else
2845 PIXEL10_1
2846 PIXEL20_5
2847 PIXEL21_6
2848 PIXEL22_2
2850 PIXEL00_1M
2851 PIXEL01_C
2852 PIXEL02_1R
2853 PIXEL11
2854 PIXEL12_1
2855 break;
2857 case 190:
2859 if (Diff(cget(2), cget(6)))
2861 PIXEL01_C
2862 PIXEL02_C
2863 PIXEL12_C
2864 PIXEL22_1D
2866 else
2868 PIXEL01_1
2869 PIXEL02_5
2870 PIXEL12_6
2871 PIXEL22_2
2873 PIXEL00_1M
2874 PIXEL10_C
2875 PIXEL11
2876 PIXEL20_1D
2877 PIXEL21_1
2878 break;
2880 case 187:
2882 if (Diff(cget(4), cget(2)))
2884 PIXEL00_C
2885 PIXEL01_C
2886 PIXEL10_C
2887 PIXEL20_1D
2889 else
2891 PIXEL00_5
2892 PIXEL01_1
2893 PIXEL10_6
2894 PIXEL20_2
2896 PIXEL02_1M
2897 PIXEL11
2898 PIXEL12_C
2899 PIXEL21_1
2900 PIXEL22_1D
2901 break;
2903 case 243:
2905 if (Diff(cget(6), cget(8)))
2907 PIXEL12_C
2908 PIXEL20_1L
2909 PIXEL21_C
2910 PIXEL22_C
2912 else
2914 PIXEL12_1
2915 PIXEL20_2
2916 PIXEL21_6
2917 PIXEL22_5
2919 PIXEL00_1L
2920 PIXEL01_C
2921 PIXEL02_1M
2922 PIXEL10_1
2923 PIXEL11
2924 break;
2926 case 119:
2928 if (Diff(cget(2), cget(6)))
2930 PIXEL00_1L
2931 PIXEL01_C
2932 PIXEL02_C
2933 PIXEL12_C
2935 else
2937 PIXEL00_2
2938 PIXEL01_6
2939 PIXEL02_5
2940 PIXEL12_1
2942 PIXEL10_1
2943 PIXEL11
2944 PIXEL20_1L
2945 PIXEL21_C
2946 PIXEL22_1M
2947 break;
2949 case 237:
2950 case 233:
2952 PIXEL00_1U
2953 PIXEL01_1
2954 PIXEL02_2
2955 PIXEL10_C
2956 PIXEL11
2957 PIXEL12_1
2958 if (Diff(cget(8), cget(4)))
2960 PIXEL20_C
2962 else
2964 PIXEL20_2
2966 PIXEL21_C
2967 PIXEL22_1R
2968 break;
2970 case 175:
2971 case 47:
2973 if (Diff(cget(4), cget(2)))
2975 PIXEL00_C
2977 else
2979 PIXEL00_2
2981 PIXEL01_C
2982 PIXEL02_1R
2983 PIXEL10_C
2984 PIXEL11
2985 PIXEL12_1
2986 PIXEL20_1D
2987 PIXEL21_1
2988 PIXEL22_2
2989 break;
2991 case 183:
2992 case 151:
2994 PIXEL00_1L
2995 PIXEL01_C
2996 if (Diff(cget(2), cget(6)))
2998 PIXEL02_C
3000 else
3002 PIXEL02_2
3004 PIXEL10_1
3005 PIXEL11
3006 PIXEL12_C
3007 PIXEL20_2
3008 PIXEL21_1
3009 PIXEL22_1D
3010 break;
3012 case 245:
3013 case 244:
3015 PIXEL00_2
3016 PIXEL01_1
3017 PIXEL02_1U
3018 PIXEL10_1
3019 PIXEL11
3020 PIXEL12_C
3021 PIXEL20_1L
3022 PIXEL21_C
3023 if (Diff(cget(6), cget(8)))
3025 PIXEL22_C
3027 else
3029 PIXEL22_2
3031 break;
3033 case 250:
3035 PIXEL00_1M
3036 PIXEL01_C
3037 PIXEL02_1M
3038 PIXEL11
3039 if (Diff(cget(8), cget(4)))
3041 PIXEL10_C
3042 PIXEL20_C
3044 else
3046 PIXEL10_3
3047 PIXEL20_4
3049 PIXEL21_C
3050 if (Diff(cget(6), cget(8)))
3052 PIXEL12_C
3053 PIXEL22_C
3055 else
3057 PIXEL12_3
3058 PIXEL22_4
3060 break;
3062 case 123:
3064 if (Diff(cget(4), cget(2)))
3066 PIXEL00_C
3067 PIXEL01_C
3069 else
3071 PIXEL00_4
3072 PIXEL01_3
3074 PIXEL02_1M
3075 PIXEL10_C
3076 PIXEL11
3077 PIXEL12_C
3078 if (Diff(cget(8), cget(4)))
3080 PIXEL20_C
3081 PIXEL21_C
3083 else
3085 PIXEL20_4
3086 PIXEL21_3
3088 PIXEL22_1M
3089 break;
3091 case 95:
3093 if (Diff(cget(4), cget(2)))
3095 PIXEL00_C
3096 PIXEL10_C
3098 else
3100 PIXEL00_4
3101 PIXEL10_3
3103 PIXEL01_C
3104 if (Diff(cget(2), cget(6)))
3106 PIXEL02_C
3107 PIXEL12_C
3109 else
3111 PIXEL02_4
3112 PIXEL12_3
3114 PIXEL11
3115 PIXEL20_1M
3116 PIXEL21_C
3117 PIXEL22_1M
3118 break;
3120 case 222:
3122 PIXEL00_1M
3123 if (Diff(cget(2), cget(6)))
3125 PIXEL01_C
3126 PIXEL02_C
3128 else
3130 PIXEL01_3
3131 PIXEL02_4
3133 PIXEL10_C
3134 PIXEL11
3135 PIXEL12_C
3136 PIXEL20_1M
3137 if (Diff(cget(6), cget(8)))
3139 PIXEL21_C
3140 PIXEL22_C
3142 else
3144 PIXEL21_3
3145 PIXEL22_4
3147 break;
3149 case 252:
3151 PIXEL00_1M
3152 PIXEL01_1
3153 PIXEL02_1U
3154 PIXEL11
3155 PIXEL12_C
3156 if (Diff(cget(8), cget(4)))
3158 PIXEL10_C
3159 PIXEL20_C
3161 else
3163 PIXEL10_3
3164 PIXEL20_4
3166 PIXEL21_C
3167 if (Diff(cget(6), cget(8)))
3169 PIXEL22_C
3171 else
3173 PIXEL22_2
3175 break;
3177 case 249:
3179 PIXEL00_1U
3180 PIXEL01_1
3181 PIXEL02_1M
3182 PIXEL10_C
3183 PIXEL11
3184 if (Diff(cget(8), cget(4)))
3186 PIXEL20_C
3188 else
3190 PIXEL20_2
3192 PIXEL21_C
3193 if (Diff(cget(6), cget(8)))
3195 PIXEL12_C
3196 PIXEL22_C
3198 else
3200 PIXEL12_3
3201 PIXEL22_4
3203 break;
3205 case 235:
3207 if (Diff(cget(4), cget(2)))
3209 PIXEL00_C
3210 PIXEL01_C
3212 else
3214 PIXEL00_4
3215 PIXEL01_3
3217 PIXEL02_1M
3218 PIXEL10_C
3219 PIXEL11
3220 PIXEL12_1
3221 if (Diff(cget(8), cget(4)))
3223 PIXEL20_C
3225 else
3227 PIXEL20_2
3229 PIXEL21_C
3230 PIXEL22_1R
3231 break;
3233 case 111:
3235 if (Diff(cget(4), cget(2)))
3237 PIXEL00_C
3239 else
3241 PIXEL00_2
3243 PIXEL01_C
3244 PIXEL02_1R
3245 PIXEL10_C
3246 PIXEL11
3247 PIXEL12_1
3248 if (Diff(cget(8), cget(4)))
3250 PIXEL20_C
3251 PIXEL21_C
3253 else
3255 PIXEL20_4
3256 PIXEL21_3
3258 PIXEL22_1M
3259 break;
3261 case 63:
3263 if (Diff(cget(4), cget(2)))
3265 PIXEL00_C
3267 else
3269 PIXEL00_2
3271 PIXEL01_C
3272 if (Diff(cget(2), cget(6)))
3274 PIXEL02_C
3275 PIXEL12_C
3277 else
3279 PIXEL02_4
3280 PIXEL12_3
3282 PIXEL10_C
3283 PIXEL11
3284 PIXEL20_1D
3285 PIXEL21_1
3286 PIXEL22_1M
3287 break;
3289 case 159:
3291 if (Diff(cget(4), cget(2)))
3293 PIXEL00_C
3294 PIXEL10_C
3296 else
3298 PIXEL00_4
3299 PIXEL10_3
3301 PIXEL01_C
3302 if (Diff(cget(2), cget(6)))
3304 PIXEL02_C
3306 else
3308 PIXEL02_2
3310 PIXEL11
3311 PIXEL12_C
3312 PIXEL20_1M
3313 PIXEL21_1
3314 PIXEL22_1D
3315 break;
3317 case 215:
3319 PIXEL00_1L
3320 PIXEL01_C
3321 if (Diff(cget(2), cget(6)))
3323 PIXEL02_C
3325 else
3327 PIXEL02_2
3329 PIXEL10_1
3330 PIXEL11
3331 PIXEL12_C
3332 PIXEL20_1M
3333 if (Diff(cget(6), cget(8)))
3335 PIXEL21_C
3336 PIXEL22_C
3338 else
3340 PIXEL21_3
3341 PIXEL22_4
3343 break;
3345 case 246:
3347 PIXEL00_1M
3348 if (Diff(cget(2), cget(6)))
3350 PIXEL01_C
3351 PIXEL02_C
3353 else
3355 PIXEL01_3
3356 PIXEL02_4
3358 PIXEL10_1
3359 PIXEL11
3360 PIXEL12_C
3361 PIXEL20_1L
3362 PIXEL21_C
3363 if (Diff(cget(6), cget(8)))
3365 PIXEL22_C
3367 else
3369 PIXEL22_2
3371 break;
3373 case 254:
3375 PIXEL00_1M
3376 if (Diff(cget(2), cget(6)))
3378 PIXEL01_C
3379 PIXEL02_C
3381 else
3383 PIXEL01_3
3384 PIXEL02_4
3386 PIXEL11
3387 if (Diff(cget(8), cget(4)))
3389 PIXEL10_C
3390 PIXEL20_C
3392 else
3394 PIXEL10_3
3395 PIXEL20_4
3397 if (Diff(cget(6), cget(8)))
3399 PIXEL12_C
3400 PIXEL21_C
3401 PIXEL22_C
3403 else
3405 PIXEL12_3
3406 PIXEL21_3
3407 PIXEL22_2
3409 break;
3411 case 253:
3413 PIXEL00_1U
3414 PIXEL01_1
3415 PIXEL02_1U
3416 PIXEL10_C
3417 PIXEL11
3418 PIXEL12_C
3419 if (Diff(cget(8), cget(4)))
3421 PIXEL20_C
3423 else
3425 PIXEL20_2
3427 PIXEL21_C
3428 if (Diff(cget(6), cget(8)))
3430 PIXEL22_C
3432 else
3434 PIXEL22_2
3436 break;
3438 case 251:
3440 if (Diff(cget(4), cget(2)))
3442 PIXEL00_C
3443 PIXEL01_C
3445 else
3447 PIXEL00_4
3448 PIXEL01_3
3450 PIXEL02_1M
3451 PIXEL11
3452 if (Diff(cget(8), cget(4)))
3454 PIXEL10_C
3455 PIXEL20_C
3456 PIXEL21_C
3458 else
3460 PIXEL10_3
3461 PIXEL20_2
3462 PIXEL21_3
3464 if (Diff(cget(6), cget(8)))
3466 PIXEL12_C
3467 PIXEL22_C
3469 else
3471 PIXEL12_3
3472 PIXEL22_4
3474 break;
3476 case 239:
3478 if (Diff(cget(4), cget(2)))
3480 PIXEL00_C
3482 else
3484 PIXEL00_2
3486 PIXEL01_C
3487 PIXEL02_1R
3488 PIXEL10_C
3489 PIXEL11
3490 PIXEL12_1
3491 if (Diff(cget(8), cget(4)))
3493 PIXEL20_C
3495 else
3497 PIXEL20_2
3499 PIXEL21_C
3500 PIXEL22_1R
3501 break;
3503 case 127:
3505 if (Diff(cget(4), cget(2)))
3507 PIXEL00_C
3508 PIXEL01_C
3509 PIXEL10_C
3511 else
3513 PIXEL00_2
3514 PIXEL01_3
3515 PIXEL10_3
3517 if (Diff(cget(2), cget(6)))
3519 PIXEL02_C
3520 PIXEL12_C
3522 else
3524 PIXEL02_4
3525 PIXEL12_3
3527 PIXEL11
3528 if (Diff(cget(8), cget(4)))
3530 PIXEL20_C
3531 PIXEL21_C
3533 else
3535 PIXEL20_4
3536 PIXEL21_3
3538 PIXEL22_1M
3539 break;
3541 case 191:
3543 if (Diff(cget(4), cget(2)))
3545 PIXEL00_C
3547 else
3549 PIXEL00_2
3551 PIXEL01_C
3552 if (Diff(cget(2), cget(6)))
3554 PIXEL02_C
3556 else
3558 PIXEL02_2
3560 PIXEL10_C
3561 PIXEL11
3562 PIXEL12_C
3563 PIXEL20_1D
3564 PIXEL21_1
3565 PIXEL22_1D
3566 break;
3568 case 223:
3570 if (Diff(cget(4), cget(2)))
3572 PIXEL00_C
3573 PIXEL10_C
3575 else
3577 PIXEL00_4
3578 PIXEL10_3
3580 if (Diff(cget(2), cget(6)))
3582 PIXEL01_C
3583 PIXEL02_C
3584 PIXEL12_C
3586 else
3588 PIXEL01_3
3589 PIXEL02_2
3590 PIXEL12_3
3592 PIXEL11
3593 PIXEL20_1M
3594 if (Diff(cget(6), cget(8)))
3596 PIXEL21_C
3597 PIXEL22_C
3599 else
3601 PIXEL21_3
3602 PIXEL22_4
3604 break;
3606 case 247:
3608 PIXEL00_1L
3609 PIXEL01_C
3610 if (Diff(cget(2), cget(6)))
3612 PIXEL02_C
3614 else
3616 PIXEL02_2
3618 PIXEL10_1
3619 PIXEL11
3620 PIXEL12_C
3621 PIXEL20_1L
3622 PIXEL21_C
3623 if (Diff(cget(6), cget(8)))
3625 PIXEL22_C
3627 else
3629 PIXEL22_2
3631 break;
3633 case 255:
3635 if (Diff(cget(4), cget(2)))
3637 PIXEL00_C
3639 else
3641 PIXEL00_2
3643 PIXEL01_C
3644 if (Diff(cget(2), cget(6)))
3646 PIXEL02_C
3648 else
3650 PIXEL02_2
3652 PIXEL10_C
3653 PIXEL11
3654 PIXEL12_C
3655 if (Diff(cget(8), cget(4)))
3657 PIXEL20_C
3659 else
3661 PIXEL20_2
3663 PIXEL21_C
3664 if (Diff(cget(6), cget(8)))
3666 PIXEL22_C
3668 else
3670 PIXEL22_2
3672 break;