Lines Matching refs:ener
127 float ener=0, ener1=0, ener2=0; in vbr_analysis() local
140 ener=ener1+ener2; in vbr_analysis()
142 log_energy = log(ener+MIN_ENERGY); in vbr_analysis()
150 vbr->average_energy = (1-vbr->energy_alpha)*vbr->average_energy + vbr->energy_alpha*ener; in vbr_analysis()
152 pow_ener = pow(ener,NOISE_POW); in vbr_analysis()
153 if (vbr->noise_accum_count<.06 && ener>MIN_ENERGY) in vbr_analysis()
178 if (pow_ener < vbr->noise_level && ener>MIN_ENERGY) in vbr_analysis()
185 if (ener < 30000) in vbr_analysis()
188 if (ener < 10000) in vbr_analysis()
190 if (ener < 3000) in vbr_analysis()
194 short_diff = log((ener+1)/(1+vbr->last_energy)); in vbr_analysis()
195 long_diff = log((ener+1)/(1+vbr->average_energy)); in vbr_analysis()
217 vbr->last_energy = ener; in vbr_analysis()
244 if (ener<60000) in vbr_analysis()
248 if (ener<10000&&vbr->consec_noise>2) in vbr_analysis()
252 qual += .3*log(.0001+ener/60000.0); in vbr_analysis()