Mercurial > vba-clojure
comparison 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 |
comparison
equal
deleted
inserted
replaced
0:8ced16adf2e1 | 1:f9f4f1b99eed |
---|---|
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]; | |
8 | |
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]; | |
13 | |
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]; | |
21 | |
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]; | |
26 | |
27 #define PIXEL11 *((PIXELTYPE*)(pOut+dstPitch+SIZE_PIXEL)) = c[5]; | |
28 | |
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]; | |
33 | |
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]; | |
41 | |
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]; | |
46 | |
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]; | |
54 | |
55 #ifndef cget | |
56 #define cget(x) c[x] | |
57 #endif | |
58 | |
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 | |
285 | |
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 | |
1000 { | |
1001 PIXEL01_3 | |
1002 PIXEL02_4 | |
1003 PIXEL12_3 | |
1004 } | |
1005 PIXEL10_1 | |
1006 PIXEL11 | |
1007 PIXEL20_1M | |
1008 PIXEL21_C | |
1009 PIXEL22_1M | |
1010 break; | |
1011 } | |
1012 case 216: | |
1013 { | |
1014 PIXEL00_1M | |
1015 PIXEL01_1 | |
1016 PIXEL02_1M | |
1017 PIXEL10_C | |
1018 PIXEL11 | |
1019 PIXEL20_1M | |
1020 if (Diff(cget(6), cget(8))) | |
1021 { | |
1022 PIXEL12_C | |
1023 PIXEL21_C | |
1024 PIXEL22_C | |
1025 } | |
1026 else | |
1027 { | |
1028 PIXEL12_3 | |
1029 PIXEL21_3 | |
1030 PIXEL22_4 | |
1031 } | |
1032 break; | |
1033 } | |
1034 case 106: | |
1035 { | |
1036 PIXEL00_1M | |
1037 PIXEL01_C | |
1038 PIXEL02_1M | |
1039 PIXEL11 | |
1040 PIXEL12_1 | |
1041 if (Diff(cget(8), cget(4))) | |
1042 { | |
1043 PIXEL10_C | |
1044 PIXEL20_C | |
1045 PIXEL21_C | |
1046 } | |
1047 else | |
1048 { | |
1049 PIXEL10_3 | |
1050 PIXEL20_4 | |
1051 PIXEL21_3 | |
1052 } | |
1053 PIXEL22_1M | |
1054 break; | |
1055 } | |
1056 case 30: | |
1057 { | |
1058 PIXEL00_1M | |
1059 if (Diff(cget(2), cget(6))) | |
1060 { | |
1061 PIXEL01_C | |
1062 PIXEL02_C | |
1063 PIXEL12_C | |
1064 } | |
1065 else | |
1066 { | |
1067 PIXEL01_3 | |
1068 PIXEL02_4 | |
1069 PIXEL12_3 | |
1070 } | |
1071 PIXEL10_C | |
1072 PIXEL11 | |
1073 PIXEL20_1M | |
1074 PIXEL21_1 | |
1075 PIXEL22_1M | |
1076 break; | |
1077 } | |
1078 case 210: | |
1079 { | |
1080 PIXEL00_1M | |
1081 PIXEL01_C | |
1082 PIXEL02_1M | |
1083 PIXEL10_1 | |
1084 PIXEL11 | |
1085 PIXEL20_1M | |
1086 if (Diff(cget(6), cget(8))) | |
1087 { | |
1088 PIXEL12_C | |
1089 PIXEL21_C | |
1090 PIXEL22_C | |
1091 } | |
1092 else | |
1093 { | |
1094 PIXEL12_3 | |
1095 PIXEL21_3 | |
1096 PIXEL22_4 | |
1097 } | |
1098 break; | |
1099 } | |
1100 case 120: | |
1101 { | |
1102 PIXEL00_1M | |
1103 PIXEL01_1 | |
1104 PIXEL02_1M | |
1105 PIXEL11 | |
1106 PIXEL12_C | |
1107 if (Diff(cget(8), cget(4))) | |
1108 { | |
1109 PIXEL10_C | |
1110 PIXEL20_C | |
1111 PIXEL21_C | |
1112 } | |
1113 else | |
1114 { | |
1115 PIXEL10_3 | |
1116 PIXEL20_4 | |
1117 PIXEL21_3 | |
1118 } | |
1119 PIXEL22_1M | |
1120 break; | |
1121 } | |
1122 case 75: | |
1123 { | |
1124 if (Diff(cget(4), cget(2))) | |
1125 { | |
1126 PIXEL00_C | |
1127 PIXEL01_C | |
1128 PIXEL10_C | |
1129 } | |
1130 else | |
1131 { | |
1132 PIXEL00_4 | |
1133 PIXEL01_3 | |
1134 PIXEL10_3 | |
1135 } | |
1136 PIXEL02_1M | |
1137 PIXEL11 | |
1138 PIXEL12_1 | |
1139 PIXEL20_1M | |
1140 PIXEL21_C | |
1141 PIXEL22_1M | |
1142 break; | |
1143 } | |
1144 case 29: | |
1145 { | |
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; | |
1156 } | |
1157 case 198: | |
1158 { | |
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; | |
1169 } | |
1170 case 184: | |
1171 { | |
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; | |
1182 } | |
1183 case 99: | |
1184 { | |
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; | |
1195 } | |
1196 case 57: | |
1197 { | |
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; | |
1208 } | |
1209 case 71: | |
1210 { | |
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; | |
1221 } | |
1222 case 156: | |
1223 { | |
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; | |
1234 } | |
1235 case 226: | |
1236 { | |
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; | |
1247 } | |
1248 case 60: | |
1249 { | |
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; | |
1260 } | |
1261 case 195: | |
1262 { | |
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; | |
1273 } | |
1274 case 102: | |
1275 { | |
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; | |
1286 } | |
1287 case 153: | |
1288 { | |
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; | |
1299 } | |
1300 case 58: | |
1301 { | |
1302 if (Diff(cget(4), cget(2))) | |
1303 { | |
1304 PIXEL00_1M | |
1305 } | |
1306 else | |
1307 { | |
1308 PIXEL00_2 | |
1309 } | |
1310 PIXEL01_C | |
1311 if (Diff(cget(2), cget(6))) | |
1312 { | |
1313 PIXEL02_1M | |
1314 } | |
1315 else | |
1316 { | |
1317 PIXEL02_2 | |
1318 } | |
1319 PIXEL10_C | |
1320 PIXEL11 | |
1321 PIXEL12_C | |
1322 PIXEL20_1D | |
1323 PIXEL21_1 | |
1324 PIXEL22_1M | |
1325 break; | |
1326 } | |
1327 case 83: | |
1328 { | |
1329 PIXEL00_1L | |
1330 PIXEL01_C | |
1331 if (Diff(cget(2), cget(6))) | |
1332 { | |
1333 PIXEL02_1M | |
1334 } | |
1335 else | |
1336 { | |
1337 PIXEL02_2 | |
1338 } | |
1339 PIXEL10_1 | |
1340 PIXEL11 | |
1341 PIXEL12_C | |
1342 PIXEL20_1M | |
1343 PIXEL21_C | |
1344 if (Diff(cget(6), cget(8))) | |
1345 { | |
1346 PIXEL22_1M | |
1347 } | |
1348 else | |
1349 { | |
1350 PIXEL22_2 | |
1351 } | |
1352 break; | |
1353 } | |
1354 case 92: | |
1355 { | |
1356 PIXEL00_1M | |
1357 PIXEL01_1 | |
1358 PIXEL02_1U | |
1359 PIXEL10_C | |
1360 PIXEL11 | |
1361 PIXEL12_C | |
1362 if (Diff(cget(8), cget(4))) | |
1363 { | |
1364 PIXEL20_1M | |
1365 } | |
1366 else | |
1367 { | |
1368 PIXEL20_2 | |
1369 } | |
1370 PIXEL21_C | |
1371 if (Diff(cget(6), cget(8))) | |
1372 { | |
1373 PIXEL22_1M | |
1374 } | |
1375 else | |
1376 { | |
1377 PIXEL22_2 | |
1378 } | |
1379 break; | |
1380 } | |
1381 case 202: | |
1382 { | |
1383 if (Diff(cget(4), cget(2))) | |
1384 { | |
1385 PIXEL00_1M | |
1386 } | |
1387 else | |
1388 { | |
1389 PIXEL00_2 | |
1390 } | |
1391 PIXEL01_C | |
1392 PIXEL02_1M | |
1393 PIXEL10_C | |
1394 PIXEL11 | |
1395 PIXEL12_1 | |
1396 if (Diff(cget(8), cget(4))) | |
1397 { | |
1398 PIXEL20_1M | |
1399 } | |
1400 else | |
1401 { | |
1402 PIXEL20_2 | |
1403 } | |
1404 PIXEL21_C | |
1405 PIXEL22_1R | |
1406 break; | |
1407 } | |
1408 case 78: | |
1409 { | |
1410 if (Diff(cget(4), cget(2))) | |
1411 { | |
1412 PIXEL00_1M | |
1413 } | |
1414 else | |
1415 { | |
1416 PIXEL00_2 | |
1417 } | |
1418 PIXEL01_C | |
1419 PIXEL02_1R | |
1420 PIXEL10_C | |
1421 PIXEL11 | |
1422 PIXEL12_1 | |
1423 if (Diff(cget(8), cget(4))) | |
1424 { | |
1425 PIXEL20_1M | |
1426 } | |
1427 else | |
1428 { | |
1429 PIXEL20_2 | |
1430 } | |
1431 PIXEL21_C | |
1432 PIXEL22_1M | |
1433 break; | |
1434 } | |
1435 case 154: | |
1436 { | |
1437 if (Diff(cget(4), cget(2))) | |
1438 { | |
1439 PIXEL00_1M | |
1440 } | |
1441 else | |
1442 { | |
1443 PIXEL00_2 | |
1444 } | |
1445 PIXEL01_C | |
1446 if (Diff(cget(2), cget(6))) | |
1447 { | |
1448 PIXEL02_1M | |
1449 } | |
1450 else | |
1451 { | |
1452 PIXEL02_2 | |
1453 } | |
1454 PIXEL10_C | |
1455 PIXEL11 | |
1456 PIXEL12_C | |
1457 PIXEL20_1M | |
1458 PIXEL21_1 | |
1459 PIXEL22_1D | |
1460 break; | |
1461 } | |
1462 case 114: | |
1463 { | |
1464 PIXEL00_1M | |
1465 PIXEL01_C | |
1466 if (Diff(cget(2), cget(6))) | |
1467 { | |
1468 PIXEL02_1M | |
1469 } | |
1470 else | |
1471 { | |
1472 PIXEL02_2 | |
1473 } | |
1474 PIXEL10_1 | |
1475 PIXEL11 | |
1476 PIXEL12_C | |
1477 PIXEL20_1L | |
1478 PIXEL21_C | |
1479 if (Diff(cget(6), cget(8))) | |
1480 { | |
1481 PIXEL22_1M | |
1482 } | |
1483 else | |
1484 { | |
1485 PIXEL22_2 | |
1486 } | |
1487 break; | |
1488 } | |
1489 case 89: | |
1490 { | |
1491 PIXEL00_1U | |
1492 PIXEL01_1 | |
1493 PIXEL02_1M | |
1494 PIXEL10_C | |
1495 PIXEL11 | |
1496 PIXEL12_C | |
1497 if (Diff(cget(8), cget(4))) | |
1498 { | |
1499 PIXEL20_1M | |
1500 } | |
1501 else | |
1502 { | |
1503 PIXEL20_2 | |
1504 } | |
1505 PIXEL21_C | |
1506 if (Diff(cget(6), cget(8))) | |
1507 { | |
1508 PIXEL22_1M | |
1509 } | |
1510 else | |
1511 { | |
1512 PIXEL22_2 | |
1513 } | |
1514 break; | |
1515 } | |
1516 case 90: | |
1517 { | |
1518 if (Diff(cget(4), cget(2))) | |
1519 { | |
1520 PIXEL00_1M | |
1521 } | |
1522 else | |
1523 { | |
1524 PIXEL00_2 | |
1525 } | |
1526 PIXEL01_C | |
1527 if (Diff(cget(2), cget(6))) | |
1528 { | |
1529 PIXEL02_1M | |
1530 } | |
1531 else | |
1532 { | |
1533 PIXEL02_2 | |
1534 } | |
1535 PIXEL10_C | |
1536 PIXEL11 | |
1537 PIXEL12_C | |
1538 if (Diff(cget(8), cget(4))) | |
1539 { | |
1540 PIXEL20_1M | |
1541 } | |
1542 else | |
1543 { | |
1544 PIXEL20_2 | |
1545 } | |
1546 PIXEL21_C | |
1547 if (Diff(cget(6), cget(8))) | |
1548 { | |
1549 PIXEL22_1M | |
1550 } | |
1551 else | |
1552 { | |
1553 PIXEL22_2 | |
1554 } | |
1555 break; | |
1556 } | |
1557 case 55: | |
1558 case 23: | |
1559 { | |
1560 if (Diff(cget(2), cget(6))) | |
1561 { | |
1562 PIXEL00_1L | |
1563 PIXEL01_C | |
1564 PIXEL02_C | |
1565 PIXEL12_C | |
1566 } | |
1567 else | |
1568 { | |
1569 PIXEL00_2 | |
1570 PIXEL01_6 | |
1571 PIXEL02_5 | |
1572 PIXEL12_1 | |
1573 } | |
1574 PIXEL10_1 | |
1575 PIXEL11 | |
1576 PIXEL20_2 | |
1577 PIXEL21_1 | |
1578 PIXEL22_1M | |
1579 break; | |
1580 } | |
1581 case 182: | |
1582 case 150: | |
1583 { | |
1584 if (Diff(cget(2), cget(6))) | |
1585 { | |
1586 PIXEL01_C | |
1587 PIXEL02_C | |
1588 PIXEL12_C | |
1589 PIXEL22_1D | |
1590 } | |
1591 else | |
1592 { | |
1593 PIXEL01_1 | |
1594 PIXEL02_5 | |
1595 PIXEL12_6 | |
1596 PIXEL22_2 | |
1597 } | |
1598 PIXEL00_1M | |
1599 PIXEL10_1 | |
1600 PIXEL11 | |
1601 PIXEL20_2 | |
1602 PIXEL21_1 | |
1603 break; | |
1604 } | |
1605 case 213: | |
1606 case 212: | |
1607 { | |
1608 if (Diff(cget(6), cget(8))) | |
1609 { | |
1610 PIXEL02_1U | |
1611 PIXEL12_C | |
1612 PIXEL21_C | |
1613 PIXEL22_C | |
1614 } | |
1615 else | |
1616 { | |
1617 PIXEL02_2 | |
1618 PIXEL12_6 | |
1619 PIXEL21_1 | |
1620 PIXEL22_5 | |
1621 } | |
1622 PIXEL00_2 | |
1623 PIXEL01_1 | |
1624 PIXEL10_1 | |
1625 PIXEL11 | |
1626 PIXEL20_1M | |
1627 break; | |
1628 } | |
1629 case 241: | |
1630 case 240: | |
1631 { | |
1632 if (Diff(cget(6), cget(8))) | |
1633 { | |
1634 PIXEL12_C | |
1635 PIXEL20_1L | |
1636 PIXEL21_C | |
1637 PIXEL22_C | |
1638 } | |
1639 else | |
1640 { | |
1641 PIXEL12_1 | |
1642 PIXEL20_2 | |
1643 PIXEL21_6 | |
1644 PIXEL22_5 | |
1645 } | |
1646 PIXEL00_2 | |
1647 PIXEL01_1 | |
1648 PIXEL02_1M | |
1649 PIXEL10_1 | |
1650 PIXEL11 | |
1651 break; | |
1652 } | |
1653 case 236: | |
1654 case 232: | |
1655 { | |
1656 if (Diff(cget(8), cget(4))) | |
1657 { | |
1658 PIXEL10_C | |
1659 PIXEL20_C | |
1660 PIXEL21_C | |
1661 PIXEL22_1R | |
1662 } | |
1663 else | |
1664 { | |
1665 PIXEL10_1 | |
1666 PIXEL20_5 | |
1667 PIXEL21_6 | |
1668 PIXEL22_2 | |
1669 } | |
1670 PIXEL00_1M | |
1671 PIXEL01_1 | |
1672 PIXEL02_2 | |
1673 PIXEL11 | |
1674 PIXEL12_1 | |
1675 break; | |
1676 } | |
1677 case 109: | |
1678 case 105: | |
1679 { | |
1680 if (Diff(cget(8), cget(4))) | |
1681 { | |
1682 PIXEL00_1U | |
1683 PIXEL10_C | |
1684 PIXEL20_C | |
1685 PIXEL21_C | |
1686 } | |
1687 else | |
1688 { | |
1689 PIXEL00_2 | |
1690 PIXEL10_6 | |
1691 PIXEL20_5 | |
1692 PIXEL21_1 | |
1693 } | |
1694 PIXEL01_1 | |
1695 PIXEL02_2 | |
1696 PIXEL11 | |
1697 PIXEL12_1 | |
1698 PIXEL22_1M | |
1699 break; | |
1700 } | |
1701 case 171: | |
1702 case 43: | |
1703 { | |
1704 if (Diff(cget(4), cget(2))) | |
1705 { | |
1706 PIXEL00_C | |
1707 PIXEL01_C | |
1708 PIXEL10_C | |
1709 PIXEL20_1D | |
1710 } | |
1711 else | |
1712 { | |
1713 PIXEL00_5 | |
1714 PIXEL01_1 | |
1715 PIXEL10_6 | |
1716 PIXEL20_2 | |
1717 } | |
1718 PIXEL02_1M | |
1719 PIXEL11 | |
1720 PIXEL12_1 | |
1721 PIXEL21_1 | |
1722 PIXEL22_2 | |
1723 break; | |
1724 } | |
1725 case 143: | |
1726 case 15: | |
1727 { | |
1728 if (Diff(cget(4), cget(2))) | |
1729 { | |
1730 PIXEL00_C | |
1731 PIXEL01_C | |
1732 PIXEL02_1R | |
1733 PIXEL10_C | |
1734 } | |
1735 else | |
1736 { | |
1737 PIXEL00_5 | |
1738 PIXEL01_6 | |
1739 PIXEL02_2 | |
1740 PIXEL10_1 | |
1741 } | |
1742 PIXEL11 | |
1743 PIXEL12_1 | |
1744 PIXEL20_1M | |
1745 PIXEL21_1 | |
1746 PIXEL22_2 | |
1747 break; | |
1748 } | |
1749 case 124: | |
1750 { | |
1751 PIXEL00_1M | |
1752 PIXEL01_1 | |
1753 PIXEL02_1U | |
1754 PIXEL11 | |
1755 PIXEL12_C | |
1756 if (Diff(cget(8), cget(4))) | |
1757 { | |
1758 PIXEL10_C | |
1759 PIXEL20_C | |
1760 PIXEL21_C | |
1761 } | |
1762 else | |
1763 { | |
1764 PIXEL10_3 | |
1765 PIXEL20_4 | |
1766 PIXEL21_3 | |
1767 } | |
1768 PIXEL22_1M | |
1769 break; | |
1770 } | |
1771 case 203: | |
1772 { | |
1773 if (Diff(cget(4), cget(2))) | |
1774 { | |
1775 PIXEL00_C | |
1776 PIXEL01_C | |
1777 PIXEL10_C | |
1778 } | |
1779 else | |
1780 { | |
1781 PIXEL00_4 | |
1782 PIXEL01_3 | |
1783 PIXEL10_3 | |
1784 } | |
1785 PIXEL02_1M | |
1786 PIXEL11 | |
1787 PIXEL12_1 | |
1788 PIXEL20_1M | |
1789 PIXEL21_C | |
1790 PIXEL22_1R | |
1791 break; | |
1792 } | |
1793 case 62: | |
1794 { | |
1795 PIXEL00_1M | |
1796 if (Diff(cget(2), cget(6))) | |
1797 { | |
1798 PIXEL01_C | |
1799 PIXEL02_C | |
1800 PIXEL12_C | |
1801 } | |
1802 else | |
1803 { | |
1804 PIXEL01_3 | |
1805 PIXEL02_4 | |
1806 PIXEL12_3 | |
1807 } | |
1808 PIXEL10_C | |
1809 PIXEL11 | |
1810 PIXEL20_1D | |
1811 PIXEL21_1 | |
1812 PIXEL22_1M | |
1813 break; | |
1814 } | |
1815 case 211: | |
1816 { | |
1817 PIXEL00_1L | |
1818 PIXEL01_C | |
1819 PIXEL02_1M | |
1820 PIXEL10_1 | |
1821 PIXEL11 | |
1822 PIXEL20_1M | |
1823 if (Diff(cget(6), cget(8))) | |
1824 { | |
1825 PIXEL12_C | |
1826 PIXEL21_C | |
1827 PIXEL22_C | |
1828 } | |
1829 else | |
1830 { | |
1831 PIXEL12_3 | |
1832 PIXEL21_3 | |
1833 PIXEL22_4 | |
1834 } | |
1835 break; | |
1836 } | |
1837 case 118: | |
1838 { | |
1839 PIXEL00_1M | |
1840 if (Diff(cget(2), cget(6))) | |
1841 { | |
1842 PIXEL01_C | |
1843 PIXEL02_C | |
1844 PIXEL12_C | |
1845 } | |
1846 else | |
1847 { | |
1848 PIXEL01_3 | |
1849 PIXEL02_4 | |
1850 PIXEL12_3 | |
1851 } | |
1852 PIXEL10_1 | |
1853 PIXEL11 | |
1854 PIXEL20_1L | |
1855 PIXEL21_C | |
1856 PIXEL22_1M | |
1857 break; | |
1858 } | |
1859 case 217: | |
1860 { | |
1861 PIXEL00_1U | |
1862 PIXEL01_1 | |
1863 PIXEL02_1M | |
1864 PIXEL10_C | |
1865 PIXEL11 | |
1866 PIXEL20_1M | |
1867 if (Diff(cget(6), cget(8))) | |
1868 { | |
1869 PIXEL12_C | |
1870 PIXEL21_C | |
1871 PIXEL22_C | |
1872 } | |
1873 else | |
1874 { | |
1875 PIXEL12_3 | |
1876 PIXEL21_3 | |
1877 PIXEL22_4 | |
1878 } | |
1879 break; | |
1880 } | |
1881 case 110: | |
1882 { | |
1883 PIXEL00_1M | |
1884 PIXEL01_C | |
1885 PIXEL02_1R | |
1886 PIXEL11 | |
1887 PIXEL12_1 | |
1888 if (Diff(cget(8), cget(4))) | |
1889 { | |
1890 PIXEL10_C | |
1891 PIXEL20_C | |
1892 PIXEL21_C | |
1893 } | |
1894 else | |
1895 { | |
1896 PIXEL10_3 | |
1897 PIXEL20_4 | |
1898 PIXEL21_3 | |
1899 } | |
1900 PIXEL22_1M | |
1901 break; | |
1902 } | |
1903 case 155: | |
1904 { | |
1905 if (Diff(cget(4), cget(2))) | |
1906 { | |
1907 PIXEL00_C | |
1908 PIXEL01_C | |
1909 PIXEL10_C | |
1910 } | |
1911 else | |
1912 { | |
1913 PIXEL00_4 | |
1914 PIXEL01_3 | |
1915 PIXEL10_3 | |
1916 } | |
1917 PIXEL02_1M | |
1918 PIXEL11 | |
1919 PIXEL12_C | |
1920 PIXEL20_1M | |
1921 PIXEL21_1 | |
1922 PIXEL22_1D | |
1923 break; | |
1924 } | |
1925 case 188: | |
1926 { | |
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; | |
1937 } | |
1938 case 185: | |
1939 { | |
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; | |
1950 } | |
1951 case 61: | |
1952 { | |
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; | |
1963 } | |
1964 case 157: | |
1965 { | |
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; | |
1976 } | |
1977 case 103: | |
1978 { | |
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; | |
1989 } | |
1990 case 227: | |
1991 { | |
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; | |
2002 } | |
2003 case 230: | |
2004 { | |
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; | |
2015 } | |
2016 case 199: | |
2017 { | |
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; | |
2028 } | |
2029 case 220: | |
2030 { | |
2031 PIXEL00_1M | |
2032 PIXEL01_1 | |
2033 PIXEL02_1U | |
2034 PIXEL10_C | |
2035 PIXEL11 | |
2036 if (Diff(cget(8), cget(4))) | |
2037 { | |
2038 PIXEL20_1M | |
2039 } | |
2040 else | |
2041 { | |
2042 PIXEL20_2 | |
2043 } | |
2044 if (Diff(cget(6), cget(8))) | |
2045 { | |
2046 PIXEL12_C | |
2047 PIXEL21_C | |
2048 PIXEL22_C | |
2049 } | |
2050 else | |
2051 { | |
2052 PIXEL12_3 | |
2053 PIXEL21_3 | |
2054 PIXEL22_4 | |
2055 } | |
2056 break; | |
2057 } | |
2058 case 158: | |
2059 { | |
2060 if (Diff(cget(4), cget(2))) | |
2061 { | |
2062 PIXEL00_1M | |
2063 } | |
2064 else | |
2065 { | |
2066 PIXEL00_2 | |
2067 } | |
2068 if (Diff(cget(2), cget(6))) | |
2069 { | |
2070 PIXEL01_C | |
2071 PIXEL02_C | |
2072 PIXEL12_C | |
2073 } | |
2074 else | |
2075 { | |
2076 PIXEL01_3 | |
2077 PIXEL02_4 | |
2078 PIXEL12_3 | |
2079 } | |
2080 PIXEL10_C | |
2081 PIXEL11 | |
2082 PIXEL20_1M | |
2083 PIXEL21_1 | |
2084 PIXEL22_1D | |
2085 break; | |
2086 } | |
2087 case 234: | |
2088 { | |
2089 if (Diff(cget(4), cget(2))) | |
2090 { | |
2091 PIXEL00_1M | |
2092 } | |
2093 else | |
2094 { | |
2095 PIXEL00_2 | |
2096 } | |
2097 PIXEL01_C | |
2098 PIXEL02_1M | |
2099 PIXEL11 | |
2100 PIXEL12_1 | |
2101 if (Diff(cget(8), cget(4))) | |
2102 { | |
2103 PIXEL10_C | |
2104 PIXEL20_C | |
2105 PIXEL21_C | |
2106 } | |
2107 else | |
2108 { | |
2109 PIXEL10_3 | |
2110 PIXEL20_4 | |
2111 PIXEL21_3 | |
2112 } | |
2113 PIXEL22_1R | |
2114 break; | |
2115 } | |
2116 case 242: | |
2117 { | |
2118 PIXEL00_1M | |
2119 PIXEL01_C | |
2120 if (Diff(cget(2), cget(6))) | |
2121 { | |
2122 PIXEL02_1M | |
2123 } | |
2124 else | |
2125 { | |
2126 PIXEL02_2 | |
2127 } | |
2128 PIXEL10_1 | |
2129 PIXEL11 | |
2130 PIXEL20_1L | |
2131 if (Diff(cget(6), cget(8))) | |
2132 { | |
2133 PIXEL12_C | |
2134 PIXEL21_C | |
2135 PIXEL22_C | |
2136 } | |
2137 else | |
2138 { | |
2139 PIXEL12_3 | |
2140 PIXEL21_3 | |
2141 PIXEL22_4 | |
2142 } | |
2143 break; | |
2144 } | |
2145 case 59: | |
2146 { | |
2147 if (Diff(cget(4), cget(2))) | |
2148 { | |
2149 PIXEL00_C | |
2150 PIXEL01_C | |
2151 PIXEL10_C | |
2152 } | |
2153 else | |
2154 { | |
2155 PIXEL00_4 | |
2156 PIXEL01_3 | |
2157 PIXEL10_3 | |
2158 } | |
2159 if (Diff(cget(2), cget(6))) | |
2160 { | |
2161 PIXEL02_1M | |
2162 } | |
2163 else | |
2164 { | |
2165 PIXEL02_2 | |
2166 } | |
2167 PIXEL11 | |
2168 PIXEL12_C | |
2169 PIXEL20_1D | |
2170 PIXEL21_1 | |
2171 PIXEL22_1M | |
2172 break; | |
2173 } | |
2174 case 121: | |
2175 { | |
2176 PIXEL00_1U | |
2177 PIXEL01_1 | |
2178 PIXEL02_1M | |
2179 PIXEL11 | |
2180 PIXEL12_C | |
2181 if (Diff(cget(8), cget(4))) | |
2182 { | |
2183 PIXEL10_C | |
2184 PIXEL20_C | |
2185 PIXEL21_C | |
2186 } | |
2187 else | |
2188 { | |
2189 PIXEL10_3 | |
2190 PIXEL20_4 | |
2191 PIXEL21_3 | |
2192 } | |
2193 if (Diff(cget(6), cget(8))) | |
2194 { | |
2195 PIXEL22_1M | |
2196 } | |
2197 else | |
2198 { | |
2199 PIXEL22_2 | |
2200 } | |
2201 break; | |
2202 } | |
2203 case 87: | |
2204 { | |
2205 PIXEL00_1L | |
2206 if (Diff(cget(2), cget(6))) | |
2207 { | |
2208 PIXEL01_C | |
2209 PIXEL02_C | |
2210 PIXEL12_C | |
2211 } | |
2212 else | |
2213 { | |
2214 PIXEL01_3 | |
2215 PIXEL02_4 | |
2216 PIXEL12_3 | |
2217 } | |
2218 PIXEL10_1 | |
2219 PIXEL11 | |
2220 PIXEL20_1M | |
2221 PIXEL21_C | |
2222 if (Diff(cget(6), cget(8))) | |
2223 { | |
2224 PIXEL22_1M | |
2225 } | |
2226 else | |
2227 { | |
2228 PIXEL22_2 | |
2229 } | |
2230 break; | |
2231 } | |
2232 case 79: | |
2233 { | |
2234 if (Diff(cget(4), cget(2))) | |
2235 { | |
2236 PIXEL00_C | |
2237 PIXEL01_C | |
2238 PIXEL10_C | |
2239 } | |
2240 else | |
2241 { | |
2242 PIXEL00_4 | |
2243 PIXEL01_3 | |
2244 PIXEL10_3 | |
2245 } | |
2246 PIXEL02_1R | |
2247 PIXEL11 | |
2248 PIXEL12_1 | |
2249 if (Diff(cget(8), cget(4))) | |
2250 { | |
2251 PIXEL20_1M | |
2252 } | |
2253 else | |
2254 { | |
2255 PIXEL20_2 | |
2256 } | |
2257 PIXEL21_C | |
2258 PIXEL22_1M | |
2259 break; | |
2260 } | |
2261 case 122: | |
2262 { | |
2263 if (Diff(cget(4), cget(2))) | |
2264 { | |
2265 PIXEL00_1M | |
2266 } | |
2267 else | |
2268 { | |
2269 PIXEL00_2 | |
2270 } | |
2271 PIXEL01_C | |
2272 if (Diff(cget(2), cget(6))) | |
2273 { | |
2274 PIXEL02_1M | |
2275 } | |
2276 else | |
2277 { | |
2278 PIXEL02_2 | |
2279 } | |
2280 PIXEL11 | |
2281 PIXEL12_C | |
2282 if (Diff(cget(8), cget(4))) | |
2283 { | |
2284 PIXEL10_C | |
2285 PIXEL20_C | |
2286 PIXEL21_C | |
2287 } | |
2288 else | |
2289 { | |
2290 PIXEL10_3 | |
2291 PIXEL20_4 | |
2292 PIXEL21_3 | |
2293 } | |
2294 if (Diff(cget(6), cget(8))) | |
2295 { | |
2296 PIXEL22_1M | |
2297 } | |
2298 else | |
2299 { | |
2300 PIXEL22_2 | |
2301 } | |
2302 break; | |
2303 } | |
2304 case 94: | |
2305 { | |
2306 if (Diff(cget(4), cget(2))) | |
2307 { | |
2308 PIXEL00_1M | |
2309 } | |
2310 else | |
2311 { | |
2312 PIXEL00_2 | |
2313 } | |
2314 if (Diff(cget(2), cget(6))) | |
2315 { | |
2316 PIXEL01_C | |
2317 PIXEL02_C | |
2318 PIXEL12_C | |
2319 } | |
2320 else | |
2321 { | |
2322 PIXEL01_3 | |
2323 PIXEL02_4 | |
2324 PIXEL12_3 | |
2325 } | |
2326 PIXEL10_C | |
2327 PIXEL11 | |
2328 if (Diff(cget(8), cget(4))) | |
2329 { | |
2330 PIXEL20_1M | |
2331 } | |
2332 else | |
2333 { | |
2334 PIXEL20_2 | |
2335 } | |
2336 PIXEL21_C | |
2337 if (Diff(cget(6), cget(8))) | |
2338 { | |
2339 PIXEL22_1M | |
2340 } | |
2341 else | |
2342 { | |
2343 PIXEL22_2 | |
2344 } | |
2345 break; | |
2346 } | |
2347 case 218: | |
2348 { | |
2349 if (Diff(cget(4), cget(2))) | |
2350 { | |
2351 PIXEL00_1M | |
2352 } | |
2353 else | |
2354 { | |
2355 PIXEL00_2 | |
2356 } | |
2357 PIXEL01_C | |
2358 if (Diff(cget(2), cget(6))) | |
2359 { | |
2360 PIXEL02_1M | |
2361 } | |
2362 else | |
2363 { | |
2364 PIXEL02_2 | |
2365 } | |
2366 PIXEL10_C | |
2367 PIXEL11 | |
2368 if (Diff(cget(8), cget(4))) | |
2369 { | |
2370 PIXEL20_1M | |
2371 } | |
2372 else | |
2373 { | |
2374 PIXEL20_2 | |
2375 } | |
2376 if (Diff(cget(6), cget(8))) | |
2377 { | |
2378 PIXEL12_C | |
2379 PIXEL21_C | |
2380 PIXEL22_C | |
2381 } | |
2382 else | |
2383 { | |
2384 PIXEL12_3 | |
2385 PIXEL21_3 | |
2386 PIXEL22_4 | |
2387 } | |
2388 break; | |
2389 } | |
2390 case 91: | |
2391 { | |
2392 if (Diff(cget(4), cget(2))) | |
2393 { | |
2394 PIXEL00_C | |
2395 PIXEL01_C | |
2396 PIXEL10_C | |
2397 } | |
2398 else | |
2399 { | |
2400 PIXEL00_4 | |
2401 PIXEL01_3 | |
2402 PIXEL10_3 | |
2403 } | |
2404 if (Diff(cget(2), cget(6))) | |
2405 { | |
2406 PIXEL02_1M | |
2407 } | |
2408 else | |
2409 { | |
2410 PIXEL02_2 | |
2411 } | |
2412 PIXEL11 | |
2413 PIXEL12_C | |
2414 if (Diff(cget(8), cget(4))) | |
2415 { | |
2416 PIXEL20_1M | |
2417 } | |
2418 else | |
2419 { | |
2420 PIXEL20_2 | |
2421 } | |
2422 PIXEL21_C | |
2423 if (Diff(cget(6), cget(8))) | |
2424 { | |
2425 PIXEL22_1M | |
2426 } | |
2427 else | |
2428 { | |
2429 PIXEL22_2 | |
2430 } | |
2431 break; | |
2432 } | |
2433 case 229: | |
2434 { | |
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; | |
2445 } | |
2446 case 167: | |
2447 { | |
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; | |
2458 } | |
2459 case 173: | |
2460 { | |
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; | |
2471 } | |
2472 case 181: | |
2473 { | |
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; | |
2484 } | |
2485 case 186: | |
2486 { | |
2487 if (Diff(cget(4), cget(2))) | |
2488 { | |
2489 PIXEL00_1M | |
2490 } | |
2491 else | |
2492 { | |
2493 PIXEL00_2 | |
2494 } | |
2495 PIXEL01_C | |
2496 if (Diff(cget(2), cget(6))) | |
2497 { | |
2498 PIXEL02_1M | |
2499 } | |
2500 else | |
2501 { | |
2502 PIXEL02_2 | |
2503 } | |
2504 PIXEL10_C | |
2505 PIXEL11 | |
2506 PIXEL12_C | |
2507 PIXEL20_1D | |
2508 PIXEL21_1 | |
2509 PIXEL22_1D | |
2510 break; | |
2511 } | |
2512 case 115: | |
2513 { | |
2514 PIXEL00_1L | |
2515 PIXEL01_C | |
2516 if (Diff(cget(2), cget(6))) | |
2517 { | |
2518 PIXEL02_1M | |
2519 } | |
2520 else | |
2521 { | |
2522 PIXEL02_2 | |
2523 } | |
2524 PIXEL10_1 | |
2525 PIXEL11 | |
2526 PIXEL12_C | |
2527 PIXEL20_1L | |
2528 PIXEL21_C | |
2529 if (Diff(cget(6), cget(8))) | |
2530 { | |
2531 PIXEL22_1M | |
2532 } | |
2533 else | |
2534 { | |
2535 PIXEL22_2 | |
2536 } | |
2537 break; | |
2538 } | |
2539 case 93: | |
2540 { | |
2541 PIXEL00_1U | |
2542 PIXEL01_1 | |
2543 PIXEL02_1U | |
2544 PIXEL10_C | |
2545 PIXEL11 | |
2546 PIXEL12_C | |
2547 if (Diff(cget(8), cget(4))) | |
2548 { | |
2549 PIXEL20_1M | |
2550 } | |
2551 else | |
2552 { | |
2553 PIXEL20_2 | |
2554 } | |
2555 PIXEL21_C | |
2556 if (Diff(cget(6), cget(8))) | |
2557 { | |
2558 PIXEL22_1M | |
2559 } | |
2560 else | |
2561 { | |
2562 PIXEL22_2 | |
2563 } | |
2564 break; | |
2565 } | |
2566 case 206: | |
2567 { | |
2568 if (Diff(cget(4), cget(2))) | |
2569 { | |
2570 PIXEL00_1M | |
2571 } | |
2572 else | |
2573 { | |
2574 PIXEL00_2 | |
2575 } | |
2576 PIXEL01_C | |
2577 PIXEL02_1R | |
2578 PIXEL10_C | |
2579 PIXEL11 | |
2580 PIXEL12_1 | |
2581 if (Diff(cget(8), cget(4))) | |
2582 { | |
2583 PIXEL20_1M | |
2584 } | |
2585 else | |
2586 { | |
2587 PIXEL20_2 | |
2588 } | |
2589 PIXEL21_C | |
2590 PIXEL22_1R | |
2591 break; | |
2592 } | |
2593 case 205: | |
2594 case 201: | |
2595 { | |
2596 PIXEL00_1U | |
2597 PIXEL01_1 | |
2598 PIXEL02_2 | |
2599 PIXEL10_C | |
2600 PIXEL11 | |
2601 PIXEL12_1 | |
2602 if (Diff(cget(8), cget(4))) | |
2603 { | |
2604 PIXEL20_1M | |
2605 } | |
2606 else | |
2607 { | |
2608 PIXEL20_2 | |
2609 } | |
2610 PIXEL21_C | |
2611 PIXEL22_1R | |
2612 break; | |
2613 } | |
2614 case 174: | |
2615 case 46: | |
2616 { | |
2617 if (Diff(cget(4), cget(2))) | |
2618 { | |
2619 PIXEL00_1M | |
2620 } | |
2621 else | |
2622 { | |
2623 PIXEL00_2 | |
2624 } | |
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; | |
2634 } | |
2635 case 179: | |
2636 case 147: | |
2637 { | |
2638 PIXEL00_1L | |
2639 PIXEL01_C | |
2640 if (Diff(cget(2), cget(6))) | |
2641 { | |
2642 PIXEL02_1M | |
2643 } | |
2644 else | |
2645 { | |
2646 PIXEL02_2 | |
2647 } | |
2648 PIXEL10_1 | |
2649 PIXEL11 | |
2650 PIXEL12_C | |
2651 PIXEL20_2 | |
2652 PIXEL21_1 | |
2653 PIXEL22_1D | |
2654 break; | |
2655 } | |
2656 case 117: | |
2657 case 116: | |
2658 { | |
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))) | |
2668 { | |
2669 PIXEL22_1M | |
2670 } | |
2671 else | |
2672 { | |
2673 PIXEL22_2 | |
2674 } | |
2675 break; | |
2676 } | |
2677 case 189: | |
2678 { | |
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; | |
2689 } | |
2690 case 231: | |
2691 { | |
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; | |
2702 } | |
2703 case 126: | |
2704 { | |
2705 PIXEL00_1M | |
2706 if (Diff(cget(2), cget(6))) | |
2707 { | |
2708 PIXEL01_C | |
2709 PIXEL02_C | |
2710 PIXEL12_C | |
2711 } | |
2712 else | |
2713 { | |
2714 PIXEL01_3 | |
2715 PIXEL02_4 | |
2716 PIXEL12_3 | |
2717 } | |
2718 PIXEL11 | |
2719 if (Diff(cget(8), cget(4))) | |
2720 { | |
2721 PIXEL10_C | |
2722 PIXEL20_C | |
2723 PIXEL21_C | |
2724 } | |
2725 else | |
2726 { | |
2727 PIXEL10_3 | |
2728 PIXEL20_4 | |
2729 PIXEL21_3 | |
2730 } | |
2731 PIXEL22_1M | |
2732 break; | |
2733 } | |
2734 case 219: | |
2735 { | |
2736 if (Diff(cget(4), cget(2))) | |
2737 { | |
2738 PIXEL00_C | |
2739 PIXEL01_C | |
2740 PIXEL10_C | |
2741 } | |
2742 else | |
2743 { | |
2744 PIXEL00_4 | |
2745 PIXEL01_3 | |
2746 PIXEL10_3 | |
2747 } | |
2748 PIXEL02_1M | |
2749 PIXEL11 | |
2750 PIXEL20_1M | |
2751 if (Diff(cget(6), cget(8))) | |
2752 { | |
2753 PIXEL12_C | |
2754 PIXEL21_C | |
2755 PIXEL22_C | |
2756 } | |
2757 else | |
2758 { | |
2759 PIXEL12_3 | |
2760 PIXEL21_3 | |
2761 PIXEL22_4 | |
2762 } | |
2763 break; | |
2764 } | |
2765 case 125: | |
2766 { | |
2767 if (Diff(cget(8), cget(4))) | |
2768 { | |
2769 PIXEL00_1U | |
2770 PIXEL10_C | |
2771 PIXEL20_C | |
2772 PIXEL21_C | |
2773 } | |
2774 else | |
2775 { | |
2776 PIXEL00_2 | |
2777 PIXEL10_6 | |
2778 PIXEL20_5 | |
2779 PIXEL21_1 | |
2780 } | |
2781 PIXEL01_1 | |
2782 PIXEL02_1U | |
2783 PIXEL11 | |
2784 PIXEL12_C | |
2785 PIXEL22_1M | |
2786 break; | |
2787 } | |
2788 case 221: | |
2789 { | |
2790 if (Diff(cget(6), cget(8))) | |
2791 { | |
2792 PIXEL02_1U | |
2793 PIXEL12_C | |
2794 PIXEL21_C | |
2795 PIXEL22_C | |
2796 } | |
2797 else | |
2798 { | |
2799 PIXEL02_2 | |
2800 PIXEL12_6 | |
2801 PIXEL21_1 | |
2802 PIXEL22_5 | |
2803 } | |
2804 PIXEL00_1U | |
2805 PIXEL01_1 | |
2806 PIXEL10_C | |
2807 PIXEL11 | |
2808 PIXEL20_1M | |
2809 break; | |
2810 } | |
2811 case 207: | |
2812 { | |
2813 if (Diff(cget(4), cget(2))) | |
2814 { | |
2815 PIXEL00_C | |
2816 PIXEL01_C | |
2817 PIXEL02_1R | |
2818 PIXEL10_C | |
2819 } | |
2820 else | |
2821 { | |
2822 PIXEL00_5 | |
2823 PIXEL01_6 | |
2824 PIXEL02_2 | |
2825 PIXEL10_1 | |
2826 } | |
2827 PIXEL11 | |
2828 PIXEL12_1 | |
2829 PIXEL20_1M | |
2830 PIXEL21_C | |
2831 PIXEL22_1R | |
2832 break; | |
2833 } | |
2834 case 238: | |
2835 { | |
2836 if (Diff(cget(8), cget(4))) | |
2837 { | |
2838 PIXEL10_C | |
2839 PIXEL20_C | |
2840 PIXEL21_C | |
2841 PIXEL22_1R | |
2842 } | |
2843 else | |
2844 { | |
2845 PIXEL10_1 | |
2846 PIXEL20_5 | |
2847 PIXEL21_6 | |
2848 PIXEL22_2 | |
2849 } | |
2850 PIXEL00_1M | |
2851 PIXEL01_C | |
2852 PIXEL02_1R | |
2853 PIXEL11 | |
2854 PIXEL12_1 | |
2855 break; | |
2856 } | |
2857 case 190: | |
2858 { | |
2859 if (Diff(cget(2), cget(6))) | |
2860 { | |
2861 PIXEL01_C | |
2862 PIXEL02_C | |
2863 PIXEL12_C | |
2864 PIXEL22_1D | |
2865 } | |
2866 else | |
2867 { | |
2868 PIXEL01_1 | |
2869 PIXEL02_5 | |
2870 PIXEL12_6 | |
2871 PIXEL22_2 | |
2872 } | |
2873 PIXEL00_1M | |
2874 PIXEL10_C | |
2875 PIXEL11 | |
2876 PIXEL20_1D | |
2877 PIXEL21_1 | |
2878 break; | |
2879 } | |
2880 case 187: | |
2881 { | |
2882 if (Diff(cget(4), cget(2))) | |
2883 { | |
2884 PIXEL00_C | |
2885 PIXEL01_C | |
2886 PIXEL10_C | |
2887 PIXEL20_1D | |
2888 } | |
2889 else | |
2890 { | |
2891 PIXEL00_5 | |
2892 PIXEL01_1 | |
2893 PIXEL10_6 | |
2894 PIXEL20_2 | |
2895 } | |
2896 PIXEL02_1M | |
2897 PIXEL11 | |
2898 PIXEL12_C | |
2899 PIXEL21_1 | |
2900 PIXEL22_1D | |
2901 break; | |
2902 } | |
2903 case 243: | |
2904 { | |
2905 if (Diff(cget(6), cget(8))) | |
2906 { | |
2907 PIXEL12_C | |
2908 PIXEL20_1L | |
2909 PIXEL21_C | |
2910 PIXEL22_C | |
2911 } | |
2912 else | |
2913 { | |
2914 PIXEL12_1 | |
2915 PIXEL20_2 | |
2916 PIXEL21_6 | |
2917 PIXEL22_5 | |
2918 } | |
2919 PIXEL00_1L | |
2920 PIXEL01_C | |
2921 PIXEL02_1M | |
2922 PIXEL10_1 | |
2923 PIXEL11 | |
2924 break; | |
2925 } | |
2926 case 119: | |
2927 { | |
2928 if (Diff(cget(2), cget(6))) | |
2929 { | |
2930 PIXEL00_1L | |
2931 PIXEL01_C | |
2932 PIXEL02_C | |
2933 PIXEL12_C | |
2934 } | |
2935 else | |
2936 { | |
2937 PIXEL00_2 | |
2938 PIXEL01_6 | |
2939 PIXEL02_5 | |
2940 PIXEL12_1 | |
2941 } | |
2942 PIXEL10_1 | |
2943 PIXEL11 | |
2944 PIXEL20_1L | |
2945 PIXEL21_C | |
2946 PIXEL22_1M | |
2947 break; | |
2948 } | |
2949 case 237: | |
2950 case 233: | |
2951 { | |
2952 PIXEL00_1U | |
2953 PIXEL01_1 | |
2954 PIXEL02_2 | |
2955 PIXEL10_C | |
2956 PIXEL11 | |
2957 PIXEL12_1 | |
2958 if (Diff(cget(8), cget(4))) | |
2959 { | |
2960 PIXEL20_C | |
2961 } | |
2962 else | |
2963 { | |
2964 PIXEL20_2 | |
2965 } | |
2966 PIXEL21_C | |
2967 PIXEL22_1R | |
2968 break; | |
2969 } | |
2970 case 175: | |
2971 case 47: | |
2972 { | |
2973 if (Diff(cget(4), cget(2))) | |
2974 { | |
2975 PIXEL00_C | |
2976 } | |
2977 else | |
2978 { | |
2979 PIXEL00_2 | |
2980 } | |
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; | |
2990 } | |
2991 case 183: | |
2992 case 151: | |
2993 { | |
2994 PIXEL00_1L | |
2995 PIXEL01_C | |
2996 if (Diff(cget(2), cget(6))) | |
2997 { | |
2998 PIXEL02_C | |
2999 } | |
3000 else | |
3001 { | |
3002 PIXEL02_2 | |
3003 } | |
3004 PIXEL10_1 | |
3005 PIXEL11 | |
3006 PIXEL12_C | |
3007 PIXEL20_2 | |
3008 PIXEL21_1 | |
3009 PIXEL22_1D | |
3010 break; | |
3011 } | |
3012 case 245: | |
3013 case 244: | |
3014 { | |
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))) | |
3024 { | |
3025 PIXEL22_C | |
3026 } | |
3027 else | |
3028 { | |
3029 PIXEL22_2 | |
3030 } | |
3031 break; | |
3032 } | |
3033 case 250: | |
3034 { | |
3035 PIXEL00_1M | |
3036 PIXEL01_C | |
3037 PIXEL02_1M | |
3038 PIXEL11 | |
3039 if (Diff(cget(8), cget(4))) | |
3040 { | |
3041 PIXEL10_C | |
3042 PIXEL20_C | |
3043 } | |
3044 else | |
3045 { | |
3046 PIXEL10_3 | |
3047 PIXEL20_4 | |
3048 } | |
3049 PIXEL21_C | |
3050 if (Diff(cget(6), cget(8))) | |
3051 { | |
3052 PIXEL12_C | |
3053 PIXEL22_C | |
3054 } | |
3055 else | |
3056 { | |
3057 PIXEL12_3 | |
3058 PIXEL22_4 | |
3059 } | |
3060 break; | |
3061 } | |
3062 case 123: | |
3063 { | |
3064 if (Diff(cget(4), cget(2))) | |
3065 { | |
3066 PIXEL00_C | |
3067 PIXEL01_C | |
3068 } | |
3069 else | |
3070 { | |
3071 PIXEL00_4 | |
3072 PIXEL01_3 | |
3073 } | |
3074 PIXEL02_1M | |
3075 PIXEL10_C | |
3076 PIXEL11 | |
3077 PIXEL12_C | |
3078 if (Diff(cget(8), cget(4))) | |
3079 { | |
3080 PIXEL20_C | |
3081 PIXEL21_C | |
3082 } | |
3083 else | |
3084 { | |
3085 PIXEL20_4 | |
3086 PIXEL21_3 | |
3087 } | |
3088 PIXEL22_1M | |
3089 break; | |
3090 } | |
3091 case 95: | |
3092 { | |
3093 if (Diff(cget(4), cget(2))) | |
3094 { | |
3095 PIXEL00_C | |
3096 PIXEL10_C | |
3097 } | |
3098 else | |
3099 { | |
3100 PIXEL00_4 | |
3101 PIXEL10_3 | |
3102 } | |
3103 PIXEL01_C | |
3104 if (Diff(cget(2), cget(6))) | |
3105 { | |
3106 PIXEL02_C | |
3107 PIXEL12_C | |
3108 } | |
3109 else | |
3110 { | |
3111 PIXEL02_4 | |
3112 PIXEL12_3 | |
3113 } | |
3114 PIXEL11 | |
3115 PIXEL20_1M | |
3116 PIXEL21_C | |
3117 PIXEL22_1M | |
3118 break; | |
3119 } | |
3120 case 222: | |
3121 { | |
3122 PIXEL00_1M | |
3123 if (Diff(cget(2), cget(6))) | |
3124 { | |
3125 PIXEL01_C | |
3126 PIXEL02_C | |
3127 } | |
3128 else | |
3129 { | |
3130 PIXEL01_3 | |
3131 PIXEL02_4 | |
3132 } | |
3133 PIXEL10_C | |
3134 PIXEL11 | |
3135 PIXEL12_C | |
3136 PIXEL20_1M | |
3137 if (Diff(cget(6), cget(8))) | |
3138 { | |
3139 PIXEL21_C | |
3140 PIXEL22_C | |
3141 } | |
3142 else | |
3143 { | |
3144 PIXEL21_3 | |
3145 PIXEL22_4 | |
3146 } | |
3147 break; | |
3148 } | |
3149 case 252: | |
3150 { | |
3151 PIXEL00_1M | |
3152 PIXEL01_1 | |
3153 PIXEL02_1U | |
3154 PIXEL11 | |
3155 PIXEL12_C | |
3156 if (Diff(cget(8), cget(4))) | |
3157 { | |
3158 PIXEL10_C | |
3159 PIXEL20_C | |
3160 } | |
3161 else | |
3162 { | |
3163 PIXEL10_3 | |
3164 PIXEL20_4 | |
3165 } | |
3166 PIXEL21_C | |
3167 if (Diff(cget(6), cget(8))) | |
3168 { | |
3169 PIXEL22_C | |
3170 } | |
3171 else | |
3172 { | |
3173 PIXEL22_2 | |
3174 } | |
3175 break; | |
3176 } | |
3177 case 249: | |
3178 { | |
3179 PIXEL00_1U | |
3180 PIXEL01_1 | |
3181 PIXEL02_1M | |
3182 PIXEL10_C | |
3183 PIXEL11 | |
3184 if (Diff(cget(8), cget(4))) | |
3185 { | |
3186 PIXEL20_C | |
3187 } | |
3188 else | |
3189 { | |
3190 PIXEL20_2 | |
3191 } | |
3192 PIXEL21_C | |
3193 if (Diff(cget(6), cget(8))) | |
3194 { | |
3195 PIXEL12_C | |
3196 PIXEL22_C | |
3197 } | |
3198 else | |
3199 { | |
3200 PIXEL12_3 | |
3201 PIXEL22_4 | |
3202 } | |
3203 break; | |
3204 } | |
3205 case 235: | |
3206 { | |
3207 if (Diff(cget(4), cget(2))) | |
3208 { | |
3209 PIXEL00_C | |
3210 PIXEL01_C | |
3211 } | |
3212 else | |
3213 { | |
3214 PIXEL00_4 | |
3215 PIXEL01_3 | |
3216 } | |
3217 PIXEL02_1M | |
3218 PIXEL10_C | |
3219 PIXEL11 | |
3220 PIXEL12_1 | |
3221 if (Diff(cget(8), cget(4))) | |
3222 { | |
3223 PIXEL20_C | |
3224 } | |
3225 else | |
3226 { | |
3227 PIXEL20_2 | |
3228 } | |
3229 PIXEL21_C | |
3230 PIXEL22_1R | |
3231 break; | |
3232 } | |
3233 case 111: | |
3234 { | |
3235 if (Diff(cget(4), cget(2))) | |
3236 { | |
3237 PIXEL00_C | |
3238 } | |
3239 else | |
3240 { | |
3241 PIXEL00_2 | |
3242 } | |
3243 PIXEL01_C | |
3244 PIXEL02_1R | |
3245 PIXEL10_C | |
3246 PIXEL11 | |
3247 PIXEL12_1 | |
3248 if (Diff(cget(8), cget(4))) | |
3249 { | |
3250 PIXEL20_C | |
3251 PIXEL21_C | |
3252 } | |
3253 else | |
3254 { | |
3255 PIXEL20_4 | |
3256 PIXEL21_3 | |
3257 } | |
3258 PIXEL22_1M | |
3259 break; | |
3260 } | |
3261 case 63: | |
3262 { | |
3263 if (Diff(cget(4), cget(2))) | |
3264 { | |
3265 PIXEL00_C | |
3266 } | |
3267 else | |
3268 { | |
3269 PIXEL00_2 | |
3270 } | |
3271 PIXEL01_C | |
3272 if (Diff(cget(2), cget(6))) | |
3273 { | |
3274 PIXEL02_C | |
3275 PIXEL12_C | |
3276 } | |
3277 else | |
3278 { | |
3279 PIXEL02_4 | |
3280 PIXEL12_3 | |
3281 } | |
3282 PIXEL10_C | |
3283 PIXEL11 | |
3284 PIXEL20_1D | |
3285 PIXEL21_1 | |
3286 PIXEL22_1M | |
3287 break; | |
3288 } | |
3289 case 159: | |
3290 { | |
3291 if (Diff(cget(4), cget(2))) | |
3292 { | |
3293 PIXEL00_C | |
3294 PIXEL10_C | |
3295 } | |
3296 else | |
3297 { | |
3298 PIXEL00_4 | |
3299 PIXEL10_3 | |
3300 } | |
3301 PIXEL01_C | |
3302 if (Diff(cget(2), cget(6))) | |
3303 { | |
3304 PIXEL02_C | |
3305 } | |
3306 else | |
3307 { | |
3308 PIXEL02_2 | |
3309 } | |
3310 PIXEL11 | |
3311 PIXEL12_C | |
3312 PIXEL20_1M | |
3313 PIXEL21_1 | |
3314 PIXEL22_1D | |
3315 break; | |
3316 } | |
3317 case 215: | |
3318 { | |
3319 PIXEL00_1L | |
3320 PIXEL01_C | |
3321 if (Diff(cget(2), cget(6))) | |
3322 { | |
3323 PIXEL02_C | |
3324 } | |
3325 else | |
3326 { | |
3327 PIXEL02_2 | |
3328 } | |
3329 PIXEL10_1 | |
3330 PIXEL11 | |
3331 PIXEL12_C | |
3332 PIXEL20_1M | |
3333 if (Diff(cget(6), cget(8))) | |
3334 { | |
3335 PIXEL21_C | |
3336 PIXEL22_C | |
3337 } | |
3338 else | |
3339 { | |
3340 PIXEL21_3 | |
3341 PIXEL22_4 | |
3342 } | |
3343 break; | |
3344 } | |
3345 case 246: | |
3346 { | |
3347 PIXEL00_1M | |
3348 if (Diff(cget(2), cget(6))) | |
3349 { | |
3350 PIXEL01_C | |
3351 PIXEL02_C | |
3352 } | |
3353 else | |
3354 { | |
3355 PIXEL01_3 | |
3356 PIXEL02_4 | |
3357 } | |
3358 PIXEL10_1 | |
3359 PIXEL11 | |
3360 PIXEL12_C | |
3361 PIXEL20_1L | |
3362 PIXEL21_C | |
3363 if (Diff(cget(6), cget(8))) | |
3364 { | |
3365 PIXEL22_C | |
3366 } | |
3367 else | |
3368 { | |
3369 PIXEL22_2 | |
3370 } | |
3371 break; | |
3372 } | |
3373 case 254: | |
3374 { | |
3375 PIXEL00_1M | |
3376 if (Diff(cget(2), cget(6))) | |
3377 { | |
3378 PIXEL01_C | |
3379 PIXEL02_C | |
3380 } | |
3381 else | |
3382 { | |
3383 PIXEL01_3 | |
3384 PIXEL02_4 | |
3385 } | |
3386 PIXEL11 | |
3387 if (Diff(cget(8), cget(4))) | |
3388 { | |
3389 PIXEL10_C | |
3390 PIXEL20_C | |
3391 } | |
3392 else | |
3393 { | |
3394 PIXEL10_3 | |
3395 PIXEL20_4 | |
3396 } | |
3397 if (Diff(cget(6), cget(8))) | |
3398 { | |
3399 PIXEL12_C | |
3400 PIXEL21_C | |
3401 PIXEL22_C | |
3402 } | |
3403 else | |
3404 { | |
3405 PIXEL12_3 | |
3406 PIXEL21_3 | |
3407 PIXEL22_2 | |
3408 } | |
3409 break; | |
3410 } | |
3411 case 253: | |
3412 { | |
3413 PIXEL00_1U | |
3414 PIXEL01_1 | |
3415 PIXEL02_1U | |
3416 PIXEL10_C | |
3417 PIXEL11 | |
3418 PIXEL12_C | |
3419 if (Diff(cget(8), cget(4))) | |
3420 { | |
3421 PIXEL20_C | |
3422 } | |
3423 else | |
3424 { | |
3425 PIXEL20_2 | |
3426 } | |
3427 PIXEL21_C | |
3428 if (Diff(cget(6), cget(8))) | |
3429 { | |
3430 PIXEL22_C | |
3431 } | |
3432 else | |
3433 { | |
3434 PIXEL22_2 | |
3435 } | |
3436 break; | |
3437 } | |
3438 case 251: | |
3439 { | |
3440 if (Diff(cget(4), cget(2))) | |
3441 { | |
3442 PIXEL00_C | |
3443 PIXEL01_C | |
3444 } | |
3445 else | |
3446 { | |
3447 PIXEL00_4 | |
3448 PIXEL01_3 | |
3449 } | |
3450 PIXEL02_1M | |
3451 PIXEL11 | |
3452 if (Diff(cget(8), cget(4))) | |
3453 { | |
3454 PIXEL10_C | |
3455 PIXEL20_C | |
3456 PIXEL21_C | |
3457 } | |
3458 else | |
3459 { | |
3460 PIXEL10_3 | |
3461 PIXEL20_2 | |
3462 PIXEL21_3 | |
3463 } | |
3464 if (Diff(cget(6), cget(8))) | |
3465 { | |
3466 PIXEL12_C | |
3467 PIXEL22_C | |
3468 } | |
3469 else | |
3470 { | |
3471 PIXEL12_3 | |
3472 PIXEL22_4 | |
3473 } | |
3474 break; | |
3475 } | |
3476 case 239: | |
3477 { | |
3478 if (Diff(cget(4), cget(2))) | |
3479 { | |
3480 PIXEL00_C | |
3481 } | |
3482 else | |
3483 { | |
3484 PIXEL00_2 | |
3485 } | |
3486 PIXEL01_C | |
3487 PIXEL02_1R | |
3488 PIXEL10_C | |
3489 PIXEL11 | |
3490 PIXEL12_1 | |
3491 if (Diff(cget(8), cget(4))) | |
3492 { | |
3493 PIXEL20_C | |
3494 } | |
3495 else | |
3496 { | |
3497 PIXEL20_2 | |
3498 } | |
3499 PIXEL21_C | |
3500 PIXEL22_1R | |
3501 break; | |
3502 } | |
3503 case 127: | |
3504 { | |
3505 if (Diff(cget(4), cget(2))) | |
3506 { | |
3507 PIXEL00_C | |
3508 PIXEL01_C | |
3509 PIXEL10_C | |
3510 } | |
3511 else | |
3512 { | |
3513 PIXEL00_2 | |
3514 PIXEL01_3 | |
3515 PIXEL10_3 | |
3516 } | |
3517 if (Diff(cget(2), cget(6))) | |
3518 { | |
3519 PIXEL02_C | |
3520 PIXEL12_C | |
3521 } | |
3522 else | |
3523 { | |
3524 PIXEL02_4 | |
3525 PIXEL12_3 | |
3526 } | |
3527 PIXEL11 | |
3528 if (Diff(cget(8), cget(4))) | |
3529 { | |
3530 PIXEL20_C | |
3531 PIXEL21_C | |
3532 } | |
3533 else | |
3534 { | |
3535 PIXEL20_4 | |
3536 PIXEL21_3 | |
3537 } | |
3538 PIXEL22_1M | |
3539 break; | |
3540 } | |
3541 case 191: | |
3542 { | |
3543 if (Diff(cget(4), cget(2))) | |
3544 { | |
3545 PIXEL00_C | |
3546 } | |
3547 else | |
3548 { | |
3549 PIXEL00_2 | |
3550 } | |
3551 PIXEL01_C | |
3552 if (Diff(cget(2), cget(6))) | |
3553 { | |
3554 PIXEL02_C | |
3555 } | |
3556 else | |
3557 { | |
3558 PIXEL02_2 | |
3559 } | |
3560 PIXEL10_C | |
3561 PIXEL11 | |
3562 PIXEL12_C | |
3563 PIXEL20_1D | |
3564 PIXEL21_1 | |
3565 PIXEL22_1D | |
3566 break; | |
3567 } | |
3568 case 223: | |
3569 { | |
3570 if (Diff(cget(4), cget(2))) | |
3571 { | |
3572 PIXEL00_C | |
3573 PIXEL10_C | |
3574 } | |
3575 else | |
3576 { | |
3577 PIXEL00_4 | |
3578 PIXEL10_3 | |
3579 } | |
3580 if (Diff(cget(2), cget(6))) | |
3581 { | |
3582 PIXEL01_C | |
3583 PIXEL02_C | |
3584 PIXEL12_C | |
3585 } | |
3586 else | |
3587 { | |
3588 PIXEL01_3 | |
3589 PIXEL02_2 | |
3590 PIXEL12_3 | |
3591 } | |
3592 PIXEL11 | |
3593 PIXEL20_1M | |
3594 if (Diff(cget(6), cget(8))) | |
3595 { | |
3596 PIXEL21_C | |
3597 PIXEL22_C | |
3598 } | |
3599 else | |
3600 { | |
3601 PIXEL21_3 | |
3602 PIXEL22_4 | |
3603 } | |
3604 break; | |
3605 } | |
3606 case 247: | |
3607 { | |
3608 PIXEL00_1L | |
3609 PIXEL01_C | |
3610 if (Diff(cget(2), cget(6))) | |
3611 { | |
3612 PIXEL02_C | |
3613 } | |
3614 else | |
3615 { | |
3616 PIXEL02_2 | |
3617 } | |
3618 PIXEL10_1 | |
3619 PIXEL11 | |
3620 PIXEL12_C | |
3621 PIXEL20_1L | |
3622 PIXEL21_C | |
3623 if (Diff(cget(6), cget(8))) | |
3624 { | |
3625 PIXEL22_C | |
3626 } | |
3627 else | |
3628 { | |
3629 PIXEL22_2 | |
3630 } | |
3631 break; | |
3632 } | |
3633 case 255: | |
3634 { | |
3635 if (Diff(cget(4), cget(2))) | |
3636 { | |
3637 PIXEL00_C | |
3638 } | |
3639 else | |
3640 { | |
3641 PIXEL00_2 | |
3642 } | |
3643 PIXEL01_C | |
3644 if (Diff(cget(2), cget(6))) | |
3645 { | |
3646 PIXEL02_C | |
3647 } | |
3648 else | |
3649 { | |
3650 PIXEL02_2 | |
3651 } | |
3652 PIXEL10_C | |
3653 PIXEL11 | |
3654 PIXEL12_C | |
3655 if (Diff(cget(8), cget(4))) | |
3656 { | |
3657 PIXEL20_C | |
3658 } | |
3659 else | |
3660 { | |
3661 PIXEL20_2 | |
3662 } | |
3663 PIXEL21_C | |
3664 if (Diff(cget(6), cget(8))) | |
3665 { | |
3666 PIXEL22_C | |
3667 } | |
3668 else | |
3669 { | |
3670 PIXEL22_2 | |
3671 } | |
3672 break; | |
3673 } | |
3674 } |