Home
last modified time | relevance | path

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

/external/libopus/src/
Danalysis.c339 float frame_probs[2]; in tonality_analysis() local
764 mlp_process(&net, features, frame_probs); in tonality_analysis()
765 frame_probs[0] = .5f*(frame_probs[0]+1); in tonality_analysis()
769 frame_probs[1] = .5f*frame_probs[1]+.5f; in tonality_analysis()
770 frame_probs[1] *= frame_probs[1]; in tonality_analysis()
773 info->activity_probability = frame_probs[1]; in tonality_analysis()
795 p = MAX16(.05f,MIN16(.95f,frame_probs[1])); in tonality_analysis()
805 p0 *= (float)pow(1-frame_probs[1], beta); in tonality_analysis()
806 p1 *= (float)pow(frame_probs[1], beta); in tonality_analysis()
811 frame_probs[0] = tonal->vad_prob*frame_probs[0] + (1-tonal->vad_prob)*.5f; in tonality_analysis()
[all …]