Home
last modified time | relevance | path

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

/external/libopus/silk/x86/
DVAD_sse4_1.c59 opus_int32 speech_nrg, x_tmp; in silk_VAD_GetSA_Q8_sse4_1() local
193 speech_nrg = Xnrg[ b ] - psSilk_VAD->NL[ b ]; in silk_VAD_GetSA_Q8_sse4_1()
194 if( speech_nrg > 0 ) { in silk_VAD_GetSA_Q8_sse4_1()
209 if( speech_nrg < ( (opus_int32)1 << 20 ) ) { in silk_VAD_GetSA_Q8_sse4_1()
211 SNR_Q7 = silk_SMULWB( silk_LSHIFT( silk_SQRT_APPROX( speech_nrg ), 6 ), SNR_Q7 ); in silk_VAD_GetSA_Q8_sse4_1()
238 speech_nrg = 0; in silk_VAD_GetSA_Q8_sse4_1()
241 speech_nrg += ( b + 1 ) * silk_RSHIFT( Xnrg[ b ] - psSilk_VAD->NL[ b ], 4 ); in silk_VAD_GetSA_Q8_sse4_1()
245 speech_nrg = silk_RSHIFT32( speech_nrg, 1 ); in silk_VAD_GetSA_Q8_sse4_1()
248 if( speech_nrg <= 0 ) { in silk_VAD_GetSA_Q8_sse4_1()
250 } else if( speech_nrg < 16384 ) { in silk_VAD_GetSA_Q8_sse4_1()
[all …]
/external/libopus/silk/
DVAD.c96 opus_int32 speech_nrg, x_tmp; in silk_VAD_GetSA_Q8_c() local
204 speech_nrg = Xnrg[ b ] - psSilk_VAD->NL[ b ]; in silk_VAD_GetSA_Q8_c()
205 if( speech_nrg > 0 ) { in silk_VAD_GetSA_Q8_c()
220 if( speech_nrg < ( (opus_int32)1 << 20 ) ) { in silk_VAD_GetSA_Q8_c()
222 SNR_Q7 = silk_SMULWB( silk_LSHIFT( silk_SQRT_APPROX( speech_nrg ), 6 ), SNR_Q7 ); in silk_VAD_GetSA_Q8_c()
249 speech_nrg = 0; in silk_VAD_GetSA_Q8_c()
252 speech_nrg += ( b + 1 ) * silk_RSHIFT( Xnrg[ b ] - psSilk_VAD->NL[ b ], 4 ); in silk_VAD_GetSA_Q8_c()
256 speech_nrg = silk_RSHIFT32( speech_nrg, 1 ); in silk_VAD_GetSA_Q8_c()
259 if( speech_nrg <= 0 ) { in silk_VAD_GetSA_Q8_c()
261 } else if( speech_nrg < 16384 ) { in silk_VAD_GetSA_Q8_c()
[all …]