Lines Matching defs:energy
116 * zeroscale controls a multiplier of the threshold, if band energy
118 * low lambda is used, because energy < threshold doesn't mean there's
119 * no audible signal outright, it's just energy. Also make it rise
222 float uplim = 0.0f, energy = 0.0f, spread = 0.0f;
225 if (start >= cutoff || band->energy <= (band->threshold * zeroscale) || band->threshold == 0.0f) {
237 if (band->energy <= (band->threshold * zeroscale) || band->threshold == 0.0f)
240 energy += band->energy;
246 energies[w*16+g] = energy;
251 spread_thr_r[w*16+g] = energy * nz / (uplim * spread);
317 * Maxval-energy ratio gives us an idea of how noisy/tonal the band is.
318 * If maxval^2 ~ energy, then that band is mostly noise, and we can relax
517 * Zero the bands in the lowest 1.25% spread-energy-threshold ranking
607 /* Try to make sure there is some energy in every nonzero band