Lines Matching refs:last_smple_idx
136 opus_int last_smple_idx, smpl_buf_idx, decisionDelay; in silk_NSQ_del_dec_c() local
238 last_smple_idx = smpl_buf_idx + decisionDelay; in silk_NSQ_del_dec_c()
240 last_smple_idx = ( last_smple_idx - 1 ) % DECISION_DELAY; in silk_NSQ_del_dec_c()
241 if( last_smple_idx < 0 ) last_smple_idx += DECISION_DELAY; in silk_NSQ_del_dec_c()
242 … pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_NSQ_del_dec_c()
244 silk_SMULWW( psDD->Xq_Q14[ last_smple_idx ], Gains_Q16[ 1 ] ), 14 ) ); in silk_NSQ_del_dec_c()
245 …NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - decisionDelay + i ] = psDD->Shape_Q14[ last_smple_idx ]; in silk_NSQ_del_dec_c()
289 last_smple_idx = smpl_buf_idx + decisionDelay; in silk_NSQ_del_dec_c()
292 last_smple_idx = ( last_smple_idx - 1 ) % DECISION_DELAY; in silk_NSQ_del_dec_c()
293 if( last_smple_idx < 0 ) last_smple_idx += DECISION_DELAY; in silk_NSQ_del_dec_c()
295 … pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_NSQ_del_dec_c()
297 silk_SMULWW( psDD->Xq_Q14[ last_smple_idx ], Gain_Q10 ), 8 ) ); in silk_NSQ_del_dec_c()
298 …NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - decisionDelay + i ] = psDD->Shape_Q14[ last_smple_idx ]; in silk_NSQ_del_dec_c()
348 opus_int i, j, k, Winner_ind, RDmin_ind, RDmax_ind, last_smple_idx; in silk_noise_shape_quantizer_del_dec() local
566 last_smple_idx = ( *smpl_buf_idx + decisionDelay ) % DECISION_DELAY; in silk_noise_shape_quantizer_del_dec()
579 Winner_rand_state = psDelDec[ Winner_ind ].RandState[ last_smple_idx ]; in silk_noise_shape_quantizer_del_dec()
581 if( psDelDec[ k ].RandState[ last_smple_idx ] != Winner_rand_state ) { in silk_noise_shape_quantizer_del_dec()
616 … pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_noise_shape_quantizer_del_dec()
618 … silk_SMULWW( psDD->Xq_Q14[ last_smple_idx ], delayedGain_Q10[ last_smple_idx ] ), 8 ) ); in silk_noise_shape_quantizer_del_dec()
619 … NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - decisionDelay ] = psDD->Shape_Q14[ last_smple_idx ]; in silk_noise_shape_quantizer_del_dec()
620 … sLTP_Q15[ NSQ->sLTP_buf_idx - decisionDelay ] = psDD->Pred_Q15[ last_smple_idx ]; in silk_noise_shape_quantizer_del_dec()