diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-02-09 10:06:34 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-02-09 10:06:34 +0100 |
commit | d10839ab23b4ac4dea5ba183c451b650dd07331a (patch) | |
tree | 5f78e10a89134a2a167315a42bc21c5cc3a3cdbb /lib/fec/char.h | |
parent | d1b74c21d8c6f816179cd700dd5859f51bf01d88 (diff) | |
download | dabmux-d10839ab23b4ac4dea5ba183c451b650dd07331a.tar.gz dabmux-d10839ab23b4ac4dea5ba183c451b650dd07331a.tar.bz2 dabmux-d10839ab23b4ac4dea5ba183c451b650dd07331a.zip |
Move external code to lib and stop using SUBDIRS
Diffstat (limited to 'lib/fec/char.h')
-rw-r--r-- | lib/fec/char.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/fec/char.h b/lib/fec/char.h new file mode 100644 index 0000000..25efd65 --- /dev/null +++ b/lib/fec/char.h @@ -0,0 +1,24 @@ +/* Stuff specific to the 8-bit symbol version of the general purpose RS codecs + * + * Copyright 2003, Phil Karn, KA9Q + * May be used under the terms of the GNU Lesser General Public License (LGPL) + */ +typedef unsigned char data_t; + +#define MODNN(x) modnn(rs,x) + +#define MM (rs->mm) +#define NN (rs->nn) +#define ALPHA_TO (rs->alpha_to) +#define INDEX_OF (rs->index_of) +#define GENPOLY (rs->genpoly) +#define NROOTS (rs->nroots) +#define FCR (rs->fcr) +#define PRIM (rs->prim) +#define IPRIM (rs->iprim) +#define PAD (rs->pad) +#define A0 (NN) + + + + |