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
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()
[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 …]