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
71 ind_tmp = silk_SMULWB( (opus_int32)inv_quant_step_size_Q6, res_Q10 ); in silk_NLSF_del_dec_quant()
72ind_tmp = silk_LIMIT( ind_tmp, -NLSF_QUANT_MAX_AMPLITUDE_EXT, NLSF_QUANT_MAX_AMPLITUDE_EXT-1 ); in silk_NLSF_del_dec_quant()
73 ind[ j ][ i ] = (opus_int8)ind_tmp; in silk_NLSF_del_dec_quant()
76 out0_Q10 = silk_LSHIFT( ind_tmp, 10 ); in silk_NLSF_del_dec_quant()
78 if( ind_tmp > 0 ) { in silk_NLSF_del_dec_quant()
81 } else if( ind_tmp == 0 ) { in silk_NLSF_del_dec_quant()
83 } else if( ind_tmp == -1 ) { in silk_NLSF_del_dec_quant()
97 if( ind_tmp + 1 >= NLSF_QUANT_MAX_AMPLITUDE ) { in silk_NLSF_del_dec_quant()
98 if( ind_tmp + 1 == NLSF_QUANT_MAX_AMPLITUDE ) { in silk_NLSF_del_dec_quant()
[all …]
Dgain_quant.c101 opus_int k, ind_tmp, double_step_size_threshold; in silk_gains_dequant() local
109 ind_tmp = ind[ k ] + MIN_DELTA_GAIN_QUANT; in silk_gains_dequant()
113 if( ind_tmp > double_step_size_threshold ) { in silk_gains_dequant()
114 *prev_ind += silk_LSHIFT( ind_tmp, 1 ) - double_step_size_threshold; in silk_gains_dequant()
116 *prev_ind += ind_tmp; in silk_gains_dequant()