Home
last modified time | relevance | path

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

/external/libopus/src/
Danalysis.c439 float frame_tonality; in tonality_analysis() local
576 frame_tonality = 0; in tonality_analysis()
675 frame_tonality += tweight[b]*band_tonality[b]; in tonality_analysis()
679 frame_tonality += band_tonality[b]; in tonality_analysis()
681 frame_tonality -= band_tonality[b-NB_TBANDS+NB_TONAL_SKIP_BANDS]; in tonality_analysis()
683 max_frame_tonality = MAX16(max_frame_tonality, (1.f+.03f*(b-NB_TBANDS))*frame_tonality); in tonality_analysis()
847 frame_tonality = (max_frame_tonality/(NB_TBANDS-NB_TONAL_SKIP_BANDS)); in tonality_analysis()
848 frame_tonality = MAX16(frame_tonality, tonal->prev_tonality*.8f); in tonality_analysis()
849 tonal->prev_tonality = frame_tonality; in tonality_analysis()
856 info->tonality = frame_tonality; in tonality_analysis()