Home
last modified time | relevance | path

Searched refs:band_energy (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Daacdec_fixed.c199 static void noise_scale(int *coefs, int scale, int band_energy, int len) in noise_scale() argument
207 while (band_energy > 0x7fff) { in noise_scale()
208 band_energy >>= 1; in noise_scale()
211 c /= band_energy; in noise_scale()
Daaccoder.c643 float band_energy, scale, pns_senergy; in search_for_pns() local
650 band_energy = s->fdsp->scalarproduct_float(PNS, PNS, sce->ics.swb_sizes[g]); in search_for_pns()
651 scale = noise_amp/sqrtf(band_energy); in search_for_pns()
Daacdec_template.c1783 INTFLOAT band_energy; in decode_spectrum_and_dequant() local
1790 band_energy = ac->fdsp->scalarproduct_fixed(cfo, cfo, off_len); in decode_spectrum_and_dequant()
1791 band_energy = fixed_sqrt(band_energy, 31); in decode_spectrum_and_dequant()
1792 noise_scale(cfo, sf[idx], band_energy, off_len); in decode_spectrum_and_dequant()
1801 band_energy = ac->fdsp->scalarproduct_float(cfo, cfo, off_len); in decode_spectrum_and_dequant()
1802 scale = sf[idx] / sqrtf(band_energy); in decode_spectrum_and_dequant()