Home | History | Annotate | Download | only in src

Lines Matching refs:psum

147    float psum;
179 psum=0;
183 psum += tonal->pmusic[i];
185 psum += tonal->pspeech[i];
186 psum = psum*tonal->music_confidence + (1-psum)*tonal->speech_confidence;
187 /*printf("%f %f %f\n", psum, info_out->music_prob, info_out->tonality);*/
189 info_out->music_prob = psum;
507 float psum;
536 psum=1e-20f;
565 psum += tonal->pspeech[i] + tonal->pmusic[i];
566 psum = 1.f/psum;
569 tonal->pspeech[i] *= psum;
570 tonal->pmusic [i] *= psum;
572 psum = tonal->pmusic[0];
574 psum += tonal->pspeech[i];