diff options
| author | Christoph Berg <myon@debian.org> | 2025-09-15 23:04:23 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-09-15 23:04:23 +0200 |
| commit | 0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (patch) | |
| tree | d702795f99ac38e0cc17e25f0f7e50fa3e05baf9 /lib/wsprd/mettab.c | |
| parent | 310d05acf2c9233f7e336ae7dd9ffb7b54ca4e62 (diff) | |
New upstream version 3.0.0~rc1+repackupstream/3.0.0_rc1+repack
Diffstat (limited to 'lib/wsprd/mettab.c')
| -rwxr-xr-x | lib/wsprd/mettab.c | 152 |
1 files changed, 76 insertions, 76 deletions
diff --git a/lib/wsprd/mettab.c b/lib/wsprd/mettab.c index f188c0cc..21fde564 100755 --- a/lib/wsprd/mettab.c +++ b/lib/wsprd/mettab.c @@ -1,76 +1,76 @@ -/* - This file is part of wsprd. - - File name: mettab.c - Description: Metric table for sequential Fano decoder. - - Copyright 2008-2015, Joseph Taylor, K1JT - License: GNU GPL v3 - - 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 3 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, see <http://www.gnu.org/licenses/>. -*/ - -int mettab[2][256]={ - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, - 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, - -1, -1, -1, -2, -2, -3, -4, -4, -5, -6, - -7, -7, -8, -9, -10, -11, -12, -12, -13, -14, - -15, -16, -17, -17, -18, -19, -20, -21, -22, -22, - -23, -24, -25, -26, -26, -27, -28, -29, -30, -30, - -31, -32, -33, -33, -34, -35, -36, -36, -37, -38, - -38, -39, -40, -41, -41, -42, -43, -43, -44, -45, - -45, -46, -47, -47, -48, -49, -49, -50, -51, -51, - -52, -53, -53, -54, -54, -55, -56, -56, -57, -57, - -58, -59, -59, -60, -60, -61, -62, -62, -62, -63, - -64, -64, -65, -65, -66, -67, -67, -67, -68, -69, - -69, -70, -70, -71, -72, -72, -72, -72, -73, -74, - -75, -75, -75, -77, -76, -76, -78, -78, -80, -81, - -80, -79, -83, -82, -81, -82, -82, -83, -84, -84, - -84, -87, -86, -87, -88,-105, -94,-105, -88, -87, - -86, -87, -84, -84, -84, -83, -82, -82, -81, -82, - -83, -79, -80, -81, -80, -78, -78, -76, -76, -77, - -75, -75, -75, -74, -73, -72, -72, -72, -72, -71, - -70, -70, -69, -69, -68, -67, -67, -67, -66, -65, - -65, -64, -64, -63, -62, -62, -62, -61, -60, -60, - -59, -59, -58, -57, -57, -56, -56, -55, -54, -54, - -53, -53, -52, -51, -51, -50, -49, -49, -48, -47, - -47, -46, -45, -45, -44, -43, -43, -42, -41, -41, - -40, -39, -38, -38, -37, -36, -36, -35, -34, -33, - -33, -32, -31, -30, -30, -29, -28, -27, -26, -26, - -25, -24, -23, -22, -22, -21, -20, -19, -18, -17, - -17, -16, -15, -14, -13, -12, -12, -11, -10, -9, - -8, -7, -7, -6, -5, -4, -4, -3, -2, -2, - -1, -1, -1, 0, 0, 1, 1, 1, 1, 2, - 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5 }; +/*
+ This file is part of wsprd.
+
+ File name: mettab.c
+ Description: Metric table for sequential Fano decoder.
+
+ Copyright 2008-2015, Joseph Taylor, K1JT
+ License: GNU GPL v3
+
+ 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 3 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, see <http://www.gnu.org/licenses/>.
+*/
+
+int mettab[2][256]={
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 4,
+ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
+ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
+ 3, 3, 3, 3, 3, 3, 3, 3, 3, 2,
+ 2, 2, 2, 2, 1, 1, 1, 1, 0, 0,
+ -1, -1, -1, -2, -2, -3, -4, -4, -5, -6,
+ -7, -7, -8, -9, -10, -11, -12, -12, -13, -14,
+ -15, -16, -17, -17, -18, -19, -20, -21, -22, -22,
+ -23, -24, -25, -26, -26, -27, -28, -29, -30, -30,
+ -31, -32, -33, -33, -34, -35, -36, -36, -37, -38,
+ -38, -39, -40, -41, -41, -42, -43, -43, -44, -45,
+ -45, -46, -47, -47, -48, -49, -49, -50, -51, -51,
+ -52, -53, -53, -54, -54, -55, -56, -56, -57, -57,
+ -58, -59, -59, -60, -60, -61, -62, -62, -62, -63,
+ -64, -64, -65, -65, -66, -67, -67, -67, -68, -69,
+ -69, -70, -70, -71, -72, -72, -72, -72, -73, -74,
+ -75, -75, -75, -77, -76, -76, -78, -78, -80, -81,
+ -80, -79, -83, -82, -81, -82, -82, -83, -84, -84,
+ -84, -87, -86, -87, -88,-105, -94,-105, -88, -87,
+ -86, -87, -84, -84, -84, -83, -82, -82, -81, -82,
+ -83, -79, -80, -81, -80, -78, -78, -76, -76, -77,
+ -75, -75, -75, -74, -73, -72, -72, -72, -72, -71,
+ -70, -70, -69, -69, -68, -67, -67, -67, -66, -65,
+ -65, -64, -64, -63, -62, -62, -62, -61, -60, -60,
+ -59, -59, -58, -57, -57, -56, -56, -55, -54, -54,
+ -53, -53, -52, -51, -51, -50, -49, -49, -48, -47,
+ -47, -46, -45, -45, -44, -43, -43, -42, -41, -41,
+ -40, -39, -38, -38, -37, -36, -36, -35, -34, -33,
+ -33, -32, -31, -30, -30, -29, -28, -27, -26, -26,
+ -25, -24, -23, -22, -22, -21, -20, -19, -18, -17,
+ -17, -16, -15, -14, -13, -12, -12, -11, -10, -9,
+ -8, -7, -7, -6, -5, -4, -4, -3, -2, -2,
+ -1, -1, -1, 0, 0, 1, 1, 1, 1, 2,
+ 2, 2, 2, 2, 3, 3, 3, 3, 3, 3,
+ 3, 3, 3, 4, 4, 4, 4, 4, 4, 4,
+ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
+ 4, 4, 4, 4, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5 };
|
