Go to the source code of this file.
Defines | |
#define | DTYPE unsigned char |
#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 | A0 (NN) |
#define | ENCODE_RS encode_rs_char |
#define | DECODE_RS decode_rs_char |
#define | INIT_RS init_rs_char |
#define | FREE_RS free_rs_char |
Functions | |
void | ENCODE_RS (void *p, DTYPE *data, DTYPE *parity) |
int | DECODE_RS (void *p, DTYPE *data, int *eras_pos, int no_eras) |
void * | INIT_RS (unsigned int symsize, unsigned int gfpoly, unsigned int fcr, unsigned int prim, unsigned int nroots) |
void | FREE_RS (void *p) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|