Searched refs:framebits (Results 1 – 4 of 4) sorted by relevance
/external/fec/ |
D | vtest27.c | 40 int sr=0,trials = 10000,errcnt,framebits=2048; local 79 framebits = atoi(optarg); 95 if(framebits > 8*MAXBYTES){ 97 framebits = MAXBYTES*8; 99 if((vp = create_viterbi27(framebits)) == NULL){ 111 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain); 115 for(i=0;i<framebits+6;i++){ 116 int bit = (i < framebits) ? (random() & 1) : 0; 128 update_viterbi27_blk(vp,symbols,framebits+6); 131 chainback_viterbi27(vp,data,framebits,0); [all …]
|
D | vtest29.c | 40 int sr=0,trials = 10000,errcnt,framebits=2048; local 79 framebits = atoi(optarg); 95 if(framebits > 8*MAXBYTES){ 97 framebits = MAXBYTES*8; 99 if((vp = create_viterbi29(framebits)) == NULL){ 111 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain); 115 for(i=0;i<framebits+8;i++){ 116 int bit = (i < framebits) ? (random() & 1) : 0; 128 update_viterbi29_blk(vp,symbols,framebits+8); 131 chainback_viterbi29(vp,data,framebits,0); [all …]
|
D | vtest39.c | 40 int sr=0,trials = 10000,errcnt,framebits=2048; local 79 framebits = atoi(optarg); 95 if(framebits > 8*MAXBYTES){ 97 framebits = MAXBYTES*8; 99 if((vp = create_viterbi39(framebits)) == NULL){ 111 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain); 115 for(i=0;i<framebits+8;i++){ 116 int bit = (i < framebits) ? (random() & 1) : 0; 129 update_viterbi39_blk(vp,symbols,framebits+8); 132 chainback_viterbi39(vp,data,framebits,0); [all …]
|
D | vtest615.c | 42 int sr=0,trials = 10,errcnt,framebits=2048; local 81 framebits = atoi(optarg); 97 if(framebits > 8*MAXBYTES){ 99 framebits = MAXBYTES*8; 101 if((vp = create_viterbi615(framebits)) == NULL){ 113 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain); 117 for(i=0;i<framebits+14;i++){ 118 int bit = (i < framebits) ? (random() & 1) : 0; 134 update_viterbi615_blk(vp,symbols,framebits+14); 137 chainback_viterbi615(vp,data,framebits,0); [all …]
|