Searched refs:Xnrg (Results 1 – 2 of 2) sorted by relevance
/external/libopus/silk/x86/ |
D | VAD_sse4_1.c | 57 opus_int32 Xnrg[ VAD_N_BANDS ]; in silk_VAD_GetSA_Q8_sse4_1() local 130 Xnrg[ b ] = psSilk_VAD->XnrgSubfr[ b ]; in silk_VAD_GetSA_Q8_sse4_1() 163 Xnrg[ b ] = silk_ADD_POS_SAT32( Xnrg[ b ], sumSquared ); in silk_VAD_GetSA_Q8_sse4_1() 166 Xnrg[ b ] = silk_ADD_POS_SAT32( Xnrg[ b ], silk_RSHIFT( sumSquared, 1 ) ); in silk_VAD_GetSA_Q8_sse4_1() 177 silk_VAD_GetNoiseLevels( &Xnrg[ 0 ], psSilk_VAD ); in silk_VAD_GetSA_Q8_sse4_1() 185 speech_nrg = Xnrg[ b ] - psSilk_VAD->NL[ b ]; in silk_VAD_GetSA_Q8_sse4_1() 188 if( ( Xnrg[ b ] & 0xFF800000 ) == 0 ) { in silk_VAD_GetSA_Q8_sse4_1() 189 … NrgToNoiseRatio_Q8[ b ] = silk_DIV32( silk_LSHIFT( Xnrg[ b ], 8 ), psSilk_VAD->NL[ b ] + 1 ); in silk_VAD_GetSA_Q8_sse4_1() 191 … NrgToNoiseRatio_Q8[ b ] = silk_DIV32( Xnrg[ b ], silk_RSHIFT( psSilk_VAD->NL[ b ], 8 ) + 1 ); 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()
|
/external/libopus/silk/ |
D | VAD.c | 94 opus_int32 Xnrg[ VAD_N_BANDS ]; in silk_VAD_GetSA_Q8_c() local 166 Xnrg[ b ] = psSilk_VAD->XnrgSubfr[ b ]; in silk_VAD_GetSA_Q8_c() 182 Xnrg[ b ] = silk_ADD_POS_SAT32( Xnrg[ b ], sumSquared ); in silk_VAD_GetSA_Q8_c() 185 Xnrg[ b ] = silk_ADD_POS_SAT32( Xnrg[ b ], silk_RSHIFT( sumSquared, 1 ) ); in silk_VAD_GetSA_Q8_c() 196 silk_VAD_GetNoiseLevels( &Xnrg[ 0 ], psSilk_VAD ); in silk_VAD_GetSA_Q8_c() 204 speech_nrg = Xnrg[ b ] - psSilk_VAD->NL[ b ]; in silk_VAD_GetSA_Q8_c() 207 if( ( Xnrg[ b ] & 0xFF800000 ) == 0 ) { in silk_VAD_GetSA_Q8_c() 208 … NrgToNoiseRatio_Q8[ b ] = silk_DIV32( silk_LSHIFT( Xnrg[ b ], 8 ), psSilk_VAD->NL[ b ] + 1 ); in silk_VAD_GetSA_Q8_c() 210 … NrgToNoiseRatio_Q8[ b ] = silk_DIV32( Xnrg[ b ], silk_RSHIFT( psSilk_VAD->NL[ b ], 8 ) + 1 ); 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()
|