Home
last modified time | relevance | path

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

/external/libopus/silk/x86/
DVAD_sse4_1.c53 opus_int dec_subframe_length, dec_subframe_offset, SNR_Q7, i, b, s; in silk_VAD_GetSA_Q8_sse4_1() local
195 SNR_Q7 = silk_lin2log( NrgToNoiseRatio_Q8[ b ] ) - 8 * 128; in silk_VAD_GetSA_Q8_sse4_1()
198 sumSquared = silk_SMLABB( sumSquared, SNR_Q7, SNR_Q7 ); /* Q14 */ 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()
205 input_tilt = silk_SMLAWB( input_tilt, tiltWeights[ b ], SNR_Q7 ); in silk_VAD_GetSA_Q8_sse4_1()
270 SNR_Q7 = 3 * ( silk_lin2log( psSilk_VAD->NrgRatioSmth_Q8[b] ) - 8 * 128 ); in silk_VAD_GetSA_Q8_sse4_1()
272 psEncC->input_quality_bands_Q15[ b ] = silk_sigm_Q15( silk_RSHIFT( SNR_Q7 - 16 * 128, 4 ) ); in silk_VAD_GetSA_Q8_sse4_1()
/external/libopus/silk/
DVAD.c90 opus_int dec_subframe_length, dec_subframe_offset, SNR_Q7, i, b, s; in silk_VAD_GetSA_Q8_c() local
214 SNR_Q7 = silk_lin2log( NrgToNoiseRatio_Q8[ b ] ) - 8 * 128; in silk_VAD_GetSA_Q8_c()
217 sumSquared = silk_SMLABB( sumSquared, SNR_Q7, SNR_Q7 ); /* Q14 */ 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()
224 input_tilt = silk_SMLAWB( input_tilt, tiltWeights[ b ], SNR_Q7 ); in silk_VAD_GetSA_Q8_c()
288 SNR_Q7 = 3 * ( silk_lin2log( psSilk_VAD->NrgRatioSmth_Q8[b] ) - 8 * 128 ); in silk_VAD_GetSA_Q8_c()
290 psEncC->input_quality_bands_Q15[ b ] = silk_sigm_Q15( silk_RSHIFT( SNR_Q7 - 16 * 128, 4 ) ); in silk_VAD_GetSA_Q8_c()