Home
last modified time | relevance | path

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

/external/libopus/silk/
Dgain_quant.c47 opus_int k, double_step_size_threshold; in silk_gains_quant() local
69 double_step_size_threshold = 2 * MAX_DELTA_GAIN_QUANT - N_LEVELS_QGAIN + *prev_ind; in silk_gains_quant()
70 if( ind[ k ] > double_step_size_threshold ) { in silk_gains_quant()
71 …ind[ k ] = double_step_size_threshold + silk_RSHIFT( ind[ k ] - double_step_size_threshold + 1, 1 … in silk_gains_quant()
77 if( ind[ k ] > double_step_size_threshold ) { in silk_gains_quant()
78 *prev_ind += silk_LSHIFT( ind[ k ], 1 ) - double_step_size_threshold; in silk_gains_quant()
102 opus_int k, ind_tmp, double_step_size_threshold; in silk_gains_dequant() local
113 double_step_size_threshold = 2 * MAX_DELTA_GAIN_QUANT - N_LEVELS_QGAIN + *prev_ind; in silk_gains_dequant()
114 if( ind_tmp > double_step_size_threshold ) { in silk_gains_dequant()
115 *prev_ind += silk_LSHIFT( ind_tmp, 1 ) - double_step_size_threshold; in silk_gains_dequant()