Lines Matching refs:framebits
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);
133 for(i=0;i<framebits/8;i++){
142 for(i=0;i<framebits/8;i++){
149 tot_errs,(long long)framebits*(tr+1),tot_errs/((double)framebits*(tr+1)),
154 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain);
157 tot_errs,(long long)framebits*trials,tot_errs/((double)framebits*trials),
172 update_viterbi27_blk(vp,symbols,framebits);
175 chainback_viterbi27(vp,data,framebits,0);
180 framebits,extime);
181 printf("decoder speed: %g bits/s\n",trials*framebits/extime);