Searched refs:prob_avg (Results 1 – 1 of 1) sorted by relevance
240 float prob_avg; in tonality_get_info() local344 prob_avg = MAX16(.1f, vad_prob)*tonal->info[mpos].music_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()362 prob_avg += MAX16(.1f, pos_vad)*tonal->info[mpos].music_prob; 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()