Home
last modified time | relevance | path

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

/external/libopus/silk/fixed/
Dnoise_shape_analysis_FIX.c153 opus_int k, i, nSamples, Qnrg, b_Q14, warping_Q16, scale = 0; in silk_noise_shape_analysis_FIX() local
299 Qnrg = -scale; /* range: -12...30*/ in silk_noise_shape_analysis_FIX()
300 silk_assert( Qnrg >= -12 ); in silk_noise_shape_analysis_FIX()
301 silk_assert( Qnrg <= 30 ); in silk_noise_shape_analysis_FIX()
304 if( Qnrg & 1 ) { in silk_noise_shape_analysis_FIX()
305 Qnrg -= 1; in silk_noise_shape_analysis_FIX()
310 Qnrg >>= 1; /* range: -6...15*/ in silk_noise_shape_analysis_FIX()
312 psEncCtrl->Gains_Q16[ k ] = silk_LSHIFT_SAT32( tmp32, 16 - Qnrg ); in silk_noise_shape_analysis_FIX()