Home
last modified time | relevance | path

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

/external/libopus/silk/
Dgain_quant.c42 …opus_int8 *prev_ind, /* I/O last index in previous frame … in silk_gains_quant() argument
54 if( ind[ k ] < *prev_ind ) { in silk_gains_quant()
62 … ind[ k ] = silk_LIMIT_int( ind[ k ], *prev_ind + MIN_DELTA_GAIN_QUANT, N_LEVELS_QGAIN - 1 ); in silk_gains_quant()
63 *prev_ind = ind[ k ]; in silk_gains_quant()
66 ind[ k ] = ind[ k ] - *prev_ind; in silk_gains_quant()
69 double_step_size_threshold = 2 * MAX_DELTA_GAIN_QUANT - N_LEVELS_QGAIN + *prev_ind; in silk_gains_quant()
78 *prev_ind += silk_LSHIFT( ind[ k ], 1 ) - double_step_size_threshold; in silk_gains_quant()
80 *prev_ind += ind[ k ]; in silk_gains_quant()
88 …gain_Q16[ k ] = silk_log2lin( silk_min_32( silk_SMULWB( INV_SCALE_Q16, *prev_ind ) + OFFSET, 3967 … in silk_gains_quant()
96 …opus_int8 *prev_ind, /* I/O last index in previous frame … in silk_gains_dequant() argument
[all …]
Dmain.h177 …opus_int8 *prev_ind, /* I/O last index in previous frame …
186 …opus_int8 *prev_ind, /* I/O last index in previous frame …