Home
last modified time | relevance | path

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

/external/libopus/silk/
DVAD.c92 opus_int32 Xnrg[ VAD_N_BANDS ]; in silk_VAD_GetSA_Q8() local
164 Xnrg[ b ] = psSilk_VAD->XnrgSubfr[ b ]; in silk_VAD_GetSA_Q8()
180 Xnrg[ b ] = silk_ADD_POS_SAT32( Xnrg[ b ], sumSquared ); in silk_VAD_GetSA_Q8()
183 Xnrg[ b ] = silk_ADD_POS_SAT32( Xnrg[ b ], silk_RSHIFT( sumSquared, 1 ) ); in silk_VAD_GetSA_Q8()
194 silk_VAD_GetNoiseLevels( &Xnrg[ 0 ], psSilk_VAD ); in silk_VAD_GetSA_Q8()
202 speech_nrg = Xnrg[ b ] - psSilk_VAD->NL[ b ]; in silk_VAD_GetSA_Q8()
205 if( ( Xnrg[ b ] & 0xFF800000 ) == 0 ) { in silk_VAD_GetSA_Q8()
206 … NrgToNoiseRatio_Q8[ b ] = silk_DIV32( silk_LSHIFT( Xnrg[ b ], 8 ), psSilk_VAD->NL[ b ] + 1 ); in silk_VAD_GetSA_Q8()
208 … NrgToNoiseRatio_Q8[ b ] = silk_DIV32( Xnrg[ b ], silk_RSHIFT( psSilk_VAD->NL[ b ], 8 ) + 1 ); in silk_VAD_GetSA_Q8()
250 speech_nrg += ( b + 1 ) * silk_RSHIFT( Xnrg[ b ] - psSilk_VAD->NL[ b ], 4 ); in silk_VAD_GetSA_Q8()