Lines Matching refs:speech_nrg
59 opus_int32 speech_nrg, x_tmp; in silk_VAD_GetSA_Q8_sse4_1() local
185 speech_nrg = Xnrg[ b ] - psSilk_VAD->NL[ b ]; in silk_VAD_GetSA_Q8_sse4_1()
186 if( speech_nrg > 0 ) { in silk_VAD_GetSA_Q8_sse4_1()
201 if( speech_nrg < ( (opus_int32)1 << 20 ) ) { in silk_VAD_GetSA_Q8_sse4_1()
203 SNR_Q7 = silk_SMULWB( silk_LSHIFT( silk_SQRT_APPROX( speech_nrg ), 6 ), SNR_Q7 ); in silk_VAD_GetSA_Q8_sse4_1()
230 speech_nrg = 0; in silk_VAD_GetSA_Q8_sse4_1()
233 speech_nrg += ( b + 1 ) * silk_RSHIFT( Xnrg[ b ] - psSilk_VAD->NL[ b ], 4 ); in silk_VAD_GetSA_Q8_sse4_1()
237 if( speech_nrg <= 0 ) { in silk_VAD_GetSA_Q8_sse4_1()
239 } else if( speech_nrg < 32768 ) { in silk_VAD_GetSA_Q8_sse4_1()
241 speech_nrg = silk_LSHIFT_SAT32( speech_nrg, 16 ); in silk_VAD_GetSA_Q8_sse4_1()
243 speech_nrg = silk_LSHIFT_SAT32( speech_nrg, 15 ); in silk_VAD_GetSA_Q8_sse4_1()
247 speech_nrg = silk_SQRT_APPROX( speech_nrg ); in silk_VAD_GetSA_Q8_sse4_1()
248 SA_Q15 = silk_SMULWB( 32768 + speech_nrg, SA_Q15 ); in silk_VAD_GetSA_Q8_sse4_1()