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_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);
134 for(i=0;i<framebits/8;i++){
143 for(i=0;i<framebits/8;i++){
150 tot_errs,(long long)framebits*(tr+1),tot_errs/((double)framebits*(tr+1)),
155 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain);
158 tot_errs,(long long)framebits*trials,tot_errs/((double)framebits*trials),
172 update_viterbi39_blk(vp,symbols,framebits);
175 chainback_viterbi39(vp,data,framebits,0);
180 framebits,extime);
181 printf("decoder speed: %g bits/s\n",trials*framebits/extime);