Home
last modified time | relevance | path

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

/external/libopus/silk/arm/
DNSQ_del_dec_neon_intr.c119 const opus_int last_smple_idx, in copy_winner_state_kernel() argument
134 t0_s32x4 = vld1q_lane_s32( &psDelDec->Q_Q10[ last_smple_idx - 0 ][ Winner_ind ], t0_s32x4, 0 ); in copy_winner_state_kernel()
135 t0_s32x4 = vld1q_lane_s32( &psDelDec->Q_Q10[ last_smple_idx - 1 ][ Winner_ind ], t0_s32x4, 1 ); in copy_winner_state_kernel()
136 t0_s32x4 = vld1q_lane_s32( &psDelDec->Q_Q10[ last_smple_idx - 2 ][ Winner_ind ], t0_s32x4, 2 ); in copy_winner_state_kernel()
137 t0_s32x4 = vld1q_lane_s32( &psDelDec->Q_Q10[ last_smple_idx - 3 ][ Winner_ind ], t0_s32x4, 3 ); in copy_winner_state_kernel()
138 t1_s32x4 = vld1q_lane_s32( &psDelDec->Q_Q10[ last_smple_idx - 4 ][ Winner_ind ], t1_s32x4, 0 ); in copy_winner_state_kernel()
139 t1_s32x4 = vld1q_lane_s32( &psDelDec->Q_Q10[ last_smple_idx - 5 ][ Winner_ind ], t1_s32x4, 1 ); in copy_winner_state_kernel()
140 t1_s32x4 = vld1q_lane_s32( &psDelDec->Q_Q10[ last_smple_idx - 6 ][ Winner_ind ], t1_s32x4, 2 ); in copy_winner_state_kernel()
141 t1_s32x4 = vld1q_lane_s32( &psDelDec->Q_Q10[ last_smple_idx - 7 ][ Winner_ind ], t1_s32x4, 3 ); in copy_winner_state_kernel()
145 t0_s32x4 = vld1q_lane_s32( &psDelDec->Xq_Q14[ last_smple_idx - 0 ][ Winner_ind ], t0_s32x4, 0 ); in copy_winner_state_kernel()
[all …]
/external/libopus/silk/
DNSQ_del_dec.c136 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()
[all …]
/external/libopus/silk/x86/
DNSQ_del_dec_sse4_1.c133 opus_int last_smple_idx, smpl_buf_idx, decisionDelay; in silk_NSQ_del_dec_sse4_1() local
235 last_smple_idx = smpl_buf_idx + decisionDelay; in silk_NSQ_del_dec_sse4_1()
237 last_smple_idx = ( last_smple_idx - 1 ) % DECISION_DELAY; in silk_NSQ_del_dec_sse4_1()
238 if( last_smple_idx < 0 ) last_smple_idx += DECISION_DELAY; in silk_NSQ_del_dec_sse4_1()
239 … pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_NSQ_del_dec_sse4_1()
241 silk_SMULWW( psDD->Xq_Q14[ last_smple_idx ], Gains_Q16[ 1 ] ), 14 ) ); in silk_NSQ_del_dec_sse4_1()
242 …NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - decisionDelay + i ] = psDD->Shape_Q14[ last_smple_idx ]; in silk_NSQ_del_dec_sse4_1()
286 last_smple_idx = smpl_buf_idx + decisionDelay; in silk_NSQ_del_dec_sse4_1()
289 last_smple_idx = ( last_smple_idx - 1 ) % DECISION_DELAY; in silk_NSQ_del_dec_sse4_1()
290 if( last_smple_idx < 0 ) last_smple_idx += DECISION_DELAY; in silk_NSQ_del_dec_sse4_1()
[all …]
/external/libopus/silk/mips/
DNSQ_del_dec_mipsr1.h69 opus_int i, j, k, Winner_ind, RDmin_ind, RDmax_ind, last_smple_idx; in silk_noise_shape_quantizer_del_dec() local
328 last_smple_idx = ( *smpl_buf_idx + decisionDelay ) % DECISION_DELAY; in silk_noise_shape_quantizer_del_dec()
341 Winner_rand_state = psDelDec[ Winner_ind ].RandState[ last_smple_idx ]; in silk_noise_shape_quantizer_del_dec()
343 if( psDelDec[ k ].RandState[ last_smple_idx ] != Winner_rand_state ) { in silk_noise_shape_quantizer_del_dec()
378 … pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_noise_shape_quantizer_del_dec()
380 … silk_SMULWW( psDD->Xq_Q14[ last_smple_idx ], delayedGain_Q10[ last_smple_idx ] ), 8 ) ); in silk_noise_shape_quantizer_del_dec()
381 … NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - decisionDelay ] = psDD->Shape_Q14[ last_smple_idx ]; in silk_noise_shape_quantizer_del_dec()
382 … sLTP_Q15[ NSQ->sLTP_buf_idx - decisionDelay ] = psDD->Pred_Q15[ last_smple_idx ]; in silk_noise_shape_quantizer_del_dec()