Home
last modified time | relevance | path

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

/external/libopus/silk/fixed/mips/
Dnoise_shape_analysis_FIX_mipsr1.h43 opus_int k, i, nSamples, Qnrg, b_Q14, warping_Q16, scale = 0; in silk_noise_shape_analysis_FIX() local
189 Qnrg = -scale; /* range: -12...30*/ in silk_noise_shape_analysis_FIX()
190 silk_assert( Qnrg >= -12 ); in silk_noise_shape_analysis_FIX()
191 silk_assert( Qnrg <= 30 ); in silk_noise_shape_analysis_FIX()
194 if( Qnrg & 1 ) { in silk_noise_shape_analysis_FIX()
195 Qnrg -= 1; in silk_noise_shape_analysis_FIX()
200 Qnrg >>= 1; /* range: -6...15*/ in silk_noise_shape_analysis_FIX()
202 …ins_Q16[ k ] = (silk_LSHIFT32( silk_LIMIT( (tmp32), silk_RSHIFT32( silk_int32_MIN, (16 - Qnrg) ), \ in silk_noise_shape_analysis_FIX()
203 silk_RSHIFT32( silk_int32_MAX, (16 - Qnrg) ) ), (16 - Qnrg) )); in silk_noise_shape_analysis_FIX()
/external/libopus/silk/fixed/
Dnoise_shape_analysis_FIX.c149 opus_int k, i, nSamples, nSegs, Qnrg, b_Q14, warping_Q16, scale = 0; in silk_noise_shape_analysis_FIX() local
282 Qnrg = -scale; /* range: -12...30*/ in silk_noise_shape_analysis_FIX()
283 silk_assert( Qnrg >= -12 ); in silk_noise_shape_analysis_FIX()
284 silk_assert( Qnrg <= 30 ); in silk_noise_shape_analysis_FIX()
287 if( Qnrg & 1 ) { in silk_noise_shape_analysis_FIX()
288 Qnrg -= 1; in silk_noise_shape_analysis_FIX()
293 Qnrg >>= 1; /* range: -6...15*/ in silk_noise_shape_analysis_FIX()
295 psEncCtrl->Gains_Q16[ k ] = silk_LSHIFT_SAT32( tmp32, 16 - Qnrg ); in silk_noise_shape_analysis_FIX()