Home
last modified time | relevance | path

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

/external/libopus/src/
Danalysis.c243 float vad_prob; in tonality_get_info() local
342 vad_prob = tonal->info[vpos].activity_probability; in tonality_get_info()
343 prob_count = MAX16(.1f, vad_prob); in tonality_get_info()
344 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()
387 pmin = MAX16(0.f, pmin - .1f*vad_prob); in tonality_get_info()
388 pmax = MIN16(1.f, pmax + .1f*vad_prob); in tonality_get_info()