Home
last modified time | relevance | path

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

/external/libopus/silk/
DVAD.c94 opus_int32 speech_nrg, x_tmp; in silk_VAD_GetSA_Q8() local
202 speech_nrg = Xnrg[ b ] - psSilk_VAD->NL[ b ]; in silk_VAD_GetSA_Q8()
203 if( speech_nrg > 0 ) { in silk_VAD_GetSA_Q8()
218 if( speech_nrg < ( (opus_int32)1 << 20 ) ) { in silk_VAD_GetSA_Q8()
220 SNR_Q7 = silk_SMULWB( silk_LSHIFT( silk_SQRT_APPROX( speech_nrg ), 6 ), SNR_Q7 ); in silk_VAD_GetSA_Q8()
247 speech_nrg = 0; in silk_VAD_GetSA_Q8()
250 speech_nrg += ( b + 1 ) * silk_RSHIFT( Xnrg[ b ] - psSilk_VAD->NL[ b ], 4 ); in silk_VAD_GetSA_Q8()
254 if( speech_nrg <= 0 ) { in silk_VAD_GetSA_Q8()
256 } else if( speech_nrg < 32768 ) { in silk_VAD_GetSA_Q8()
258 speech_nrg = silk_LSHIFT_SAT32( speech_nrg, 16 ); in silk_VAD_GetSA_Q8()
[all …]