Home | History | Annotate | Download | only in src

Lines Matching refs:psum

160    float psum;
192 psum=0;
196 psum += tonal->pmusic[i];
198 psum += tonal->pspeech[i];
199 psum = psum*tonal->music_confidence + (1-psum)*tonal->speech_confidence;
200 /*printf("%f %f %f\n", psum, info_out->music_prob, info_out->tonality);*/
202 info_out->music_prob = psum;
539 float psum;
565 psum=1e-20f;
594 psum += tonal->pspeech[i] + tonal->pmusic[i];
595 psum = 1.f/psum;
598 tonal->pspeech[i] *= psum;
599 tonal->pmusic [i] *= psum;
601 psum = tonal->pmusic[0];
603 psum += tonal->pspeech[i];