Home
last modified time | relevance | path

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

/external/libopus/src/
Danalysis.c586 tonal->lowE[b] = 1e10; in tonality_analysis()
640 tonal->highE[b] = tonal->lowE[b] = logE[b]; in tonality_analysis()
641 if (tonal->highE[b] > tonal->lowE[b] + 7.5) in tonality_analysis()
643 if (tonal->highE[b] - logE[b] > logE[b] - tonal->lowE[b]) in tonality_analysis()
646 tonal->lowE[b] += .01f; in tonality_analysis()
651 tonal->lowE[b] = MAX32(tonal->highE[b]-15, tonal->lowE[b]); in tonality_analysis()
652 } else if (logE[b] < tonal->lowE[b]) in tonality_analysis()
654 tonal->lowE[b] = logE[b]; in tonality_analysis()
655 tonal->highE[b] = MIN32(tonal->lowE[b]+15, tonal->highE[b]); in tonality_analysis()
657 relativeE += (logE[b]-tonal->lowE[b])/(1e-15f + (tonal->highE[b]-tonal->lowE[b])); in tonality_analysis()
[all …]
Danalysis.h62 float lowE[NB_TBANDS]; member