Lines Matching full:speech_nrg
94 opus_int32 speech_nrg, x_tmp;
202 speech_nrg = Xnrg[ b ] - psSilk_VAD->NL[ b ];
203 if( speech_nrg > 0 ) {
218 if( speech_nrg < ( (opus_int32)1 << 20 ) ) {
220 SNR_Q7 = silk_SMULWB( silk_LSHIFT( silk_SQRT_APPROX( speech_nrg ), 6 ), SNR_Q7 );
247 speech_nrg = 0;
250 speech_nrg += ( b + 1 ) * silk_RSHIFT( Xnrg[ b ] - psSilk_VAD->NL[ b ], 4 );
254 if( speech_nrg <= 0 ) {
256 } else if( speech_nrg < 32768 ) {
258 speech_nrg = silk_LSHIFT_SAT32( speech_nrg, 16 );
260 speech_nrg = silk_LSHIFT_SAT32( speech_nrg, 15 );
264 speech_nrg = silk_SQRT_APPROX( speech_nrg );
265 SA_Q15 = silk_SMULWB( 32768 + speech_nrg, SA_Q15 );