Home
last modified time | relevance | path

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

/external/libopus/src/
Danalysis.c241 float prob_count; in tonality_get_info() local
343 prob_count = MAX16(.1f, vad_prob); in tonality_get_info()
359 prob_min = MIN16((prob_avg - TRANSITION_PENALTY*(vad_prob - pos_vad))/prob_count, prob_min); in tonality_get_info()
360 prob_max = MAX16((prob_avg + TRANSITION_PENALTY*(vad_prob - pos_vad))/prob_count, prob_max); in tonality_get_info()
361 prob_count += MAX16(.1f, pos_vad); in tonality_get_info()
364 info_out->music_prob = prob_avg/prob_count; in tonality_get_info()
365 prob_min = MIN16(prob_avg/prob_count, prob_min); in tonality_get_info()
366 prob_max = MAX16(prob_avg/prob_count, prob_max); in tonality_get_info()