diff --git a/src/hq2x3.dat b/src/hq2x3.dat deleted file mode 100644 index 4b893c7e..00000000 --- a/src/hq2x3.dat +++ /dev/null @@ -1,2478 +0,0 @@ -/* - * This file is part of the Advance project. - * - * Copyright (C) 2004 Andrea Mazzoleni - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - * In addition, as a special exception, Andrea Mazzoleni - * gives permission to link the code of this program with - * the MAME library (or with modified versions of MAME that use the - * same license as MAME), and distribute linked combinations including - * the two. You must obey the GNU General Public License in all - * respects for all of the code used other than MAME. If you modify - * this file, you may extend this exception to your version of the - * file, but you are not obligated to do so. If you do not wish to - * do so, delete this exception statement from your version. - */ - -/* - * This effect is derived from the hq effect made by Maxim Stepin - */ - -case 0 : -case 1 : -case 4 : -case 5 : -case 32 : -case 33 : -case 36 : -case 37 : -case 128 : -case 129 : -case 132 : -case 133 : -case 160 : -case 161 : -case 164 : -case 165 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -} break; -case 2 : -case 34 : -case 130 : -case 162 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -} break; -case 3 : -case 35 : -case 131 : -case 163 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -} break; -case 6 : -case 38 : -case 134 : -case 166 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -} break; -case 7 : -case 39 : -case 135 : -case 167 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -} break; -case 8 : -case 12 : -case 136 : -case 140 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -} break; -case 9 : -case 13 : -case 137 : -case 141 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -} break; -case 10 : -case 138 : -{ -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I2(13, 3, 4, 2); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); - P(0, 1) = I2(15, 1, 4, 3); -} -} break; -case 11 : -case 139 : -{ -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 2); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); - P(0, 1) = I2(15, 1, 4, 3); -} -} break; -case 14 : -case 142 : -{ -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I2(13, 3, 4, 5); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(10, 5, 1, 1, 3, 4); - P(1, 0) = I3(7, 6, 3, 4, 1, 5); - P(0, 1) = I2(13, 3, 4, 3); -} -} break; -case 15 : -case 143 : -{ -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 5); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(10, 5, 1, 1, 3, 4); - P(1, 0) = I3(7, 6, 3, 4, 1, 5); - P(0, 1) = I2(13, 3, 4, 3); -} -} break; -case 16 : -case 17 : -case 48 : -case 49 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} break; -case 18 : -case 50 : -{ -P(0, 1) = I2(13, 3, 4, 3); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I2(13, 3, 4, 2); - P(1, 1) = I1(4); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(6, 5, 5, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 19 : -case 51 : -{ -P(0, 1) = I2(13, 3, 4, 3); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -if (MUR) { - P(0, 0) = I2(13, 3, 4, 3); - P(1, 0) = I2(13, 3, 4, 2); - P(1, 1) = I1(4); -} else { - P(0, 0) = I3(7, 6, 3, 4, 1, 3); - P(1, 0) = I3(10, 5, 1, 1, 5, 4); - P(1, 1) = I2(13, 3, 4, 5); -} -} break; -case 20 : -case 21 : -case 52 : -case 53 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} break; -case 22 : -case 54 : -{ -P(0, 1) = I2(13, 3, 4, 3); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(6, 5, 5, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 23 : -case 55 : -{ -P(0, 1) = I2(13, 3, 4, 3); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -if (MUR) { - P(0, 0) = I2(13, 3, 4, 3); - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(0, 0) = I3(7, 6, 3, 4, 1, 3); - P(1, 0) = I3(10, 5, 1, 1, 5, 4); - P(1, 1) = I2(13, 3, 4, 5); -} -} break; -case 24 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} break; -case 25 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} break; -case 26 : -case 31 : -{ -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(0, 1) = I2(15, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(6, 5, 5, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 27 : -{ -P(1, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 2); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); - P(0, 1) = I2(15, 1, 4, 3); -} -} break; -case 28 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} break; -case 29 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} break; -case 30 : -{ -P(0, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(6, 5, 5, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 40 : -case 44 : -case 168 : -case 172 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -} break; -case 41 : -case 45 : -case 169 : -case 173 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -} break; -case 42 : -case 170 : -{ -P(1, 1) = I2(13, 3, 4, 5); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I2(13, 3, 4, 2); - P(0, 1) = I1(4); - P(0, 2) = I2(3, 1, 4, 7); -} else { - P(0, 0) = I3(7, 5, 4, 1, 3, 4); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); - P(0, 1) = I2(1, 1, 3, 4); - P(0, 2) = I3(9, 4, 3, 4, 7, 3); -} -} break; -case 43 : -case 171 : -{ -P(1, 1) = I2(13, 3, 4, 5); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 2); - P(0, 1) = I1(4); - P(0, 2) = I2(3, 1, 4, 7); -} else { - P(0, 0) = I3(7, 5, 4, 1, 3, 4); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); - P(0, 1) = I2(1, 1, 3, 4); - P(0, 2) = I3(9, 4, 3, 4, 7, 3); -} -} break; -case 46 : -case 174 : -{ -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -} break; -case 47 : -case 175 : -{ -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -} break; -case 56 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} break; -case 57 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} break; -case 58 : -{ -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 59 : -{ -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -if (!MUR) { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -if ((MUR && !MUL)) { - P(1, 0) = I3(12, 3, 1, 4, 2, 1); -} -if ((MUR && MUL)) { - P(1, 0) = I2(13, 3, 4, 2); -} -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(0, 1) = I2(15, 1, 4, 3); -} -} break; -case 60 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} break; -case 61 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} break; -case 62 : -{ -P(0, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(6, 5, 5, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 63 : -{ -P(0, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I3(12, 3, 1, 4, 8, 7); -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(6, 5, 5, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 64 : -case 65 : -case 68 : -case 69 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -} break; -case 66 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -} break; -case 67 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -} break; -case 70 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -} break; -case 71 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -} break; -case 72 : -case 76 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(1, 1) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(6, 5, 5, 4, 3, 7); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -} break; -case 73 : -case 77 : -{ -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(1, 1) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 0) = I2(3, 1, 4, 1); - P(0, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 0) = I3(9, 4, 3, 4, 1, 3); - P(0, 1) = I2(1, 1, 3, 4); - P(0, 2) = I3(7, 5, 4, 7, 3, 4); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -} break; -case 74 : -case 107 : -{ -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 2) = I3(6, 5, 5, 4, 3, 7); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); -} -} break; -case 75 : -{ -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 2); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); - P(0, 1) = I2(15, 1, 4, 3); -} -} break; -case 78 : -{ -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -P(1, 2) = I2(13, 3, 4, 8); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -} break; -case 79 : -{ -P(1, 1) = I2(13, 3, 4, 5); -P(1, 2) = I2(13, 3, 4, 8); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 5); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(1, 0) = I3(12, 3, 1, 4, 5, 1); - P(0, 1) = I2(15, 1, 4, 3); -} -} break; -case 80 : -case 81 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -} break; -case 82 : -case 214 : -{ -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -if (MDR) { - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I1(4); -} else { - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I1(4); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(6, 5, 5, 4, 1, 5); -} -} break; -case 83 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(13, 3, 4, 6); -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -if (MUR) { - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 84 : -case 85 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(0, 1) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 0) = I2(3, 1, 4, 1); - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 0) = I3(9, 4, 3, 4, 1, 5); - P(1, 1) = I2(1, 1, 4, 5); - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(7, 5, 4, 7, 5, 4); -} -} break; -case 86 : -{ -P(0, 1) = I2(13, 3, 4, 3); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(6, 5, 5, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 87 : -{ -P(0, 1) = I2(13, 3, 4, 3); -P(0, 2) = I2(13, 3, 4, 6); -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -if (MUR) { - P(0, 0) = I2(13, 3, 4, 3); - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(0, 0) = I3(12, 3, 1, 4, 3, 1); - P(1, 0) = I3(6, 5, 5, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 88 : -case 248 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(6, 5, 5, 4, 3, 7); -} -if (MDR) { - P(1, 1) = I1(4); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -} break; -case 89 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -} break; -case 90 : -{ -P(0, 1) = I1(4); -P(1, 1) = I1(4); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 91 : -{ -P(1, 1) = I1(4); -if (!MUR) { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -if ((MUR && !MUL)) { - P(1, 0) = I3(12, 3, 1, 4, 2, 1); -} -if ((MUR && MUL)) { - P(1, 0) = I2(13, 3, 4, 2); -} -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(0, 1) = I2(15, 1, 4, 3); -} -} break; -case 92 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -} break; -case 93 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -} break; -case 94 : -{ -P(0, 1) = I1(4); -if (!MUL) { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -if ((!MUR && MUL)) { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); -} -if ((MUR && MUL)) { - P(0, 0) = I2(13, 3, 4, 0); -} -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(6, 5, 5, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 95 : -{ -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(0, 1) = I2(15, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(6, 5, 5, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 96 : -case 97 : -case 100 : -case 101 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 3); -P(1, 2) = I2(13, 3, 4, 8); -} break; -case 98 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 3); -P(1, 2) = I2(13, 3, 4, 8); -} break; -case 99 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 3); -P(1, 2) = I2(13, 3, 4, 8); -} break; -case 102 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 3); -P(1, 2) = I2(13, 3, 4, 8); -} break; -case 103 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 3); -P(1, 2) = I2(13, 3, 4, 8); -} break; -case 104 : -case 108 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(1, 1) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(6, 5, 5, 4, 3, 7); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -} break; -case 105 : -case 109 : -{ -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(1, 1) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 0) = I2(3, 1, 4, 1); - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 0) = I3(9, 4, 3, 4, 1, 3); - P(0, 1) = I2(1, 1, 3, 4); - P(0, 2) = I3(7, 5, 4, 7, 3, 4); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -} break; -case 106 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 2); -P(1, 1) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(6, 5, 5, 4, 3, 7); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -} break; -case 110 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 5); -P(1, 1) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(6, 5, 5, 4, 3, 7); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -} break; -case 111 : -{ -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 2) = I3(6, 5, 5, 4, 3, 7); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -} break; -case 112 : -case 113 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 3); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 1) = I2(13, 3, 4, 5); - P(0, 2) = I3(7, 6, 3, 7, 4, 3); - P(1, 2) = I3(10, 5, 1, 7, 5, 4); -} -} break; -case 114 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -if (MUR) { - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 115 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -if (MUR) { - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 116 : -case 117 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -} break; -case 118 : -{ -P(0, 1) = I2(13, 3, 4, 3); -P(0, 2) = I2(13, 3, 4, 3); -P(1, 2) = I2(13, 3, 4, 8); -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(6, 5, 5, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 119 : -{ -P(0, 1) = I2(13, 3, 4, 3); -P(0, 2) = I2(13, 3, 4, 3); -P(1, 2) = I2(13, 3, 4, 8); -if (MUR) { - P(0, 0) = I2(13, 3, 4, 3); - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(0, 0) = I3(7, 6, 3, 4, 1, 3); - P(1, 0) = I3(10, 5, 1, 1, 5, 4); - P(1, 1) = I2(13, 3, 4, 5); -} -} break; -case 120 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(1, 1) = I1(4); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(6, 5, 5, 4, 3, 7); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -} break; -case 121 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(1, 1) = I1(4); -if (!MDR) { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -if ((MDR && !MDL)) { - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -if ((MDR && MDL)) { - P(1, 2) = I2(13, 3, 4, 8); -} -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(6, 5, 5, 4, 3, 7); -} -} break; -case 122 : -{ -P(1, 1) = I1(4); -if (!MDR) { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -if ((MDR && !MDL)) { - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -if ((MDR && MDL)) { - P(1, 2) = I2(13, 3, 4, 8); -} -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(6, 5, 5, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 123 : -{ -P(0, 1) = I1(4); -P(1, 1) = I1(4); -if (MDL) { - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 2) = I3(6, 5, 5, 4, 3, 7); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); -} -} break; -case 124 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(1, 1) = I1(4); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(6, 5, 5, 4, 3, 7); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -} break; -case 125 : -{ -P(1, 0) = I2(3, 1, 4, 1); -P(1, 1) = I1(4); -if (MDL) { - P(0, 0) = I2(3, 1, 4, 1); - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 0) = I3(9, 4, 3, 4, 1, 3); - P(0, 1) = I2(1, 1, 3, 4); - P(0, 2) = I3(7, 5, 4, 7, 3, 4); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -} break; -case 126 : -{ -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(6, 5, 5, 4, 3, 7); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(6, 5, 5, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 127 : -{ -if (!MUR) { - P(1, 0) = I3(6, 5, 5, 4, 1, 5); -} -if ((MUR && !MUL)) { - P(1, 0) = I2(15, 1, 4, 1); -} -if ((MUR && MUL)) { - P(1, 0) = I1(4); -} -if (MDL) { - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 8); -} else { - P(0, 2) = I3(6, 5, 5, 4, 3, 7); - P(1, 2) = I3(12, 3, 1, 4, 8, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); - P(0, 1) = I2(15, 1, 4, 3); -} -if (MUR) { - P(1, 1) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 144 : -case 145 : -case 176 : -case 177 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I2(3, 1, 4, 7); -} break; -case 146 : -case 178 : -{ -P(0, 1) = I2(13, 3, 4, 3); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I2(13, 3, 4, 2); - P(1, 1) = I1(4); - P(1, 2) = I2(3, 1, 4, 7); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(7, 5, 4, 1, 5, 4); - P(1, 1) = I2(1, 1, 4, 5); - P(1, 2) = I3(9, 4, 3, 4, 7, 5); -} -} break; -case 147 : -case 179 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I2(3, 1, 4, 7); -if (MUR) { - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 148 : -case 149 : -case 180 : -case 181 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I2(3, 1, 4, 7); -} break; -case 150 : -case 182 : -{ -P(0, 1) = I2(13, 3, 4, 3); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I1(4); - P(1, 1) = I1(4); - P(1, 2) = I2(3, 1, 4, 7); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(7, 5, 4, 1, 5, 4); - P(1, 1) = I2(1, 1, 4, 5); - P(1, 2) = I3(9, 4, 3, 4, 7, 5); -} -} break; -case 151 : -case 183 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(9, 4, 3, 4, 7, 3); -P(1, 2) = I2(3, 1, 4, 7); -if (MUR) { - P(1, 0) = I1(4); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 152 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I2(3, 1, 4, 7); -} break; -case 153 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I2(3, 1, 4, 7); -} break; -case 154 : -{ -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I2(3, 1, 4, 7); -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 155 : -{ -P(1, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I2(3, 1, 4, 7); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 2); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); - P(0, 1) = I2(15, 1, 4, 3); -} -} break; -case 156 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I2(3, 1, 4, 7); -} break; -case 157 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I2(3, 1, 4, 7); -} break; -case 158 : -{ -P(0, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I2(3, 1, 4, 7); -if (!MUL) { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -if ((!MUR && MUL)) { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); -} -if ((MUR && MUL)) { - P(0, 0) = I2(13, 3, 4, 0); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(6, 5, 5, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 159 : -{ -P(1, 1) = I1(4); -P(0, 2) = I3(12, 3, 1, 4, 6, 7); -P(1, 2) = I2(3, 1, 4, 7); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(0, 1) = I2(15, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I1(4); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 184 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -} break; -case 185 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -} break; -case 186 : -{ -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 187 : -{ -P(1, 1) = I1(4); -P(1, 2) = I2(3, 1, 4, 7); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 2); - P(0, 1) = I1(4); - P(0, 2) = I2(3, 1, 4, 7); -} else { - P(0, 0) = I3(7, 5, 4, 1, 3, 4); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); - P(0, 1) = I2(1, 1, 3, 4); - P(0, 2) = I3(9, 4, 3, 4, 7, 3); -} -} break; -case 188 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -} break; -case 189 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -} break; -case 190 : -{ -P(0, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I1(4); - P(1, 1) = I1(4); - P(1, 2) = I2(3, 1, 4, 7); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(7, 5, 4, 1, 5, 4); - P(1, 1) = I2(1, 1, 4, 5); - P(1, 2) = I3(9, 4, 3, 4, 7, 5); -} -} break; -case 191 : -{ -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I1(4); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 192 : -case 193 : -case 196 : -case 197 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 5); -} break; -case 194 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 5); -} break; -case 195 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 5); -} break; -case 198 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 5); -} break; -case 199 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 5); -} break; -case 200 : -case 204 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(1, 1) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I2(13, 3, 4, 5); -} else { - P(0, 1) = I2(13, 3, 4, 3); - P(0, 2) = I3(10, 5, 1, 7, 3, 4); - P(1, 2) = I3(7, 6, 3, 7, 4, 5); -} -} break; -case 201 : -case 205 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -P(1, 2) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -} break; -case 202 : -{ -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -P(1, 2) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -} break; -case 203 : -{ -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 5); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 2); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); - P(0, 1) = I2(15, 1, 4, 3); -} -} break; -case 206 : -{ -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -P(1, 2) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -} break; -case 207 : -{ -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 5); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 5); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(10, 5, 1, 1, 3, 4); - P(1, 0) = I3(7, 6, 3, 4, 1, 5); - P(0, 1) = I2(13, 3, 4, 3); -} -} break; -case 208 : -case 209 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -} break; -case 210 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -} break; -case 211 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -} break; -case 212 : -case 213 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(0, 1) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 0) = I2(3, 1, 4, 1); - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I1(4); -} else { - P(1, 0) = I3(9, 4, 3, 4, 1, 5); - P(1, 1) = I2(1, 1, 4, 5); - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(7, 5, 4, 7, 5, 4); -} -} break; -case 215 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -if (MDR) { - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I1(4); -} else { - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -if (MUR) { - P(1, 0) = I1(4); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 216 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I1(4); -if (MDR) { - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -} break; -case 217 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I1(4); -if (MDR) { - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -} break; -case 218 : -{ -P(0, 1) = I1(4); -if (!MDL) { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if ((!MDR && MDL)) { - P(0, 2) = I3(12, 3, 1, 4, 6, 7); -} -if ((MDR && MDL)) { - P(0, 2) = I2(13, 3, 4, 6); -} -if (MDR) { - P(1, 1) = I1(4); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 219 : -{ -if (MDR) { - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 2); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); - P(0, 1) = I2(15, 1, 4, 3); -} -} break; -case 220 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -if (!MDL) { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if ((!MDR && MDL)) { - P(0, 2) = I3(12, 3, 1, 4, 6, 7); -} -if ((MDR && MDL)) { - P(0, 2) = I2(13, 3, 4, 6); -} -if (MDR) { - P(1, 1) = I1(4); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -} break; -case 221 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -if (MDR) { - P(1, 0) = I2(3, 1, 4, 1); - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I1(4); -} else { - P(1, 0) = I3(9, 4, 3, 4, 1, 5); - P(1, 1) = I2(1, 1, 4, 5); - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(7, 5, 4, 7, 5, 4); -} -} break; -case 222 : -{ -P(0, 1) = I1(4); -P(1, 1) = I1(4); -if (MDR) { - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I1(4); -} else { - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I1(4); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(6, 5, 5, 4, 1, 5); -} -} break; -case 223 : -{ -if (!MUL) { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); -} -if ((!MUR && MUL)) { - P(0, 0) = I2(15, 1, 4, 1); -} -if ((MUR && MUL)) { - P(0, 0) = I1(4); -} -if (MDR) { - P(0, 2) = I2(13, 3, 4, 6); - P(1, 2) = I1(4); -} else { - P(0, 2) = I3(12, 3, 1, 4, 6, 7); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -if (MUL) { - P(0, 1) = I1(4); -} else { - P(0, 1) = I2(15, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); - P(1, 1) = I2(15, 1, 4, 5); -} -} break; -case 224 : -case 225 : -case 228 : -case 229 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 3); -P(1, 2) = I2(13, 3, 4, 5); -} break; -case 226 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 3); -P(1, 2) = I2(13, 3, 4, 5); -} break; -case 227 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 3); -P(1, 2) = I2(13, 3, 4, 5); -} break; -case 230 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 3); -P(1, 2) = I2(13, 3, 4, 5); -} break; -case 231 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I2(13, 3, 4, 5); -P(0, 2) = I2(13, 3, 4, 3); -P(1, 2) = I2(13, 3, 4, 5); -} break; -case 232 : -case 236 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(1, 1) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 5); -} else { - P(0, 1) = I2(13, 3, 4, 3); - P(0, 2) = I3(10, 5, 1, 7, 3, 4); - P(1, 2) = I3(7, 6, 3, 7, 4, 5); -} -} break; -case 233 : -case 237 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -P(1, 2) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 2) = I1(4); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -} break; -case 234 : -{ -P(1, 0) = I2(13, 3, 4, 2); -P(1, 1) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 5); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(6, 5, 5, 4, 3, 7); - P(1, 2) = I3(12, 3, 1, 4, 5, 7); -} -if (MUL) { - P(0, 0) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -} break; -case 235 : -{ -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -P(1, 2) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 2) = I1(4); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); -} -} break; -case 238 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 5); -P(1, 1) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I2(13, 3, 4, 5); -} else { - P(0, 1) = I2(13, 3, 4, 3); - P(0, 2) = I3(10, 5, 1, 7, 3, 4); - P(1, 2) = I3(7, 6, 3, 7, 4, 5); -} -} break; -case 239 : -{ -P(1, 0) = I2(13, 3, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(13, 3, 4, 5); -P(1, 2) = I2(13, 3, 4, 5); -if (MDL) { - P(0, 2) = I1(4); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -} break; -case 240 : -case 241 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 3); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(13, 3, 4, 5); - P(0, 2) = I3(7, 6, 3, 7, 4, 3); - P(1, 2) = I3(10, 5, 1, 7, 5, 4); -} -} break; -case 242 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(0, 1) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 3); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(0, 2) = I3(12, 3, 1, 4, 3, 7); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -if (MUR) { - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 243 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(1, 0) = I2(13, 3, 4, 2); -P(0, 1) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 1) = I1(4); - P(0, 2) = I2(13, 3, 4, 3); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(13, 3, 4, 5); - P(0, 2) = I3(7, 6, 3, 7, 4, 3); - P(1, 2) = I3(10, 5, 1, 7, 5, 4); -} -} break; -case 244 : -case 245 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 2) = I1(4); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -} break; -case 246 : -{ -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 2) = I1(4); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I1(4); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(6, 5, 5, 4, 1, 5); -} -} break; -case 247 : -{ -P(0, 0) = I2(13, 3, 4, 3); -P(0, 1) = I2(13, 3, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(13, 3, 4, 3); -if (MDR) { - P(1, 2) = I1(4); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -if (MUR) { - P(1, 0) = I1(4); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; -case 249 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I3(12, 3, 1, 4, 2, 1); -P(0, 1) = I1(4); -if (MDL) { - P(0, 2) = I1(4); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MDR) { - P(1, 1) = I1(4); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -} break; -case 250 : -{ -P(0, 0) = I2(13, 3, 4, 0); -P(1, 0) = I2(13, 3, 4, 2); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(6, 5, 5, 4, 3, 7); -} -if (MDR) { - P(1, 1) = I1(4); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -} break; -case 251 : -{ -if (!MDR) { - P(1, 2) = I3(6, 5, 5, 4, 5, 7); -} -if ((MDR && !MDL)) { - P(1, 2) = I2(15, 1, 4, 7); -} -if ((MDR && MDL)) { - P(1, 2) = I1(4); -} -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MDR) { - P(1, 1) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(13, 3, 4, 2); -} else { - P(0, 0) = I3(6, 5, 5, 4, 1, 3); - P(1, 0) = I3(12, 3, 1, 4, 2, 1); -} -} break; -case 252 : -{ -P(0, 0) = I3(12, 3, 1, 4, 0, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(1, 1) = I1(4); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); -} else { - P(0, 1) = I2(15, 1, 4, 3); - P(0, 2) = I3(6, 5, 5, 4, 3, 7); -} -if (MDR) { - P(1, 2) = I1(4); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -} break; -case 253 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -if (MDL) { - P(0, 2) = I1(4); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MDR) { - P(1, 2) = I1(4); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -} break; -case 254 : -{ -if (!MDL) { - P(0, 2) = I3(6, 5, 5, 4, 3, 7); -} -if ((!MDR && MDL)) { - P(0, 2) = I2(15, 1, 4, 7); -} -if ((MDR && MDL)) { - P(0, 2) = I1(4); -} -if (MDL) { - P(0, 1) = I1(4); -} else { - P(0, 1) = I2(15, 1, 4, 3); -} -if (MDR) { - P(1, 1) = I1(4); - P(1, 2) = I1(4); -} else { - P(1, 1) = I2(15, 1, 4, 5); - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -if (MUR) { - P(0, 0) = I2(13, 3, 4, 0); - P(1, 0) = I1(4); -} else { - P(0, 0) = I3(12, 3, 1, 4, 0, 1); - P(1, 0) = I3(6, 5, 5, 4, 1, 5); -} -} break; -case 255 : -{ -P(0, 1) = I1(4); -P(1, 1) = I1(4); -if (MDL) { - P(0, 2) = I1(4); -} else { - P(0, 2) = I3(10, 3, 3, 4, 3, 7); -} -if (MDR) { - P(1, 2) = I1(4); -} else { - P(1, 2) = I3(10, 3, 3, 4, 5, 7); -} -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(10, 3, 3, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I1(4); -} else { - P(1, 0) = I3(10, 3, 3, 4, 1, 5); -} -} break; diff --git a/src/hq2x4.dat b/src/hq2x4.dat deleted file mode 100644 index 96982038..00000000 --- a/src/hq2x4.dat +++ /dev/null @@ -1,2748 +0,0 @@ -/* - * This file is part of the Advance project. - * - * Copyright (C) 2004 Andrea Mazzoleni - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - * In addition, as a special exception, Andrea Mazzoleni - * gives permission to link the code of this program with - * the MAME library (or with modified versions of MAME that use the - * same license as MAME), and distribute linked combinations including - * the two. You must obey the GNU General Public License in all - * respects for all of the code used other than MAME. If you modify - * this file, you may extend this exception to your version of the - * file, but you are not obligated to do so. If you do not wish to - * do so, delete this exception statement from your version. - */ - -/* - * This effect is derived from the hq effect made by Maxim Stepin - */ - -case 0 : -case 1 : -case 4 : -case 5 : -case 32 : -case 33 : -case 36 : -case 37 : -case 128 : -case 129 : -case 132 : -case 133 : -case 160 : -case 161 : -case 164 : -case 165 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -} break; -case 2 : -case 34 : -case 130 : -case 162 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -} break; -case 3 : -case 35 : -case 131 : -case 163 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -} break; -case 6 : -case 38 : -case 134 : -case 166 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -} break; -case 7 : -case 39 : -case 135 : -case 167 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -} break; -case 8 : -case 12 : -case 136 : -case 140 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -} break; -case 9 : -case 13 : -case 137 : -case 141 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -} break; -case 10 : -case 138 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 11 : -case 139 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 14 : -case 142 : -{ -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(1, 0) = I2(3, 1, 4, 5); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I2(9, 7, 1, 3); - P(1, 0) = I2(1, 1, 1, 4); - P(0, 1) = I3(8, 5, 3, 4, 3, 1); -} -} break; -case 15 : -case 143 : -{ -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(3, 1, 4, 5); - P(0, 1) = I1(4); -} else { - P(0, 0) = I2(9, 7, 1, 3); - P(1, 0) = I2(1, 1, 1, 4); - P(0, 1) = I3(8, 5, 3, 4, 3, 1); -} -} break; -case 16 : -case 17 : -case 48 : -case 49 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -} break; -case 18 : -case 50 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 19 : -case 51 : -{ -P(0, 1) = I2(3, 1, 4, 3); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -if (MUR) { - P(0, 0) = I2(3, 1, 4, 3); - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(0, 0) = I2(1, 1, 1, 4); - P(1, 0) = I2(9, 7, 1, 5); - P(1, 1) = I3(8, 5, 3, 4, 5, 1); -} -} break; -case 20 : -case 21 : -case 52 : -case 53 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I2(7, 1, 4, 1); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -} break; -case 22 : -case 54 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 23 : -case 55 : -{ -P(0, 1) = I2(3, 1, 4, 3); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -if (MUR) { - P(0, 0) = I2(3, 1, 4, 3); - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(0, 0) = I2(1, 1, 1, 4); - P(1, 0) = I2(9, 7, 1, 5); - P(1, 1) = I3(8, 5, 3, 4, 5, 1); -} -} break; -case 24 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -} break; -case 25 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -} break; -case 26 : -case 31 : -{ -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 27 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 28 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(7, 1, 4, 1); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -} break; -case 29 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(7, 1, 4, 1); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -} break; -case 30 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I2(13, 3, 4, 0); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 40 : -case 44 : -case 168 : -case 172 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -} break; -case 41 : -case 45 : -case 169 : -case 173 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -} break; -case 42 : -case 170 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); - P(0, 2) = I2(7, 1, 4, 7); - P(0, 3) = I2(5, 3, 4, 7); -} else { - P(0, 0) = I3(4, 3, 1, 1, 3, 4); - P(0, 1) = I3(3, 3, 2, 3, 4, 1); - P(0, 2) = I3(9, 6, 1, 4, 3, 7); - P(0, 3) = I3(11, 3, 2, 4, 7, 3); -} -} break; -case 43 : -case 171 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); - P(0, 2) = I2(7, 1, 4, 7); - P(0, 3) = I2(5, 3, 4, 7); -} else { - P(0, 0) = I3(4, 3, 1, 1, 3, 4); - P(0, 1) = I3(3, 3, 2, 3, 4, 1); - P(0, 2) = I3(9, 6, 1, 4, 3, 7); - P(0, 3) = I3(11, 3, 2, 4, 7, 3); -} -} break; -case 46 : -case 174 : -{ -P(1, 0) = I2(3, 1, 4, 5); -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(5, 2, 1, 4, 1, 3); - P(0, 1) = I2(7, 1, 4, 3); -} -} break; -case 47 : -case 175 : -{ -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I3(11, 3, 2, 4, 5, 7); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I3(9, 4, 3, 4, 7, 5); -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(6, 1, 1, 4, 1, 3); -} -} break; -case 56 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -} break; -case 57 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -} break; -case 58 : -{ -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(5, 2, 1, 4, 1, 3); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(5, 2, 1, 4, 1, 5); - P(1, 1) = I2(7, 1, 4, 5); -} -} break; -case 59 : -{ -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(5, 2, 1, 4, 1, 5); - P(1, 1) = I2(7, 1, 4, 5); -} -} break; -case 60 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(7, 1, 4, 1); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -} break; -case 61 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(7, 1, 4, 1); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -} break; -case 62 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I2(13, 3, 4, 0); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 63 : -{ -P(0, 1) = I1(4); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I3(5, 2, 1, 4, 8, 7); -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(6, 1, 1, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 64 : -case 65 : -case 68 : -case 69 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(11, 5, 4, 8); -} break; -case 66 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(11, 5, 4, 8); -} break; -case 67 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(11, 5, 4, 8); -} break; -case 70 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(11, 5, 4, 8); -} break; -case 71 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(11, 5, 4, 8); -} break; -case 72 : -case 76 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -} break; -case 73 : -case 77 : -{ -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 0) = I2(5, 3, 4, 1); - P(0, 1) = I2(7, 1, 4, 1); - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 0) = I3(11, 3, 2, 4, 1, 3); - P(0, 1) = I3(9, 6, 1, 4, 3, 1); - P(0, 2) = I3(3, 3, 2, 3, 4, 7); - P(0, 3) = I3(4, 3, 1, 7, 3, 4); -} -} break; -case 74 : -case 107 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 75 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(11, 5, 4, 8); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 78 : -{ -P(1, 0) = I2(3, 1, 4, 5); -P(1, 1) = I2(3, 1, 4, 5); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(7, 1, 4, 3); - P(0, 3) = I3(5, 2, 1, 4, 7, 3); -} -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(5, 2, 1, 4, 1, 3); - P(0, 1) = I2(7, 1, 4, 3); -} -} break; -case 79 : -{ -P(1, 0) = I2(3, 1, 4, 5); -P(1, 1) = I2(3, 1, 4, 5); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(7, 1, 4, 3); - P(0, 3) = I3(5, 2, 1, 4, 7, 3); -} -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 80 : -case 81 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -} break; -case 82 : -case 214 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 83 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(0, 1) = I2(3, 1, 4, 3); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(7, 1, 4, 5); - P(1, 3) = I3(5, 2, 1, 4, 7, 5); -} -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(5, 2, 1, 4, 1, 5); - P(1, 1) = I2(7, 1, 4, 5); -} -} break; -case 84 : -case 85 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 0) = I2(5, 3, 4, 1); - P(1, 1) = I2(7, 1, 4, 1); - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 0) = I3(11, 3, 2, 4, 1, 5); - P(1, 1) = I3(9, 6, 1, 4, 5, 1); - P(1, 2) = I3(3, 3, 2, 4, 5, 7); - P(1, 3) = I3(4, 3, 1, 7, 5, 4); -} -} break; -case 86 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(11, 5, 4, 8); -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 87 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(0, 1) = I2(3, 1, 4, 3); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(7, 1, 4, 5); - P(1, 3) = I3(5, 2, 1, 4, 7, 5); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 88 : -case 248 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(13, 3, 4, 2); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -} break; -case 89 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(13, 3, 4, 2); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(7, 1, 4, 3); - P(0, 3) = I3(5, 2, 1, 4, 7, 3); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(7, 1, 4, 5); - P(1, 3) = I3(5, 2, 1, 4, 7, 5); -} -} break; -case 90 : -{ -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(7, 1, 4, 3); - P(0, 3) = I3(5, 2, 1, 4, 7, 3); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(7, 1, 4, 5); - P(1, 3) = I3(5, 2, 1, 4, 7, 5); -} -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(5, 2, 1, 4, 1, 3); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(5, 2, 1, 4, 1, 5); - P(1, 1) = I2(7, 1, 4, 5); -} -} break; -case 91 : -{ -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(7, 1, 4, 3); - P(0, 3) = I3(5, 2, 1, 4, 7, 3); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(7, 1, 4, 5); - P(1, 3) = I3(5, 2, 1, 4, 7, 5); -} -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(5, 2, 1, 4, 1, 5); - P(1, 1) = I2(7, 1, 4, 5); -} -} break; -case 92 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(7, 1, 4, 1); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(7, 1, 4, 3); - P(0, 3) = I3(5, 2, 1, 4, 7, 3); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(7, 1, 4, 5); - P(1, 3) = I3(5, 2, 1, 4, 7, 5); -} -} break; -case 93 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(7, 1, 4, 1); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(7, 1, 4, 3); - P(0, 3) = I3(5, 2, 1, 4, 7, 3); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(7, 1, 4, 5); - P(1, 3) = I3(5, 2, 1, 4, 7, 5); -} -} break; -case 94 : -{ -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(7, 1, 4, 3); - P(0, 3) = I3(5, 2, 1, 4, 7, 3); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(7, 1, 4, 5); - P(1, 3) = I3(5, 2, 1, 4, 7, 5); -} -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(5, 2, 1, 4, 1, 3); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 95 : -{ -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(11, 5, 4, 8); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 96 : -case 97 : -case 100 : -case 101 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(0, 3) = I2(3, 1, 4, 3); -P(1, 3) = I2(11, 5, 4, 8); -} break; -case 98 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(0, 3) = I2(3, 1, 4, 3); -P(1, 3) = I2(11, 5, 4, 8); -} break; -case 99 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(0, 3) = I2(3, 1, 4, 3); -P(1, 3) = I2(11, 5, 4, 8); -} break; -case 102 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(0, 3) = I2(3, 1, 4, 3); -P(1, 3) = I2(11, 5, 4, 8); -} break; -case 103 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(0, 3) = I2(3, 1, 4, 3); -P(1, 3) = I2(11, 5, 4, 8); -} break; -case 104 : -case 108 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -} break; -case 105 : -case 109 : -{ -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 0) = I2(5, 3, 4, 1); - P(0, 1) = I2(7, 1, 4, 1); - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 0) = I3(11, 3, 2, 4, 1, 3); - P(0, 1) = I3(9, 6, 1, 4, 3, 1); - P(0, 2) = I3(3, 3, 2, 3, 4, 7); - P(0, 3) = I3(4, 3, 1, 7, 3, 4); -} -} break; -case 106 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -} break; -case 110 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(3, 1, 4, 5); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -} break; -case 111 : -{ -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(3, 1, 4, 5); -P(1, 2) = I3(6, 1, 1, 4, 5, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(6, 1, 1, 4, 1, 3); -} -} break; -case 112 : -case 113 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(3, 1, 4, 3); -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(0, 3) = I2(3, 1, 4, 3); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I3(8, 5, 3, 4, 5, 7); - P(0, 3) = I2(1, 1, 4, 7); - P(1, 3) = I2(9, 7, 7, 5); -} -} break; -case 114 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(0, 2) = I2(3, 1, 4, 3); -P(0, 3) = I2(3, 1, 4, 3); -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(7, 1, 4, 5); - P(1, 3) = I3(5, 2, 1, 4, 7, 5); -} -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(5, 2, 1, 4, 1, 5); - P(1, 1) = I2(7, 1, 4, 5); -} -} break; -case 115 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(0, 1) = I2(3, 1, 4, 3); -P(0, 2) = I2(3, 1, 4, 3); -P(0, 3) = I2(3, 1, 4, 3); -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(7, 1, 4, 5); - P(1, 3) = I3(5, 2, 1, 4, 7, 5); -} -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(5, 2, 1, 4, 1, 5); - P(1, 1) = I2(7, 1, 4, 5); -} -} break; -case 116 : -case 117 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I2(7, 1, 4, 1); -P(0, 2) = I2(3, 1, 4, 3); -P(0, 3) = I2(3, 1, 4, 3); -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(7, 1, 4, 5); - P(1, 3) = I3(5, 2, 1, 4, 7, 5); -} -} break; -case 118 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I2(3, 1, 4, 3); -P(1, 3) = I2(11, 5, 4, 8); -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 119 : -{ -P(0, 1) = I2(3, 1, 4, 3); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I2(13, 3, 4, 8); -P(0, 3) = I2(3, 1, 4, 3); -P(1, 3) = I2(11, 5, 4, 8); -if (MUR) { - P(0, 0) = I2(3, 1, 4, 3); - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(0, 0) = I2(1, 1, 1, 4); - P(1, 0) = I2(9, 7, 1, 5); - P(1, 1) = I3(8, 5, 3, 4, 5, 1); -} -} break; -case 120 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(13, 3, 4, 2); -P(1, 2) = I2(13, 3, 4, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -} break; -case 121 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(13, 3, 4, 2); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(7, 1, 4, 5); - P(1, 3) = I3(5, 2, 1, 4, 7, 5); -} -} break; -case 122 : -{ -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -if (MDR) { - P(1, 2) = I2(13, 3, 4, 8); - P(1, 3) = I2(11, 5, 4, 8); -} else { - P(1, 2) = I2(7, 1, 4, 5); - P(1, 3) = I3(5, 2, 1, 4, 7, 5); -} -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(5, 2, 1, 4, 1, 3); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(5, 2, 1, 4, 1, 5); - P(1, 1) = I2(7, 1, 4, 5); -} -} break; -case 123 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I2(13, 3, 4, 2); -P(1, 2) = I2(13, 3, 4, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 124 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(7, 1, 4, 1); -P(1, 2) = I2(13, 3, 4, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -} break; -case 125 : -{ -P(1, 0) = I2(5, 3, 4, 1); -P(1, 1) = I2(7, 1, 4, 1); -P(1, 2) = I2(13, 3, 4, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 0) = I2(5, 3, 4, 1); - P(0, 1) = I2(7, 1, 4, 1); - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 0) = I3(11, 3, 2, 4, 1, 3); - P(0, 1) = I3(9, 6, 1, 4, 3, 1); - P(0, 2) = I3(3, 3, 2, 3, 4, 7); - P(0, 3) = I3(4, 3, 1, 7, 3, 4); -} -} break; -case 126 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 2) = I2(13, 3, 4, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 127 : -{ -P(0, 1) = I1(4); -P(1, 2) = I2(13, 3, 4, 8); -P(1, 3) = I2(11, 5, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(6, 1, 1, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 144 : -case 145 : -case 176 : -case 177 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I2(5, 3, 4, 7); -} break; -case 146 : -case 178 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); - P(1, 2) = I2(7, 1, 4, 7); - P(1, 3) = I2(5, 3, 4, 7); -} else { - P(1, 0) = I3(4, 3, 1, 1, 5, 4); - P(1, 1) = I3(3, 3, 2, 4, 5, 1); - P(1, 2) = I3(9, 6, 1, 4, 5, 7); - P(1, 3) = I3(11, 3, 2, 4, 7, 5); -} -} break; -case 147 : -case 179 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(0, 1) = I2(3, 1, 4, 3); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I2(5, 3, 4, 7); -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(5, 2, 1, 4, 1, 5); - P(1, 1) = I2(7, 1, 4, 5); -} -} break; -case 148 : -case 149 : -case 180 : -case 181 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I2(7, 1, 4, 1); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I2(5, 3, 4, 7); -} break; -case 150 : -case 182 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); - P(1, 2) = I2(7, 1, 4, 7); - P(1, 3) = I2(5, 3, 4, 7); -} else { - P(1, 0) = I3(4, 3, 1, 1, 5, 4); - P(1, 1) = I3(3, 3, 2, 4, 5, 1); - P(1, 2) = I3(9, 6, 1, 4, 5, 7); - P(1, 3) = I3(11, 3, 2, 4, 7, 5); -} -} break; -case 151 : -case 183 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(11, 3, 2, 4, 3, 7); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I3(9, 4, 3, 4, 7, 3); -P(1, 3) = I2(5, 3, 4, 7); -if (MUR) { - P(1, 0) = I1(4); -} else { - P(1, 0) = I3(6, 1, 1, 4, 1, 5); -} -} break; -case 152 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I2(5, 3, 4, 7); -} break; -case 153 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I2(5, 3, 4, 7); -} break; -case 154 : -{ -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I2(5, 3, 4, 7); -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(5, 2, 1, 4, 1, 3); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(5, 2, 1, 4, 1, 5); - P(1, 1) = I2(7, 1, 4, 5); -} -} break; -case 155 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I2(5, 3, 4, 7); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 156 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(7, 1, 4, 1); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I2(5, 3, 4, 7); -} break; -case 157 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(7, 1, 4, 1); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I2(5, 3, 4, 7); -} break; -case 158 : -{ -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I2(5, 3, 4, 7); -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(5, 2, 1, 4, 1, 3); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 159 : -{ -P(1, 1) = I1(4); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I3(5, 2, 1, 4, 6, 7); -P(1, 3) = I2(5, 3, 4, 7); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I1(4); -} else { - P(1, 0) = I3(6, 1, 1, 4, 1, 5); -} -} break; -case 184 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I2(5, 3, 4, 7); -} break; -case 185 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I2(5, 3, 4, 7); -} break; -case 186 : -{ -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I2(5, 3, 4, 7); -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(5, 2, 1, 4, 1, 3); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(5, 2, 1, 4, 1, 5); - P(1, 1) = I2(7, 1, 4, 5); -} -} break; -case 187 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I2(13, 3, 4, 2); -P(1, 2) = I2(7, 1, 4, 7); -P(1, 3) = I2(5, 3, 4, 7); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); - P(0, 2) = I2(7, 1, 4, 7); - P(0, 3) = I2(5, 3, 4, 7); -} else { - P(0, 0) = I3(4, 3, 1, 1, 3, 4); - P(0, 1) = I3(3, 3, 2, 3, 4, 1); - P(0, 2) = I3(9, 6, 1, 4, 3, 7); - P(0, 3) = I3(11, 3, 2, 4, 7, 3); -} -} break; -case 188 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(7, 1, 4, 1); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I2(5, 3, 4, 7); -} break; -case 189 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(7, 1, 4, 1); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I2(5, 3, 4, 7); -} break; -case 190 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I2(13, 3, 4, 0); -P(0, 2) = I2(7, 1, 4, 7); -P(0, 3) = I2(5, 3, 4, 7); -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); - P(1, 2) = I2(7, 1, 4, 7); - P(1, 3) = I2(5, 3, 4, 7); -} else { - P(1, 0) = I3(4, 3, 1, 1, 5, 4); - P(1, 1) = I3(3, 3, 2, 4, 5, 1); - P(1, 2) = I3(9, 6, 1, 4, 5, 7); - P(1, 3) = I3(11, 3, 2, 4, 7, 5); -} -} break; -case 191 : -{ -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(7, 1, 4, 7); -P(1, 2) = I2(7, 1, 4, 7); -P(0, 3) = I2(5, 3, 4, 7); -P(1, 3) = I2(5, 3, 4, 7); -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(6, 1, 1, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I1(4); -} else { - P(1, 0) = I3(6, 1, 1, 4, 1, 5); -} -} break; -case 192 : -case 193 : -case 196 : -case 197 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(1, 2) = I2(3, 1, 4, 5); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(3, 1, 4, 5); -} break; -case 194 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(1, 2) = I2(3, 1, 4, 5); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(3, 1, 4, 5); -} break; -case 195 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(1, 2) = I2(3, 1, 4, 5); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(3, 1, 4, 5); -} break; -case 198 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(1, 2) = I2(3, 1, 4, 5); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(3, 1, 4, 5); -} break; -case 199 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(1, 2) = I2(3, 1, 4, 5); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(3, 1, 4, 5); -} break; -case 200 : -case 204 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(1, 2) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); - P(1, 3) = I2(3, 1, 4, 5); -} else { - P(0, 2) = I3(8, 5, 3, 4, 3, 7); - P(0, 3) = I2(9, 7, 7, 3); - P(1, 3) = I2(1, 1, 4, 7); -} -} break; -case 201 : -case 205 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(1, 2) = I2(3, 1, 4, 5); -P(1, 3) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(7, 1, 4, 3); - P(0, 3) = I3(5, 2, 1, 4, 7, 3); -} -} break; -case 202 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(1, 2) = I2(3, 1, 4, 5); -P(1, 3) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(7, 1, 4, 3); - P(0, 3) = I3(5, 2, 1, 4, 7, 3); -} -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(5, 2, 1, 4, 1, 3); - P(0, 1) = I2(7, 1, 4, 3); -} -} break; -case 203 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(3, 1, 4, 5); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(3, 1, 4, 5); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 206 : -{ -P(1, 0) = I2(3, 1, 4, 5); -P(1, 1) = I2(3, 1, 4, 5); -P(1, 2) = I2(3, 1, 4, 5); -P(1, 3) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(7, 1, 4, 3); - P(0, 3) = I3(5, 2, 1, 4, 7, 3); -} -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(5, 2, 1, 4, 1, 3); - P(0, 1) = I2(7, 1, 4, 3); -} -} break; -case 207 : -{ -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(13, 3, 4, 6); -P(1, 2) = I2(3, 1, 4, 5); -P(0, 3) = I2(11, 5, 4, 6); -P(1, 3) = I2(3, 1, 4, 5); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I2(3, 1, 4, 5); - P(0, 1) = I1(4); -} else { - P(0, 0) = I2(9, 7, 1, 3); - P(1, 0) = I2(1, 1, 1, 4); - P(0, 1) = I3(8, 5, 3, 4, 3, 1); -} -} break; -case 208 : -case 209 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -} break; -case 210 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -} break; -case 211 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -} break; -case 212 : -case 213 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 0) = I2(5, 3, 4, 1); - P(1, 1) = I2(7, 1, 4, 1); - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 0) = I3(11, 3, 2, 4, 1, 5); - P(1, 1) = I3(9, 6, 1, 4, 5, 1); - P(1, 2) = I3(3, 3, 2, 4, 5, 7); - P(1, 3) = I3(4, 3, 1, 7, 5, 4); -} -} break; -case 215 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(6, 1, 1, 4, 3, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -if (MUR) { - P(1, 0) = I1(4); -} else { - P(1, 0) = I3(6, 1, 1, 4, 1, 5); -} -} break; -case 216 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(13, 3, 4, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -} break; -case 217 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(13, 3, 4, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -} break; -case 218 : -{ -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(7, 1, 4, 3); - P(0, 3) = I3(5, 2, 1, 4, 7, 3); -} -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(5, 2, 1, 4, 1, 3); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(5, 2, 1, 4, 1, 5); - P(1, 1) = I2(7, 1, 4, 5); -} -} break; -case 219 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(13, 3, 4, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 220 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(7, 1, 4, 1); -if (MDL) { - P(0, 2) = I2(13, 3, 4, 6); - P(0, 3) = I2(11, 5, 4, 6); -} else { - P(0, 2) = I2(7, 1, 4, 3); - P(0, 3) = I3(5, 2, 1, 4, 7, 3); -} -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -} break; -case 221 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(0, 2) = I2(13, 3, 4, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 0) = I2(5, 3, 4, 1); - P(1, 1) = I2(7, 1, 4, 1); - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 0) = I3(11, 3, 2, 4, 1, 5); - P(1, 1) = I3(9, 6, 1, 4, 5, 1); - P(1, 2) = I3(3, 3, 2, 4, 5, 7); - P(1, 3) = I3(4, 3, 1, 7, 5, 4); -} -} break; -case 222 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I2(13, 3, 4, 0); -P(0, 2) = I2(13, 3, 4, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 223 : -{ -P(1, 1) = I1(4); -P(0, 2) = I2(13, 3, 4, 6); -P(0, 3) = I2(11, 5, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I1(4); -} else { - P(1, 0) = I3(6, 1, 1, 4, 1, 5); -} -} break; -case 224 : -case 225 : -case 228 : -case 229 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I2(3, 1, 4, 5); -P(0, 3) = I2(3, 1, 4, 3); -P(1, 3) = I2(3, 1, 4, 5); -} break; -case 226 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I2(3, 1, 4, 5); -P(0, 3) = I2(3, 1, 4, 3); -P(1, 3) = I2(3, 1, 4, 5); -} break; -case 227 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I2(3, 1, 4, 5); -P(0, 3) = I2(3, 1, 4, 3); -P(1, 3) = I2(3, 1, 4, 5); -} break; -case 230 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I2(3, 1, 4, 5); -P(0, 3) = I2(3, 1, 4, 3); -P(1, 3) = I2(3, 1, 4, 5); -} break; -case 231 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I2(3, 1, 4, 5); -P(0, 3) = I2(3, 1, 4, 3); -P(1, 3) = I2(3, 1, 4, 5); -} break; -case 232 : -case 236 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(1, 2) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); - P(1, 3) = I2(3, 1, 4, 5); -} else { - P(0, 2) = I3(8, 5, 3, 4, 3, 7); - P(0, 3) = I2(9, 7, 7, 3); - P(1, 3) = I2(1, 1, 4, 7); -} -} break; -case 233 : -case 237 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I3(9, 4, 3, 4, 1, 5); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I3(11, 3, 2, 4, 5, 1); -P(0, 2) = I1(4); -P(1, 2) = I2(3, 1, 4, 5); -P(1, 3) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 3) = I1(4); -} else { - P(0, 3) = I3(6, 1, 1, 4, 3, 7); -} -} break; -case 234 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(1, 2) = I2(3, 1, 4, 5); -P(1, 3) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -if (MUL) { - P(0, 0) = I2(11, 5, 4, 0); - P(0, 1) = I2(13, 3, 4, 0); -} else { - P(0, 0) = I3(5, 2, 1, 4, 1, 3); - P(0, 1) = I2(7, 1, 4, 3); -} -} break; -case 235 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I3(6, 1, 1, 4, 2, 5); -P(0, 2) = I1(4); -P(1, 2) = I2(3, 1, 4, 5); -P(1, 3) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 3) = I1(4); -} else { - P(0, 3) = I3(6, 1, 1, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 238 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(3, 1, 4, 5); -P(1, 2) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); - P(1, 3) = I2(3, 1, 4, 5); -} else { - P(0, 2) = I3(8, 5, 3, 4, 3, 7); - P(0, 3) = I2(9, 7, 7, 3); - P(1, 3) = I2(1, 1, 4, 7); -} -} break; -case 239 : -{ -P(1, 0) = I2(3, 1, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I2(3, 1, 4, 5); -P(0, 2) = I1(4); -P(1, 2) = I2(3, 1, 4, 5); -P(1, 3) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 3) = I1(4); -} else { - P(0, 3) = I3(6, 1, 1, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(6, 1, 1, 4, 1, 3); -} -} break; -case 240 : -case 241 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(3, 1, 4, 3); -if (MDR) { - P(1, 2) = I1(4); - P(0, 3) = I2(3, 1, 4, 3); - P(1, 3) = I1(4); -} else { - P(1, 2) = I3(8, 5, 3, 4, 5, 7); - P(0, 3) = I2(1, 1, 4, 7); - P(1, 3) = I2(9, 7, 7, 5); -} -} break; -case 242 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(0, 2) = I2(3, 1, 4, 3); -P(0, 3) = I2(3, 1, 4, 3); -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -if (MUR) { - P(1, 0) = I2(11, 5, 4, 2); - P(1, 1) = I2(13, 3, 4, 2); -} else { - P(1, 0) = I3(5, 2, 1, 4, 1, 5); - P(1, 1) = I2(7, 1, 4, 5); -} -} break; -case 243 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I2(3, 1, 4, 3); -if (MDR) { - P(1, 2) = I1(4); - P(0, 3) = I2(3, 1, 4, 3); - P(1, 3) = I1(4); -} else { - P(1, 2) = I3(8, 5, 3, 4, 5, 7); - P(0, 3) = I2(1, 1, 4, 7); - P(1, 3) = I2(9, 7, 7, 5); -} -} break; -case 244 : -case 245 : -{ -P(0, 0) = I3(9, 4, 3, 4, 1, 3); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I3(11, 3, 2, 4, 3, 1); -P(1, 1) = I2(7, 1, 4, 1); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(0, 3) = I2(3, 1, 4, 3); -if (MDR) { - P(1, 3) = I1(4); -} else { - P(1, 3) = I3(6, 1, 1, 4, 5, 7); -} -} break; -case 246 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I3(6, 1, 1, 4, 0, 3); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(0, 3) = I2(3, 1, 4, 3); -if (MDR) { - P(1, 3) = I1(4); -} else { - P(1, 3) = I3(6, 1, 1, 4, 5, 7); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 247 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(0, 3) = I2(3, 1, 4, 3); -if (MDR) { - P(1, 3) = I1(4); -} else { - P(1, 3) = I3(6, 1, 1, 4, 5, 7); -} -if (MUR) { - P(1, 0) = I1(4); -} else { - P(1, 0) = I3(6, 1, 1, 4, 1, 5); -} -} break; -case 249 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I3(5, 2, 1, 4, 2, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I1(4); -if (MDL) { - P(0, 3) = I1(4); -} else { - P(0, 3) = I3(6, 1, 1, 4, 3, 7); -} -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -} break; -case 250 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(1, 0) = I2(11, 5, 4, 2); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(13, 3, 4, 2); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -} break; -case 251 : -{ -P(1, 0) = I2(11, 5, 4, 2); -P(1, 1) = I2(13, 3, 4, 2); -P(0, 2) = I1(4); -if (MDL) { - P(0, 3) = I1(4); -} else { - P(0, 3) = I3(6, 1, 1, 4, 3, 7); -} -if (MDR) { - P(1, 2) = I1(4); - P(1, 3) = I1(4); -} else { - P(1, 2) = I2(3, 1, 4, 5); - P(1, 3) = I3(2, 1, 1, 7, 4, 5); -} -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 1, 3, 4); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 252 : -{ -P(0, 0) = I3(5, 2, 1, 4, 0, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 1) = I2(7, 1, 4, 1); -P(1, 2) = I1(4); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -if (MDR) { - P(1, 3) = I1(4); -} else { - P(1, 3) = I3(6, 1, 1, 4, 5, 7); -} -} break; -case 253 : -{ -P(0, 0) = I2(5, 3, 4, 1); -P(1, 0) = I2(5, 3, 4, 1); -P(0, 1) = I2(7, 1, 4, 1); -P(1, 1) = I2(7, 1, 4, 1); -P(0, 2) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 3) = I1(4); -} else { - P(0, 3) = I3(6, 1, 1, 4, 3, 7); -} -if (MDR) { - P(1, 3) = I1(4); -} else { - P(1, 3) = I3(6, 1, 1, 4, 5, 7); -} -} break; -case 254 : -{ -P(0, 0) = I2(11, 5, 4, 0); -P(0, 1) = I2(13, 3, 4, 0); -P(1, 2) = I1(4); -if (MDL) { - P(0, 2) = I1(4); - P(0, 3) = I1(4); -} else { - P(0, 2) = I2(3, 1, 4, 3); - P(0, 3) = I3(2, 1, 1, 7, 3, 4); -} -if (MDR) { - P(1, 3) = I1(4); -} else { - P(1, 3) = I3(6, 1, 1, 4, 5, 7); -} -if (MUR) { - P(1, 0) = I1(4); - P(1, 1) = I1(4); -} else { - P(1, 0) = I3(2, 1, 1, 1, 4, 5); - P(1, 1) = I2(3, 1, 4, 5); -} -} break; -case 255 : -{ -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 3) = I1(4); -} else { - P(0, 3) = I3(6, 1, 1, 4, 3, 7); -} -if (MDR) { - P(1, 3) = I1(4); -} else { - P(1, 3) = I3(6, 1, 1, 4, 5, 7); -} -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(6, 1, 1, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I1(4); -} else { - P(1, 0) = I3(6, 1, 1, 4, 1, 5); -} -} break; diff --git a/src/hq3x.dat b/src/hq3x.dat deleted file mode 100644 index 04168fba..00000000 --- a/src/hq3x.dat +++ /dev/null @@ -1,2913 +0,0 @@ -/* - * This file is part of the Advance project. - * - * Copyright (C) 2004 Andrea Mazzoleni - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - * In addition, as a special exception, Andrea Mazzoleni - * gives permission to link the code of this program with - * the MAME library (or with modified versions of MAME that use the - * same license as MAME), and distribute linked combinations including - * the two. You must obey the GNU General Public License in all - * respects for all of the code used other than MAME. If you modify - * this file, you may extend this exception to your version of the - * file, but you are not obligated to do so. If you do not wish to - * do so, delete this exception statement from your version. - */ - -/* - * This effect is a rewritten implementation of the hq effect made by Maxim Stepin - */ - -case 0 : -case 1 : -case 4 : -case 5 : -case 32 : -case 33 : -case 36 : -case 37 : -case 128 : -case 129 : -case 132 : -case 133 : -case 160 : -case 161 : -case 164 : -case 165 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} break; -case 2 : -case 34 : -case 130 : -case 162 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} break; -case 3 : -case 35 : -case 131 : -case 163 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} break; -case 6 : -case 38 : -case 134 : -case 166 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} break; -case 7 : -case 39 : -case 135 : -case 167 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} break; -case 8 : -case 12 : -case 136 : -case 140 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} break; -case 9 : -case 13 : -case 137 : -case 141 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} break; -case 10 : -case 138 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); - P(1, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); - P(0, 1) = I2(7, 1, 4, 3); -} -} break; -case 11 : -case 139 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); - P(0, 1) = I2(7, 1, 4, 3); -} -} break; -case 14 : -case 142 : -{ -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); - P(1, 0) = I1(4); - P(2, 0) = I2(3, 1, 4, 5); - P(0, 1) = I1(4); -} else { - P(0, 0) = I2(1, 1, 1, 3); - P(1, 0) = I2(3, 1, 1, 4); - P(2, 0) = I3(2, 1, 1, 4, 1, 5); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 15 : -case 143 : -{ -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(2, 0) = I2(3, 1, 4, 5); - P(0, 1) = I1(4); -} else { - P(0, 0) = I2(1, 1, 1, 3); - P(1, 0) = I2(3, 1, 1, 4); - P(2, 0) = I3(2, 1, 1, 4, 1, 5); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 16 : -case 17 : -case 48 : -case 49 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 18 : -case 50 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I2(3, 1, 4, 2); - P(2, 1) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 19 : -case 51 : -{ -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -if (MUR) { - P(0, 0) = I2(3, 1, 4, 3); - P(1, 0) = I1(4); - P(2, 0) = I2(3, 1, 4, 2); - P(2, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); - P(1, 0) = I2(3, 1, 1, 4); - P(2, 0) = I2(1, 1, 1, 5); - P(2, 1) = I2(3, 1, 4, 5); -} -} break; -case 20 : -case 21 : -case 52 : -case 53 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 22 : -case 54 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 23 : -case 55 : -{ -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -if (MUR) { - P(0, 0) = I2(3, 1, 4, 3); - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); - P(1, 0) = I2(3, 1, 1, 4); - P(2, 0) = I2(1, 1, 1, 5); - P(2, 1) = I2(3, 1, 4, 5); -} -} break; -case 24 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 25 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 26 : -case 31 : -{ -P(1, 0) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 27 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); - P(0, 1) = I2(7, 1, 4, 3); -} -} break; -case 28 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 29 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 30 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 40 : -case 44 : -case 168 : -case 172 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} break; -case 41 : -case 45 : -case 169 : -case 173 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} break; -case 42 : -case 170 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); - P(1, 0) = I1(4); - P(0, 1) = I1(4); - P(0, 2) = I2(3, 1, 4, 7); -} else { - P(0, 0) = I2(1, 1, 1, 3); - P(1, 0) = I2(3, 1, 4, 1); - P(0, 1) = I2(3, 1, 3, 4); - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -} break; -case 43 : -case 171 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(0, 1) = I1(4); - P(0, 2) = I2(3, 1, 4, 7); -} else { - P(0, 0) = I2(1, 1, 1, 3); - P(1, 0) = I2(3, 1, 4, 1); - P(0, 1) = I2(3, 1, 3, 4); - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -} break; -case 46 : -case 174 : -{ -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -} break; -case 47 : -case 175 : -{ -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I3(2, 1, 1, 4, 5, 7); -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -} break; -case 56 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 57 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 58 : -{ -P(1, 0) = I1(4); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -if (MUR) { - P(2, 0) = I2(3, 1, 4, 2); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 59 : -{ -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(2, 0) = I2(3, 1, 4, 2); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 60 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 61 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 62 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 63 : -{ -P(1, 0) = I1(4); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 8); -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -if (MUR) { - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 64 : -case 65 : -case 68 : -case 69 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 66 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 67 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 70 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 71 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 72 : -case 76 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I2(3, 1, 4, 6); - P(1, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -} break; -case 73 : -case 77 : -{ -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 0) = I2(3, 1, 4, 1); - P(0, 1) = I1(4); - P(0, 2) = I2(3, 1, 4, 6); - P(1, 2) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); - P(0, 1) = I2(3, 1, 3, 4); - P(0, 2) = I2(1, 1, 3, 7); - P(1, 2) = I2(3, 1, 4, 7); -} -} break; -case 74 : -case 107 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); -} -} break; -case 75 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); - P(0, 1) = I2(7, 1, 4, 3); -} -} break; -case 78 : -{ -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 2) = I2(3, 1, 4, 6); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -} break; -case 79 : -{ -P(2, 0) = I2(3, 1, 4, 5); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 2) = I2(3, 1, 4, 6); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); - P(0, 1) = I2(7, 1, 4, 3); -} -} break; -case 80 : -case 81 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -} break; -case 82 : -case 214 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); -} -} break; -case 83 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -if (MDR) { - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -if (MUR) { - P(2, 0) = I2(3, 1, 4, 2); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 84 : -case 85 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(2, 0) = I2(3, 1, 4, 1); - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); - P(2, 1) = I2(3, 1, 5, 4); - P(1, 2) = I2(3, 1, 4, 7); - P(2, 2) = I2(1, 1, 5, 7); -} -} break; -case 86 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 87 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -if (MDR) { - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 88 : -case 248 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); -} -if (MDR) { - P(2, 1) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -} break; -case 89 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 2) = I2(3, 1, 4, 6); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MDR) { - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 90 : -{ -P(1, 0) = I1(4); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 2) = I2(3, 1, 4, 6); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MDR) { - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -if (MUR) { - P(2, 0) = I2(3, 1, 4, 2); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 91 : -{ -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 2) = I2(3, 1, 4, 6); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MDR) { - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(2, 0) = I2(3, 1, 4, 2); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 92 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 2) = I2(3, 1, 4, 6); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MDR) { - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 93 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 2) = I2(3, 1, 4, 6); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MDR) { - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 94 : -{ -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 2) = I2(3, 1, 4, 6); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MDR) { - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 95 : -{ -P(1, 0) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 96 : -case 97 : -case 100 : -case 101 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 98 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 99 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 102 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 103 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -} break; -case 104 : -case 108 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -} break; -case 105 : -case 109 : -{ -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 0) = I2(3, 1, 4, 1); - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); - P(0, 1) = I2(3, 1, 3, 4); - P(0, 2) = I2(1, 1, 3, 7); - P(1, 2) = I2(3, 1, 4, 7); -} -} break; -case 106 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -} break; -case 110 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -} break; -case 111 : -{ -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -} break; -case 112 : -case 113 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -if (MDR) { - P(2, 1) = I1(4); - P(0, 2) = I2(3, 1, 4, 3); - P(1, 2) = I1(4); - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 1) = I2(3, 1, 4, 5); - P(0, 2) = I3(2, 1, 1, 4, 3, 7); - P(1, 2) = I2(3, 1, 7, 4); - P(2, 2) = I2(1, 1, 5, 7); -} -} break; -case 114 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -if (MDR) { - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -if (MUR) { - P(2, 0) = I2(3, 1, 4, 2); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 115 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -if (MDR) { - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -if (MUR) { - P(2, 0) = I2(3, 1, 4, 2); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 116 : -case 117 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -if (MDR) { - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 118 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 119 : -{ -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -if (MUR) { - P(0, 0) = I2(3, 1, 4, 3); - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); - P(1, 0) = I2(3, 1, 1, 4); - P(2, 0) = I2(1, 1, 1, 5); - P(2, 1) = I2(3, 1, 4, 5); -} -} break; -case 120 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -} break; -case 121 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -if (MDR) { - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 122 : -{ -P(1, 0) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -if (MDR) { - P(2, 2) = I2(3, 1, 4, 8); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -if (MUR) { - P(2, 0) = I2(3, 1, 4, 2); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 123 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); -} -} break; -case 124 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -} break; -case 125 : -{ -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 0) = I2(3, 1, 4, 1); - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); - P(0, 1) = I2(3, 1, 3, 4); - P(0, 2) = I2(1, 1, 3, 7); - P(1, 2) = I2(3, 1, 4, 7); -} -} break; -case 126 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 1) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 127 : -{ -P(1, 1) = I1(4); -P(2, 2) = I2(3, 1, 4, 8); -if (MDL) { - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); - P(1, 0) = I2(7, 1, 4, 1); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 144 : -case 145 : -case 176 : -case 177 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -} break; -case 146 : -case 178 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I2(3, 1, 4, 2); - P(2, 1) = I1(4); - P(2, 2) = I2(3, 1, 4, 7); -} else { - P(1, 0) = I2(3, 1, 4, 1); - P(2, 0) = I2(1, 1, 1, 5); - P(2, 1) = I2(3, 1, 5, 4); - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 147 : -case 179 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -if (MUR) { - P(2, 0) = I2(3, 1, 4, 2); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 148 : -case 149 : -case 180 : -case 181 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -} break; -case 150 : -case 182 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); - P(2, 2) = I2(3, 1, 4, 7); -} else { - P(1, 0) = I2(3, 1, 4, 1); - P(2, 0) = I2(1, 1, 1, 5); - P(2, 1) = I2(3, 1, 5, 4); - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 151 : -case 183 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I3(2, 1, 1, 4, 3, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -if (MUR) { - P(2, 0) = I1(4); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 152 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -} break; -case 153 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -} break; -case 154 : -{ -P(1, 0) = I1(4); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -if (MUR) { - P(2, 0) = I2(3, 1, 4, 2); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 155 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); - P(0, 1) = I2(7, 1, 4, 3); -} -} break; -case 156 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -} break; -case 157 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -} break; -case 158 : -{ -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 159 : -{ -P(1, 0) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(2, 0) = I1(4); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 184 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -} break; -case 185 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -} break; -case 186 : -{ -P(1, 0) = I1(4); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -if (MUR) { - P(2, 0) = I2(3, 1, 4, 2); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 187 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(0, 1) = I1(4); - P(0, 2) = I2(3, 1, 4, 7); -} else { - P(0, 0) = I2(1, 1, 1, 3); - P(1, 0) = I2(3, 1, 4, 1); - P(0, 1) = I2(3, 1, 3, 4); - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -} break; -case 188 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -} break; -case 189 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -} break; -case 190 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); - P(2, 2) = I2(3, 1, 4, 7); -} else { - P(1, 0) = I2(3, 1, 4, 1); - P(2, 0) = I2(1, 1, 1, 5); - P(2, 1) = I2(3, 1, 5, 4); - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 191 : -{ -P(1, 0) = I1(4); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 7); -P(1, 2) = I2(3, 1, 4, 7); -P(2, 2) = I2(3, 1, 4, 7); -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -if (MUR) { - P(2, 0) = I1(4); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 192 : -case 193 : -case 196 : -case 197 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -} break; -case 194 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -} break; -case 195 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -} break; -case 198 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -} break; -case 199 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -} break; -case 200 : -case 204 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I2(3, 1, 4, 6); - P(1, 2) = I1(4); - P(2, 2) = I2(3, 1, 4, 5); -} else { - P(0, 1) = I2(3, 1, 4, 3); - P(0, 2) = I2(1, 1, 3, 7); - P(1, 2) = I2(3, 1, 7, 4); - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 201 : -case 205 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 2) = I2(3, 1, 4, 6); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -} break; -case 202 : -{ -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 2) = I2(3, 1, 4, 6); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -} break; -case 203 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); - P(0, 1) = I2(7, 1, 4, 3); -} -} break; -case 206 : -{ -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 2) = I2(3, 1, 4, 6); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -} break; -case 207 : -{ -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 6); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(2, 0) = I2(3, 1, 4, 5); - P(0, 1) = I1(4); -} else { - P(0, 0) = I2(1, 1, 1, 3); - P(1, 0) = I2(3, 1, 1, 4); - P(2, 0) = I3(2, 1, 1, 4, 1, 5); - P(0, 1) = I2(3, 1, 4, 3); -} -} break; -case 208 : -case 209 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -} break; -case 210 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -} break; -case 211 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -} break; -case 212 : -case 213 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(2, 0) = I2(3, 1, 4, 1); - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); - P(2, 1) = I2(3, 1, 5, 4); - P(1, 2) = I2(3, 1, 4, 7); - P(2, 2) = I2(1, 1, 5, 7); -} -} break; -case 215 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -if (MUR) { - P(2, 0) = I1(4); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 216 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -} break; -case 217 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -} break; -case 218 : -{ -P(1, 0) = I1(4); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -if (MDL) { - P(0, 2) = I2(3, 1, 4, 6); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MDR) { - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -if (MUR) { - P(2, 0) = I2(3, 1, 4, 2); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 219 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); - P(0, 1) = I2(7, 1, 4, 3); -} -} break; -case 220 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -if (MDL) { - P(0, 2) = I2(3, 1, 4, 6); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MDR) { - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -} break; -case 221 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(2, 0) = I2(3, 1, 4, 1); - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); - P(2, 1) = I2(3, 1, 5, 4); - P(1, 2) = I2(3, 1, 4, 7); - P(2, 2) = I2(1, 1, 5, 7); -} -} break; -case 222 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); -} -} break; -case 223 : -{ -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 6); -if (MDR) { - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -if (MUL) { - P(0, 0) = I1(4); - P(0, 1) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(0, 1) = I2(7, 1, 4, 3); -} -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); - P(2, 1) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(2, 1, 1, 4, 1, 5); - P(2, 1) = I2(7, 1, 4, 5); -} -} break; -case 224 : -case 225 : -case 228 : -case 229 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -} break; -case 226 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -} break; -case 227 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -} break; -case 230 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -} break; -case 231 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -} break; -case 232 : -case 236 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I2(3, 1, 4, 5); -} else { - P(0, 1) = I2(3, 1, 4, 3); - P(0, 2) = I2(1, 1, 3, 7); - P(1, 2) = I2(3, 1, 7, 4); - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 233 : -case 237 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I3(2, 1, 1, 4, 1, 5); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 2) = I1(4); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -} break; -case 234 : -{ -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(2, 2) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); - P(1, 2) = I2(7, 1, 4, 7); -} -if (MUL) { - P(0, 0) = I2(3, 1, 4, 0); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -} break; -case 235 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 2) = I1(4); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); -} -} break; -case 238 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I2(3, 1, 4, 5); -} else { - P(0, 1) = I2(3, 1, 4, 3); - P(0, 2) = I2(1, 1, 3, 7); - P(1, 2) = I2(3, 1, 7, 4); - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 239 : -{ -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 5); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I2(3, 1, 4, 5); -P(1, 2) = I1(4); -P(2, 2) = I2(3, 1, 4, 5); -if (MDL) { - P(0, 2) = I1(4); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -} break; -case 240 : -case 241 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -if (MDR) { - P(2, 1) = I1(4); - P(0, 2) = I2(3, 1, 4, 3); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(3, 1, 4, 5); - P(0, 2) = I3(2, 1, 1, 4, 3, 7); - P(1, 2) = I2(3, 1, 7, 4); - P(2, 2) = I2(1, 1, 5, 7); -} -} break; -case 242 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 3); -if (MDR) { - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -if (MUR) { - P(2, 0) = I2(3, 1, 4, 2); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 243 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -if (MDR) { - P(2, 1) = I1(4); - P(0, 2) = I2(3, 1, 4, 3); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(3, 1, 4, 5); - P(0, 2) = I3(2, 1, 1, 4, 3, 7); - P(1, 2) = I2(3, 1, 7, 4); - P(2, 2) = I2(1, 1, 5, 7); -} -} break; -case 244 : -case 245 : -{ -P(0, 0) = I3(2, 1, 1, 4, 1, 3); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -if (MDR) { - P(2, 2) = I1(4); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 246 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -if (MDR) { - P(2, 2) = I1(4); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); -} -} break; -case 247 : -{ -P(0, 0) = I2(3, 1, 4, 3); -P(1, 0) = I1(4); -P(0, 1) = I2(3, 1, 4, 3); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(0, 2) = I2(3, 1, 4, 3); -P(1, 2) = I1(4); -if (MDR) { - P(2, 2) = I1(4); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -if (MUR) { - P(2, 0) = I1(4); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; -case 249 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 2); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 2) = I1(4); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MDR) { - P(2, 1) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -} break; -case 250 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I1(4); -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); -} -if (MDR) { - P(2, 1) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -} break; -case 251 : -{ -P(2, 0) = I2(3, 1, 4, 2); -P(1, 1) = I1(4); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); - P(1, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(2, 1, 1, 4, 3, 7); - P(1, 2) = I2(7, 1, 4, 7); -} -if (MDR) { - P(2, 1) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(2, 2) = I3(7, 7, 2, 5, 7, 4); -} -if (MUL) { - P(0, 0) = I1(4); - P(1, 0) = I1(4); -} else { - P(0, 0) = I3(7, 7, 2, 1, 3, 4); - P(1, 0) = I2(7, 1, 4, 1); -} -} break; -case 252 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); -} -if (MDR) { - P(2, 2) = I1(4); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 253 : -{ -P(0, 0) = I2(3, 1, 4, 1); -P(1, 0) = I2(3, 1, 4, 1); -P(2, 0) = I2(3, 1, 4, 1); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 2) = I1(4); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MDR) { - P(2, 2) = I1(4); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -} break; -case 254 : -{ -P(0, 0) = I2(3, 1, 4, 0); -P(1, 1) = I1(4); -if (MDL) { - P(0, 1) = I1(4); - P(0, 2) = I1(4); -} else { - P(0, 1) = I2(7, 1, 4, 3); - P(0, 2) = I3(7, 7, 2, 3, 7, 4); -} -if (MDR) { - P(2, 1) = I1(4); - P(1, 2) = I1(4); - P(2, 2) = I1(4); -} else { - P(2, 1) = I2(7, 1, 4, 5); - P(1, 2) = I2(7, 1, 4, 7); - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -if (MUR) { - P(1, 0) = I1(4); - P(2, 0) = I1(4); -} else { - P(1, 0) = I2(7, 1, 4, 1); - P(2, 0) = I3(7, 7, 2, 1, 5, 4); -} -} break; -case 255 : -{ -P(1, 0) = I1(4); -P(0, 1) = I1(4); -P(1, 1) = I1(4); -P(2, 1) = I1(4); -P(1, 2) = I1(4); -if (MDL) { - P(0, 2) = I1(4); -} else { - P(0, 2) = I3(2, 1, 1, 4, 3, 7); -} -if (MDR) { - P(2, 2) = I1(4); -} else { - P(2, 2) = I3(2, 1, 1, 4, 5, 7); -} -if (MUL) { - P(0, 0) = I1(4); -} else { - P(0, 0) = I3(2, 1, 1, 4, 1, 3); -} -if (MUR) { - P(2, 0) = I1(4); -} else { - P(2, 0) = I3(2, 1, 1, 4, 1, 5); -} -} break; diff --git a/src/hq4x.cpp b/src/hq4x.cpp deleted file mode 100644 index eca1bb7c..00000000 --- a/src/hq4x.cpp +++ /dev/null @@ -1,212 +0,0 @@ -/* - * This file is part of the Advance project. - * - * Copyright (C) 2003 Andrea Mazzoleni - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - * In addition, as a special exception, Andrea Mazzoleni - * gives permission to link the code of this program with - * the MAME library (or with modified versions of MAME that use the - * same license as MAME), and distribute linked combinations including - * the two. You must obey the GNU General Public License in all - * respects for all of the code used other than MAME. If you modify - * this file, you may extend this exception to your version of the - * file, but you are not obligated to do so. If you do not wish to - * do so, delete this exception statement from your version. - */ - -#include "System.h" -#include "portable.h" - -#include "hq4x.h" - -#include - -/***************************************************************************/ -/* HQ4x C implementation */ - -/* - * This effect is a rewritten implementation of the hq4x effect made by Maxim Stepin - */ - -void hq4x_16_def(interp_uint16* dst0, interp_uint16* dst1, interp_uint16* dst2, interp_uint16* dst3, const interp_uint16* src0, const interp_uint16* src1, const interp_uint16* src2, unsigned count) -{ - unsigned i; - - for(i=0;i0) { - c[0] = src0[-1]; - c[3] = src1[-1]; - c[6] = src2[-1]; - } else { - c[0] = c[1]; - c[3] = c[4]; - c[6] = c[7]; - } - - if (i0) { - c[0] = src0[-1]; - c[3] = src1[-1]; - c[6] = src2[-1]; - } else { - c[0] = c[1]; - c[3] = c[4]; - c[6] = c[7]; - } - - if (i - -/***************************************************************************/ -/* LQ3x C implementation */ - -/* - * This effect is derived from the hq3x effect made by Maxim Stepin - */ - -void lq3x_16_def(interp_uint16* dst0, interp_uint16* dst1, interp_uint16* dst2, const interp_uint16* src0, const interp_uint16* src1, const interp_uint16* src2, unsigned count) -{ - unsigned i; - - for(i=0;i0) { - c[0] = src0[-1]; - c[3] = src1[-1]; - c[6] = src2[-1]; - } else { - c[0] = c[1]; - c[3] = c[4]; - c[6] = c[7]; - } - - if (i0) { - c[0] = src0[-1]; - c[3] = src1[-1]; - c[6] = src2[-1]; - } else { - c[0] = c[1]; - c[3] = c[4]; - c[6] = c[7]; - } - - if (i - -/***************************************************************************/ -/* LQ4x C implementation */ - -/* - * This effect is derived from the hq4x effect made by Maxim Stepin - */ - -void lq4x_16_def(interp_uint16* dst0, interp_uint16* dst1, interp_uint16* dst2, interp_uint16* dst3, const interp_uint16* src0, const interp_uint16* src1, const interp_uint16* src2, unsigned count) -{ - unsigned i; - - for(i=0;i0) { - c[0] = src0[-1]; - c[3] = src1[-1]; - c[6] = src2[-1]; - } else { - c[0] = c[1]; - c[3] = c[4]; - c[6] = c[7]; - } - - if (i0) { - c[0] = src0[-1]; - c[3] = src1[-1]; - c[6] = src2[-1]; - } else { - c[0] = c[1]; - c[3] = c[4]; - c[6] = c[7]; - } - - if (i