Home
last modified time | relevance | path

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

/external/libopus/src/
Danalysis.c352 float band_log2[NB_TBANDS+1]; in tonality_analysis() local
498 band_log2[0] = .5f*1.442695f*(float)log(E+1e-10f); in tonality_analysis()
529 band_log2[b+1] = .5f*1.442695f*(float)log(E+1e-10f); in tonality_analysis()
581 leakage_from[0] = band_log2[0]; in tonality_analysis()
582 leakage_to[0] = band_log2[0] - LEAKAGE_OFFSET; in tonality_analysis()
586 leakage_from[b] = MIN16(leakage_from[b-1]+leak_slope, band_log2[b]); in tonality_analysis()
587 leakage_to[b] = MAX16(leakage_to[b-1]-leak_slope, band_log2[b]-LEAKAGE_OFFSET); in tonality_analysis()
604 float boost = MAX16(0, leakage_to[b] - band_log2[b]) + in tonality_analysis()
605 MAX16(0, band_log2[b] - (leakage_from[b]+LEAKAGE_OFFSET)); in tonality_analysis()