Searched refs:band_log2 (Results 1 – 1 of 1) sorted by relevance
461 float band_log2[NB_TBANDS+1]; in tonality_analysis() local606 band_log2[0] = .5f*1.442695f*(float)log(E+1e-10f); in tonality_analysis()637 band_log2[b+1] = .5f*1.442695f*(float)log(E+1e-10f); in tonality_analysis()689 leakage_from[0] = band_log2[0]; in tonality_analysis()690 leakage_to[0] = band_log2[0] - LEAKAGE_OFFSET; in tonality_analysis()694 leakage_from[b] = MIN16(leakage_from[b-1]+leak_slope, band_log2[b]); in tonality_analysis()695 leakage_to[b] = MAX16(leakage_to[b-1]-leak_slope, band_log2[b]-LEAKAGE_OFFSET); in tonality_analysis()712 float boost = MAX16(0, leakage_to[b] - band_log2[b]) + in tonality_analysis()713 MAX16(0, band_log2[b] - (leakage_from[b]+LEAKAGE_OFFSET)); in tonality_analysis()