Go to the source code of this file.
Functions |
static int | modnn (struct rs *rs, int x) |
GR_CORE_API void | ENCODE_RS (void *p, DTYPE *data, DTYPE *parity) |
GR_CORE_API int | DECODE_RS (void *p, DTYPE *data, int *eras_pos, int no_eras) |
GR_CORE_API void * | INIT_RS (unsigned int symsize, unsigned int gfpoly, unsigned int fcr, unsigned int prim, unsigned int nroots) |
GR_CORE_API void | FREE_RS (void *p) |
Macro Definition Documentation
#define ALPHA_TO (rs->alpha_to) |
#define DTYPE unsigned char |
#define GENPOLY (rs->genpoly) |
#define INDEX_OF (rs->index_of) |
#define IPRIM (rs->iprim) |
#define NROOTS (rs->nroots) |
Function Documentation
GR_CORE_API int DECODE_RS |
( |
void * |
p, |
|
|
DTYPE * |
data, |
|
|
int * |
eras_pos, |
|
|
int |
no_eras |
|
) |
| |
GR_CORE_API void* INIT_RS |
( |
unsigned int |
symsize, |
|
|
unsigned int |
gfpoly, |
|
|
unsigned int |
fcr, |
|
|
unsigned int |
prim, |
|
|
unsigned int |
nroots |
|
) |
| |
static int modnn |
( |
struct rs * |
rs, |
|
|
int |
x |
|
) |
| |
|
inlinestatic |