Home
last modified time | relevance | path

Searched refs:genpoly (Results 1 – 9 of 9) sorted by relevance

/external/fec/
Dinit_rs.h70 rs->genpoly = (data_t *)malloc(sizeof(data_t)*(nroots+1));
71 if(rs->genpoly == NULL){
87 rs->genpoly[0] = 1;
89 rs->genpoly[i+1] = 1;
93 if (rs->genpoly[j] != 0)
94 rs->genpoly[j] = rs->genpoly[j-1] ^ rs->alpha_to[modnn(rs,rs->index_of[rs->genpoly[j]] + root)];
96 rs->genpoly[j] = rs->genpoly[j-1];
99 rs->genpoly[0] = rs->alpha_to[modnn(rs,rs->index_of[rs->genpoly[0]] + root)];
103 rs->genpoly[i] = rs->index_of[rs->genpoly[i]];
Drstest.c17 int genpoly; member
157 rs = init_rs_char(e->symsize,e->genpoly,e->fcs,e->prim,e->nroots,0); in exercise_char()
235 rs = init_rs_int(e->symsize,e->genpoly,e->fcs,e->prim,e->nroots,0); in exercise_int()
Dinit_rs_char.c16 free(rs->genpoly); in free_rs_char()
Dinit_rs_int.c16 free(rs->genpoly); in free_rs_int()
Dinit_rs.c20 free(rs->genpoly); in free_rs()
Drs-common.h12 data_t *genpoly; /* Generator polynomial */ member
Dint.h14 #define GENPOLY (rs->genpoly)
Dchar.h14 #define GENPOLY (rs->genpoly)
Dgen_ccsds.c35 printf("%3d,",rs->genpoly[i]); in main()