Searched refs:NROOTS (Results 1 – 12 of 12) sorted by relevance
/external/fec/ |
D | decode_rs.h | 30 #if !defined(NROOTS) 75 data_t lambda[NROOTS+1], s[NROOTS]; /* Err+Eras Locator poly 77 data_t b[NROOTS+1], t[NROOTS+1], omega[NROOTS+1]; 78 data_t root[NROOTS], reg[NROOTS+1], loc[NROOTS]; 82 for(i=0;i<NROOTS;i++) 86 for(i=0;i<NROOTS;i++){ 97 for(i=0;i<NROOTS;i++){ 109 memset(&lambda[1],0,NROOTS*sizeof(lambda[0])); 160 for(i=0;i<NROOTS+1;i++) 169 while (++r <= NROOTS) { /* r is the step number */ [all …]
|
D | decode_rs.c | 33 data_t lambda[NROOTS+1], s[NROOTS]; /* Err+Eras Locator poly 35 data_t b[NROOTS+1], t[NROOTS+1], omega[NROOTS+1]; 36 data_t root[NROOTS], reg[NROOTS+1], loc[NROOTS]; 46 for(i=0;i<NROOTS;i++) 50 for(i=0;i<NROOTS;i++){ 61 for(i=0;i<NROOTS;i++){ 73 memset(&lambda[1],0,NROOTS*sizeof(lambda[0])); 124 for(i=0;i<NROOTS+1;i++) 133 while (++r <= NROOTS) { /* r is the step number */ 144 memmove(&b[1],b,NROOTS*sizeof(b[0])); [all …]
|
D | encode_rs.h | 37 memset(parity,0,NROOTS*sizeof(data_t)); 39 for(i=0;i<NN-NROOTS-PAD;i++){ 46 feedback = MODNN(NN - GENPOLY[NROOTS] + feedback); 48 for(j=1;j<NROOTS;j++) 49 parity[j] ^= ALPHA_TO[MODNN(feedback + GENPOLY[NROOTS-j])]; 52 memmove(&parity[0],&parity[1],sizeof(data_t)*(NROOTS-1)); 54 parity[NROOTS-1] = ALPHA_TO[MODNN(feedback + GENPOLY[0])]; 56 parity[NROOTS-1] = 0;
|
D | encode_rs.c | 31 memset(bb,0,NROOTS*sizeof(data_t)); 33 for(i=0;i<NN-NROOTS-PAD;i++){ 40 feedback = MODNN(NN - GENPOLY[NROOTS] + feedback); 42 for(j=1;j<NROOTS;j++) 43 bb[j] ^= ALPHA_TO[MODNN(feedback + GENPOLY[NROOTS-j])]; 46 memmove(&bb[0],&bb[1],sizeof(data_t)*(NROOTS-1)); 48 bb[NROOTS-1] = ALPHA_TO[MODNN(feedback + GENPOLY[0])]; 50 bb[NROOTS-1] = 0;
|
D | exercise.c | 49 int derrlocs[NROOTS]; in EXERCISE() 57 for(errors=0;errors <= NROOTS/2;errors++){ in EXERCISE() 60 for(i=0;i<NN-NROOTS;i++) in EXERCISE() 64 ENCODE_RS(&block[0],&block[NN-NROOTS],0); in EXERCISE() 66 ENCODE_RS(rs,&block[0],&block[NN-NROOTS]); in EXERCISE()
|
D | encode_rs_ccsds.c | 13 data_t cdata[NN-NROOTS]; in encode_rs_ccsds() 16 for(i=0;i<NN-NROOTS-pad;i++) in encode_rs_ccsds() 22 for(i=0;i<NROOTS;i++) in encode_rs_ccsds()
|
D | encode_rs_av.c | 46 for(i=0;i<NN-NROOTS-pad;i++){ in encode_rs_av() 59 for(i=0;i<NROOTS;i++) in encode_rs_av() 60 parity[NROOTS-i-1] = shift_register.c[i]; in encode_rs_av()
|
D | encode_rs_8.c | 86 for(i=0;i<NN-NROOTS-pad;i++){ in encode_rs_8_av() 99 for(i=0;i<NROOTS;i++) in encode_rs_8_av() 100 parity[NROOTS-i-1] = shift_register.c[i]; in encode_rs_8_av()
|
D | ccsds.h | 4 #define NROOTS 32 macro
|
D | fixed.h | 28 #define NROOTS 32 macro
|
D | int.h | 15 #define NROOTS (rs->nroots) macro
|
D | char.h | 15 #define NROOTS (rs->nroots) macro
|