Lines Matching refs:framebits
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);
139 for(i=0;i<framebits/8;i++){
148 for(i=0;i<framebits/8;i++){
155 tot_errs,framebits*(tr+1),tot_errs/((double)framebits*(tr+1)),
162 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain);
165 tot_errs,framebits*(tr+1),tot_errs/((double)framebits*(tr+1)),
179 update_viterbi615_blk(vp,symbols,framebits+14);
182 chainback_viterbi615(vp,data,framebits,0);
187 framebits,extime);
188 printf("decoder speed: %g bits/s\n",trials*framebits/extime);