Home
last modified time | relevance | path

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

/external/libopus/silk/
DNLSF_del_dec_quant.c48 opus_int i, j, nStates, ind_tmp, ind_min_max, ind_max_min, in_Q10, res_Q10; in silk_NLSF_del_dec_quant() local
93 ind_tmp = silk_RSHIFT( silk_SMULBB( inv_quant_step_size_Q6, res_Q10 ), 16 ); in silk_NLSF_del_dec_quant()
94ind_tmp = silk_LIMIT( ind_tmp, -NLSF_QUANT_MAX_AMPLITUDE_EXT, NLSF_QUANT_MAX_AMPLITUDE_EXT-1 ); in silk_NLSF_del_dec_quant()
95 ind[ j ][ i ] = (opus_int8)ind_tmp; in silk_NLSF_del_dec_quant()
98 out0_Q10 = out0_Q10_table[ ind_tmp + NLSF_QUANT_MAX_AMPLITUDE_EXT ]; in silk_NLSF_del_dec_quant()
99 out1_Q10 = out1_Q10_table[ ind_tmp + NLSF_QUANT_MAX_AMPLITUDE_EXT ]; in silk_NLSF_del_dec_quant()
107 if( ind_tmp + 1 >= NLSF_QUANT_MAX_AMPLITUDE ) { in silk_NLSF_del_dec_quant()
108 if( ind_tmp + 1 == NLSF_QUANT_MAX_AMPLITUDE ) { in silk_NLSF_del_dec_quant()
109 rate0_Q5 = rates_Q5[ ind_tmp + NLSF_QUANT_MAX_AMPLITUDE ]; in silk_NLSF_del_dec_quant()
112 rate0_Q5 = silk_SMLABB( 280 - 43 * NLSF_QUANT_MAX_AMPLITUDE, 43, ind_tmp ); in silk_NLSF_del_dec_quant()
[all …]
Dgain_quant.c102 opus_int k, ind_tmp, double_step_size_threshold; in silk_gains_dequant() local
110 ind_tmp = ind[ k ] + MIN_DELTA_GAIN_QUANT; 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()
117 *prev_ind += ind_tmp; in silk_gains_dequant()