Lines Matching refs:MAX16
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()
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()
362 prob_avg += MAX16(.1f, pos_vad)*tonal->info[mpos].music_prob; in tonality_get_info()
366 prob_max = MAX16(prob_avg/prob_count, prob_max); in tonality_get_info()
367 prob_min = MAX16(prob_min, 0.f); in tonality_get_info()
384 pmax = MAX16(pmax, tonal->info[pos].music_prob); in tonality_get_info()
387 pmin = MAX16(0.f, pmin - .1f*vad_prob); in tonality_get_info()
671 band_tonality[b] = MAX16(tE/(1e-15f+E), stationarity*tonal->prev_band_tonality[b]); in tonality_analysis()
683 max_frame_tonality = MAX16(max_frame_tonality, (1.f+.03f*(b-NB_TBANDS))*frame_tonality); in tonality_analysis()
695 leakage_to[b] = MAX16(leakage_to[b-1]-leak_slope, band_log2[b]-LEAKAGE_OFFSET); in tonality_analysis()
701 leakage_to[b] = MAX16(leakage_to[b+1]-leak_slope, leakage_to[b]); in tonality_analysis()
712 float boost = MAX16(0, leakage_to[b] - band_log2[b]) + in tonality_analysis()
713 MAX16(0, band_log2[b] - (leakage_from[b]+LEAKAGE_OFFSET)); in tonality_analysis()
848 frame_tonality = MAX16(frame_tonality, tonal->prev_tonality*.8f); in tonality_analysis()