TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Typedefs | Functions
rscode.h File Reference

Go to the source code of this file.

Typedefs

typedef struct _RS RS
 

Functions

RSinit_rs (int symsize, int gfpoly, int fcr, int prim, int nroots, int pad)
 
void encode_rs_char (RS *rs, const unsigned char *data, unsigned char *parity)
 
void free_rs_char (RS *rs)
 

Typedef Documentation

typedef struct _RS RS

Definition at line 34 of file rscode.h.

Function Documentation

void encode_rs_char ( RS rs,
const unsigned char *  data,
unsigned char *  parity 
)

Definition at line 246 of file rscode.c.

References A0, ALPHA_TO, GENPOLY, INDEX_OF, MODNN, NN, NROOTS, and PAD.

void free_rs_char ( RS rs)

Definition at line 207 of file rscode.c.

References _RS::alpha_to, free(), _RS::genpoly, and _RS::index_of.

RS* init_rs ( int  symsize,
int  gfpoly,
int  fcr,
int  prim,
int  nroots,
int  pad 
)

Definition at line 201 of file rscode.c.

References init_rs_char().