Mercurial > vba-clojure
view src/filters/lq2x.h @ 574:be6f46094ad0
implemented video-memory pointer logic.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 01 Sep 2012 04:05:51 -0500 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 case 0 :2 case 2 :3 case 4 :4 case 6 :5 case 8 :6 case 12 :7 case 16 :8 case 20 :9 case 24 :10 case 28 :11 case 32 :12 case 34 :13 case 36 :14 case 38 :15 case 40 :16 case 44 :17 case 48 :18 case 52 :19 case 56 :20 case 60 :21 case 64 :22 case 66 :23 case 68 :24 case 70 :25 case 96 :26 case 98 :27 case 100 :28 case 102 :29 case 128 :30 case 130 :31 case 132 :32 case 134 :33 case 136 :34 case 140 :35 case 144 :36 case 148 :37 case 152 :38 case 156 :39 case 160 :40 case 162 :41 case 164 :42 case 166 :43 case 168 :44 case 172 :45 case 176 :46 case 180 :47 case 184 :48 case 188 :49 case 192 :50 case 194 :51 case 196 :52 case 198 :53 case 224 :54 case 226 :55 case 228 :56 case 230 :57 {58 P0 = IC(0);59 P1 = IC(0);60 P2 = IC(0);61 P3 = IC(0);62 } break;63 case 1 :64 case 5 :65 case 9 :66 case 13 :67 case 17 :68 case 21 :69 case 25 :70 case 29 :71 case 33 :72 case 37 :73 case 41 :74 case 45 :75 case 49 :76 case 53 :77 case 57 :78 case 61 :79 case 65 :80 case 69 :81 case 97 :82 case 101 :83 case 129 :84 case 133 :85 case 137 :86 case 141 :87 case 145 :88 case 149 :89 case 153 :90 case 157 :91 case 161 :92 case 165 :93 case 169 :94 case 173 :95 case 177 :96 case 181 :97 case 185 :98 case 189 :99 case 193 :100 case 197 :101 case 225 :102 case 229 :103 {104 P0 = IC(1);105 P1 = IC(1);106 P2 = IC(1);107 P3 = IC(1);108 } break;109 case 3 :110 case 35 :111 case 67 :112 case 99 :113 case 131 :114 case 163 :115 case 195 :116 case 227 :117 {118 P0 = IC(2);119 P1 = IC(2);120 P2 = IC(2);121 P3 = IC(2);122 } break;123 case 7 :124 case 39 :125 case 71 :126 case 103 :127 case 135 :128 case 167 :129 case 199 :130 case 231 :131 {132 P0 = IC(3);133 P1 = IC(3);134 P2 = IC(3);135 P3 = IC(3);136 } break;137 case 10 :138 case 138 :139 {140 P1 = IC(0);141 P2 = IC(0);142 P3 = IC(0);143 if (MUL) {144 P0 = IC(0);145 } else {146 P0 = I211(0, 1, 3);147 }148 } break;149 case 11 :150 case 27 :151 case 75 :152 case 139 :153 case 155 :154 case 203 :155 {156 P1 = IC(2);157 P2 = IC(2);158 P3 = IC(2);159 if (MUL) {160 P0 = IC(2);161 } else {162 P0 = I211(2, 1, 3);163 }164 } break;165 case 14 :166 case 142 :167 {168 P2 = IC(0);169 P3 = IC(0);170 if (MUL) {171 P0 = IC(0);172 P1 = IC(0);173 } else {174 P0 = I332(1, 3, 0);175 P1 = I31(0, 1);176 }177 } break;178 case 15 :179 case 143 :180 case 207 :181 {182 P2 = IC(4);183 P3 = IC(4);184 if (MUL) {185 P0 = IC(4);186 P1 = IC(4);187 } else {188 P0 = I332(1, 3, 4);189 P1 = I31(4, 1);190 }191 } break;192 case 18 :193 case 22 :194 case 30 :195 case 50 :196 case 54 :197 case 62 :198 case 86 :199 case 118 :200 {201 P0 = IC(0);202 P2 = IC(0);203 P3 = IC(0);204 if (MUR) {205 P1 = IC(0);206 } else {207 P1 = I211(0, 1, 5);208 }209 } break;210 case 19 :211 case 51 :212 {213 P2 = IC(2);214 P3 = IC(2);215 if (MUR) {216 P0 = IC(2);217 P1 = IC(2);218 } else {219 P0 = I31(2, 1);220 P1 = I332(1, 5, 2);221 }222 } break;223 case 23 :224 case 55 :225 case 119 :226 {227 P2 = IC(3);228 P3 = IC(3);229 if (MUR) {230 P0 = IC(3);231 P1 = IC(3);232 } else {233 P0 = I31(3, 1);234 P1 = I332(1, 5, 3);235 }236 } break;237 case 26 :238 {239 P2 = IC(0);240 P3 = IC(0);241 if (MUL) {242 P0 = IC(0);243 } else {244 P0 = I211(0, 1, 3);245 }246 if (MUR) {247 P1 = IC(0);248 } else {249 P1 = I211(0, 1, 5);250 }251 } break;252 case 31 :253 case 95 :254 {255 P2 = IC(4);256 P3 = IC(4);257 if (MUL) {258 P0 = IC(4);259 } else {260 P0 = I211(4, 1, 3);261 }262 if (MUR) {263 P1 = IC(4);264 } else {265 P1 = I211(4, 1, 5);266 }267 } break;268 case 42 :269 case 170 :270 {271 P1 = IC(0);272 P3 = IC(0);273 if (MUL) {274 P0 = IC(0);275 P2 = IC(0);276 } else {277 P0 = I332(1, 3, 0);278 P2 = I31(0, 3);279 }280 } break;281 case 43 :282 case 171 :283 case 187 :284 {285 P1 = IC(2);286 P3 = IC(2);287 if (MUL) {288 P0 = IC(2);289 P2 = IC(2);290 } else {291 P0 = I332(1, 3, 2);292 P2 = I31(2, 3);293 }294 } break;295 case 46 :296 case 174 :297 {298 P1 = IC(0);299 P2 = IC(0);300 P3 = IC(0);301 if (MUL) {302 P0 = IC(0);303 } else {304 P0 = I611(0, 1, 3);305 }306 } break;307 case 47 :308 case 175 :309 {310 P1 = IC(4);311 P2 = IC(4);312 P3 = IC(4);313 if (MUL) {314 P0 = IC(4);315 } else {316 P0 = I1411(4, 1, 3);317 }318 } break;319 case 58 :320 case 154 :321 case 186 :322 {323 P2 = IC(0);324 P3 = IC(0);325 if (MUL) {326 P0 = IC(0);327 } else {328 P0 = I611(0, 1, 3);329 }330 if (MUR) {331 P1 = IC(0);332 } else {333 P1 = I611(0, 1, 5);334 }335 } break;336 case 59 :337 {338 P2 = IC(2);339 P3 = IC(2);340 if (MUL) {341 P0 = IC(2);342 } else {343 P0 = I211(2, 1, 3);344 }345 if (MUR) {346 P1 = IC(2);347 } else {348 P1 = I611(2, 1, 5);349 }350 } break;351 case 63 :352 {353 P2 = IC(4);354 P3 = IC(4);355 if (MUL) {356 P0 = IC(4);357 } else {358 P0 = I1411(4, 1, 3);359 }360 if (MUR) {361 P1 = IC(4);362 } else {363 P1 = I211(4, 1, 5);364 }365 } break;366 case 72 :367 case 76 :368 case 104 :369 case 106 :370 case 108 :371 case 110 :372 case 120 :373 case 124 :374 {375 P0 = IC(0);376 P1 = IC(0);377 P3 = IC(0);378 if (MDL) {379 P2 = IC(0);380 } else {381 P2 = I211(0, 3, 7);382 }383 } break;384 case 73 :385 case 77 :386 case 105 :387 case 109 :388 case 125 :389 {390 P1 = IC(1);391 P3 = IC(1);392 if (MDL) {393 P0 = IC(1);394 P2 = IC(1);395 } else {396 P0 = I31(1, 3);397 P2 = I332(3, 7, 1);398 }399 } break;400 case 74 :401 {402 P1 = IC(0);403 P3 = IC(0);404 if (MDL) {405 P2 = IC(0);406 } else {407 P2 = I211(0, 3, 7);408 }409 if (MUL) {410 P0 = IC(0);411 } else {412 P0 = I211(0, 1, 3);413 }414 } break;415 case 78 :416 case 202 :417 case 206 :418 {419 P1 = IC(0);420 P3 = IC(0);421 if (MDL) {422 P2 = IC(0);423 } else {424 P2 = I611(0, 3, 7);425 }426 if (MUL) {427 P0 = IC(0);428 } else {429 P0 = I611(0, 1, 3);430 }431 } break;432 case 79 :433 {434 P1 = IC(4);435 P3 = IC(4);436 if (MDL) {437 P2 = IC(4);438 } else {439 P2 = I611(4, 3, 7);440 }441 if (MUL) {442 P0 = IC(4);443 } else {444 P0 = I211(4, 1, 3);445 }446 } break;447 case 80 :448 case 208 :449 case 210 :450 case 216 :451 {452 P0 = IC(0);453 P1 = IC(0);454 P2 = IC(0);455 if (MDR) {456 P3 = IC(0);457 } else {458 P3 = I211(0, 5, 7);459 }460 } break;461 case 81 :462 case 209 :463 case 217 :464 {465 P0 = IC(1);466 P1 = IC(1);467 P2 = IC(1);468 if (MDR) {469 P3 = IC(1);470 } else {471 P3 = I211(1, 5, 7);472 }473 } break;474 case 82 :475 case 214 :476 case 222 :477 {478 P0 = IC(0);479 P2 = IC(0);480 if (MDR) {481 P3 = IC(0);482 } else {483 P3 = I211(0, 5, 7);484 }485 if (MUR) {486 P1 = IC(0);487 } else {488 P1 = I211(0, 1, 5);489 }490 } break;491 case 83 :492 case 115 :493 {494 P0 = IC(2);495 P2 = IC(2);496 if (MDR) {497 P3 = IC(2);498 } else {499 P3 = I611(2, 5, 7);500 }501 if (MUR) {502 P1 = IC(2);503 } else {504 P1 = I611(2, 1, 5);505 }506 } break;507 case 84 :508 case 212 :509 {510 P0 = IC(0);511 P2 = IC(0);512 if (MDR) {513 P1 = IC(0);514 P3 = IC(0);515 } else {516 P1 = I31(0, 5);517 P3 = I332(5, 7, 0);518 }519 } break;520 case 85 :521 case 213 :522 case 221 :523 {524 P0 = IC(1);525 P2 = IC(1);526 if (MDR) {527 P1 = IC(1);528 P3 = IC(1);529 } else {530 P1 = I31(1, 5);531 P3 = I332(5, 7, 1);532 }533 } break;534 case 87 :535 {536 P0 = IC(3);537 P2 = IC(3);538 if (MDR) {539 P3 = IC(3);540 } else {541 P3 = I611(3, 5, 7);542 }543 if (MUR) {544 P1 = IC(3);545 } else {546 P1 = I211(3, 1, 5);547 }548 } break;549 case 88 :550 case 248 :551 case 250 :552 {553 P0 = IC(0);554 P1 = IC(0);555 if (MDL) {556 P2 = IC(0);557 } else {558 P2 = I211(0, 3, 7);559 }560 if (MDR) {561 P3 = IC(0);562 } else {563 P3 = I211(0, 5, 7);564 }565 } break;566 case 89 :567 case 93 :568 {569 P0 = IC(1);570 P1 = IC(1);571 if (MDL) {572 P2 = IC(1);573 } else {574 P2 = I611(1, 3, 7);575 }576 if (MDR) {577 P3 = IC(1);578 } else {579 P3 = I611(1, 5, 7);580 }581 } break;582 case 90 :583 {584 if (MDL) {585 P2 = IC(0);586 } else {587 P2 = I611(0, 3, 7);588 }589 if (MDR) {590 P3 = IC(0);591 } else {592 P3 = I611(0, 5, 7);593 }594 if (MUL) {595 P0 = IC(0);596 } else {597 P0 = I611(0, 1, 3);598 }599 if (MUR) {600 P1 = IC(0);601 } else {602 P1 = I611(0, 1, 5);603 }604 } break;605 case 91 :606 {607 if (MDL) {608 P2 = IC(2);609 } else {610 P2 = I611(2, 3, 7);611 }612 if (MDR) {613 P3 = IC(2);614 } else {615 P3 = I611(2, 5, 7);616 }617 if (MUL) {618 P0 = IC(2);619 } else {620 P0 = I211(2, 1, 3);621 }622 if (MUR) {623 P1 = IC(2);624 } else {625 P1 = I611(2, 1, 5);626 }627 } break;628 case 92 :629 {630 P0 = IC(0);631 P1 = IC(0);632 if (MDL) {633 P2 = IC(0);634 } else {635 P2 = I611(0, 3, 7);636 }637 if (MDR) {638 P3 = IC(0);639 } else {640 P3 = I611(0, 5, 7);641 }642 } break;643 case 94 :644 {645 if (MDL) {646 P2 = IC(0);647 } else {648 P2 = I611(0, 3, 7);649 }650 if (MDR) {651 P3 = IC(0);652 } else {653 P3 = I611(0, 5, 7);654 }655 if (MUL) {656 P0 = IC(0);657 } else {658 P0 = I611(0, 1, 3);659 }660 if (MUR) {661 P1 = IC(0);662 } else {663 P1 = I211(0, 1, 5);664 }665 } break;666 case 107 :667 case 123 :668 {669 P1 = IC(2);670 P3 = IC(2);671 if (MDL) {672 P2 = IC(2);673 } else {674 P2 = I211(2, 3, 7);675 }676 if (MUL) {677 P0 = IC(2);678 } else {679 P0 = I211(2, 1, 3);680 }681 } break;682 case 111 :683 {684 P1 = IC(4);685 P3 = IC(4);686 if (MDL) {687 P2 = IC(4);688 } else {689 P2 = I211(4, 3, 7);690 }691 if (MUL) {692 P0 = IC(4);693 } else {694 P0 = I1411(4, 1, 3);695 }696 } break;697 case 112 :698 case 240 :699 {700 P0 = IC(0);701 P1 = IC(0);702 if (MDR) {703 P2 = IC(0);704 P3 = IC(0);705 } else {706 P2 = I31(0, 7);707 P3 = I332(5, 7, 0);708 }709 } break;710 case 113 :711 case 241 :712 {713 P0 = IC(1);714 P1 = IC(1);715 if (MDR) {716 P2 = IC(1);717 P3 = IC(1);718 } else {719 P2 = I31(1, 7);720 P3 = I332(5, 7, 1);721 }722 } break;723 case 114 :724 {725 P0 = IC(0);726 P2 = IC(0);727 if (MDR) {728 P3 = IC(0);729 } else {730 P3 = I611(0, 5, 7);731 }732 if (MUR) {733 P1 = IC(0);734 } else {735 P1 = I611(0, 1, 5);736 }737 } break;738 case 116 :739 {740 P0 = IC(0);741 P1 = IC(0);742 P2 = IC(0);743 if (MDR) {744 P3 = IC(0);745 } else {746 P3 = I611(0, 5, 7);747 }748 } break;749 case 117 :750 {751 P0 = IC(1);752 P1 = IC(1);753 P2 = IC(1);754 if (MDR) {755 P3 = IC(1);756 } else {757 P3 = I611(1, 5, 7);758 }759 } break;760 case 121 :761 {762 P0 = IC(1);763 P1 = IC(1);764 if (MDL) {765 P2 = IC(1);766 } else {767 P2 = I211(1, 3, 7);768 }769 if (MDR) {770 P3 = IC(1);771 } else {772 P3 = I611(1, 5, 7);773 }774 } break;775 case 122 :776 {777 if (MDL) {778 P2 = IC(0);779 } else {780 P2 = I211(0, 3, 7);781 }782 if (MDR) {783 P3 = IC(0);784 } else {785 P3 = I611(0, 5, 7);786 }787 if (MUL) {788 P0 = IC(0);789 } else {790 P0 = I611(0, 1, 3);791 }792 if (MUR) {793 P1 = IC(0);794 } else {795 P1 = I611(0, 1, 5);796 }797 } break;798 case 126 :799 {800 P0 = IC(0);801 P3 = IC(0);802 if (MDL) {803 P2 = IC(0);804 } else {805 P2 = I211(0, 3, 7);806 }807 if (MUR) {808 P1 = IC(0);809 } else {810 P1 = I211(0, 1, 5);811 }812 } break;813 case 127 :814 {815 P3 = IC(4);816 if (MDL) {817 P2 = IC(4);818 } else {819 P2 = I211(4, 3, 7);820 }821 if (MUL) {822 P0 = IC(4);823 } else {824 P0 = I1411(4, 1, 3);825 }826 if (MUR) {827 P1 = IC(4);828 } else {829 P1 = I211(4, 1, 5);830 }831 } break;832 case 146 :833 case 150 :834 case 178 :835 case 182 :836 case 190 :837 {838 P0 = IC(0);839 P2 = IC(0);840 if (MUR) {841 P1 = IC(0);842 P3 = IC(0);843 } else {844 P1 = I332(1, 5, 0);845 P3 = I31(0, 5);846 }847 } break;848 case 147 :849 case 179 :850 {851 P0 = IC(2);852 P2 = IC(2);853 P3 = IC(2);854 if (MUR) {855 P1 = IC(2);856 } else {857 P1 = I611(2, 1, 5);858 }859 } break;860 case 151 :861 case 183 :862 {863 P0 = IC(3);864 P2 = IC(3);865 P3 = IC(3);866 if (MUR) {867 P1 = IC(3);868 } else {869 P1 = I1411(3, 1, 5);870 }871 } break;872 case 158 :873 {874 P2 = IC(0);875 P3 = IC(0);876 if (MUL) {877 P0 = IC(0);878 } else {879 P0 = I611(0, 1, 3);880 }881 if (MUR) {882 P1 = IC(0);883 } else {884 P1 = I211(0, 1, 5);885 }886 } break;887 case 159 :888 {889 P2 = IC(4);890 P3 = IC(4);891 if (MUL) {892 P0 = IC(4);893 } else {894 P0 = I211(4, 1, 3);895 }896 if (MUR) {897 P1 = IC(4);898 } else {899 P1 = I1411(4, 1, 5);900 }901 } break;902 case 191 :903 {904 P2 = IC(4);905 P3 = IC(4);906 if (MUL) {907 P0 = IC(4);908 } else {909 P0 = I1411(4, 1, 3);910 }911 if (MUR) {912 P1 = IC(4);913 } else {914 P1 = I1411(4, 1, 5);915 }916 } break;917 case 200 :918 case 204 :919 case 232 :920 case 236 :921 case 238 :922 {923 P0 = IC(0);924 P1 = IC(0);925 if (MDL) {926 P2 = IC(0);927 P3 = IC(0);928 } else {929 P2 = I332(3, 7, 0);930 P3 = I31(0, 7);931 }932 } break;933 case 201 :934 case 205 :935 {936 P0 = IC(1);937 P1 = IC(1);938 P3 = IC(1);939 if (MDL) {940 P2 = IC(1);941 } else {942 P2 = I611(1, 3, 7);943 }944 } break;945 case 211 :946 {947 P0 = IC(2);948 P1 = IC(2);949 P2 = IC(2);950 if (MDR) {951 P3 = IC(2);952 } else {953 P3 = I211(2, 5, 7);954 }955 } break;956 case 215 :957 {958 P0 = IC(3);959 P2 = IC(3);960 if (MDR) {961 P3 = IC(3);962 } else {963 P3 = I211(3, 5, 7);964 }965 if (MUR) {966 P1 = IC(3);967 } else {968 P1 = I1411(3, 1, 5);969 }970 } break;971 case 218 :972 {973 if (MDL) {974 P2 = IC(0);975 } else {976 P2 = I611(0, 3, 7);977 }978 if (MDR) {979 P3 = IC(0);980 } else {981 P3 = I211(0, 5, 7);982 }983 if (MUL) {984 P0 = IC(0);985 } else {986 P0 = I611(0, 1, 3);987 }988 if (MUR) {989 P1 = IC(0);990 } else {991 P1 = I611(0, 1, 5);992 }993 } break;994 case 219 :995 {996 P1 = IC(2);997 P2 = IC(2);998 if (MDR) {999 P3 = IC(2);1000 } else {1001 P3 = I211(2, 5, 7);1002 }1003 if (MUL) {1004 P0 = IC(2);1005 } else {1006 P0 = I211(2, 1, 3);1007 }1008 } break;1009 case 220 :1010 {1011 P0 = IC(0);1012 P1 = IC(0);1013 if (MDL) {1014 P2 = IC(0);1015 } else {1016 P2 = I611(0, 3, 7);1017 }1018 if (MDR) {1019 P3 = IC(0);1020 } else {1021 P3 = I211(0, 5, 7);1022 }1023 } break;1024 case 223 :1025 {1026 P2 = IC(4);1027 if (MDR) {1028 P3 = IC(4);1029 } else {1030 P3 = I211(4, 5, 7);1031 }1032 if (MUL) {1033 P0 = IC(4);1034 } else {1035 P0 = I211(4, 1, 3);1036 }1037 if (MUR) {1038 P1 = IC(4);1039 } else {1040 P1 = I1411(4, 1, 5);1041 }1042 } break;1043 case 233 :1044 case 237 :1045 {1046 P0 = IC(1);1047 P1 = IC(1);1048 P3 = IC(1);1049 if (MDL) {1050 P2 = IC(1);1051 } else {1052 P2 = I1411(1, 3, 7);1053 }1054 } break;1055 case 234 :1056 {1057 P1 = IC(0);1058 P3 = IC(0);1059 if (MDL) {1060 P2 = IC(0);1061 } else {1062 P2 = I211(0, 3, 7);1063 }1064 if (MUL) {1065 P0 = IC(0);1066 } else {1067 P0 = I611(0, 1, 3);1068 }1069 } break;1070 case 235 :1071 {1072 P1 = IC(2);1073 P3 = IC(2);1074 if (MDL) {1075 P2 = IC(2);1076 } else {1077 P2 = I1411(2, 3, 7);1078 }1079 if (MUL) {1080 P0 = IC(2);1081 } else {1082 P0 = I211(2, 1, 3);1083 }1084 } break;1085 case 239 :1086 {1087 P1 = IC(4);1088 P3 = IC(4);1089 if (MDL) {1090 P2 = IC(4);1091 } else {1092 P2 = I1411(4, 3, 7);1093 }1094 if (MUL) {1095 P0 = IC(4);1096 } else {1097 P0 = I1411(4, 1, 3);1098 }1099 } break;1100 case 242 :1101 {1102 P0 = IC(0);1103 P2 = IC(0);1104 if (MDR) {1105 P3 = IC(0);1106 } else {1107 P3 = I211(0, 5, 7);1108 }1109 if (MUR) {1110 P1 = IC(0);1111 } else {1112 P1 = I611(0, 1, 5);1113 }1114 } break;1115 case 243 :1116 {1117 P0 = IC(2);1118 P1 = IC(2);1119 if (MDR) {1120 P2 = IC(2);1121 P3 = IC(2);1122 } else {1123 P2 = I31(2, 7);1124 P3 = I332(5, 7, 2);1125 }1126 } break;1127 case 244 :1128 {1129 P0 = IC(0);1130 P1 = IC(0);1131 P2 = IC(0);1132 if (MDR) {1133 P3 = IC(0);1134 } else {1135 P3 = I1411(0, 5, 7);1136 }1137 } break;1138 case 245 :1139 {1140 P0 = IC(1);1141 P1 = IC(1);1142 P2 = IC(1);1143 if (MDR) {1144 P3 = IC(1);1145 } else {1146 P3 = I1411(1, 5, 7);1147 }1148 } break;1149 case 246 :1150 {1151 P0 = IC(0);1152 P2 = IC(0);1153 if (MDR) {1154 P3 = IC(0);1155 } else {1156 P3 = I1411(0, 5, 7);1157 }1158 if (MUR) {1159 P1 = IC(0);1160 } else {1161 P1 = I211(0, 1, 5);1162 }1163 } break;1164 case 247 :1165 {1166 P0 = IC(3);1167 P2 = IC(3);1168 if (MDR) {1169 P3 = IC(3);1170 } else {1171 P3 = I1411(3, 5, 7);1172 }1173 if (MUR) {1174 P1 = IC(3);1175 } else {1176 P1 = I1411(3, 1, 5);1177 }1178 } break;1179 case 249 :1180 {1181 P0 = IC(1);1182 P1 = IC(1);1183 if (MDL) {1184 P2 = IC(1);1185 } else {1186 P2 = I1411(1, 3, 7);1187 }1188 if (MDR) {1189 P3 = IC(1);1190 } else {1191 P3 = I211(1, 5, 7);1192 }1193 } break;1194 case 251 :1195 {1196 P1 = IC(2);1197 if (MDL) {1198 P2 = IC(2);1199 } else {1200 P2 = I1411(2, 3, 7);1201 }1202 if (MDR) {1203 P3 = IC(2);1204 } else {1205 P3 = I211(2, 5, 7);1206 }1207 if (MUL) {1208 P0 = IC(2);1209 } else {1210 P0 = I211(2, 1, 3);1211 }1212 } break;1213 case 252 :1214 {1215 P0 = IC(0);1216 P1 = IC(0);1217 if (MDL) {1218 P2 = IC(0);1219 } else {1220 P2 = I211(0, 3, 7);1221 }1222 if (MDR) {1223 P3 = IC(0);1224 } else {1225 P3 = I1411(0, 5, 7);1226 }1227 } break;1228 case 253 :1229 {1230 P0 = IC(1);1231 P1 = IC(1);1232 if (MDL) {1233 P2 = IC(1);1234 } else {1235 P2 = I1411(1, 3, 7);1236 }1237 if (MDR) {1238 P3 = IC(1);1239 } else {1240 P3 = I1411(1, 5, 7);1241 }1242 } break;1243 case 254 :1244 {1245 P0 = IC(0);1246 if (MDL) {1247 P2 = IC(0);1248 } else {1249 P2 = I211(0, 3, 7);1250 }1251 if (MDR) {1252 P3 = IC(0);1253 } else {1254 P3 = I1411(0, 5, 7);1255 }1256 if (MUR) {1257 P1 = IC(0);1258 } else {1259 P1 = I211(0, 1, 5);1260 }1261 } break;1262 case 255 :1263 {1264 if (MDL) {1265 P2 = IC(4);1266 } else {1267 P2 = I1411(4, 3, 7);1268 }1269 if (MDR) {1270 P3 = IC(4);1271 } else {1272 P3 = I1411(4, 5, 7);1273 }1274 if (MUL) {1275 P0 = IC(4);1276 } else {1277 P0 = I1411(4, 1, 3);1278 }1279 if (MUR) {1280 P1 = IC(4);1281 } else {1282 P1 = I1411(4, 1, 5);1283 }1284 } break;