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