Lines Matching refs:NSQ

62     silk_nsq_state      *NSQ,                       /* I/O  NSQ state                           */
81 silk_nsq_state *NSQ, /* I/O NSQ state */
111 …silk_nsq_state *NSQ, /* I/O NSQ state … in silk_NSQ_del_dec() argument
143 lag = NSQ->lagPrev; in silk_NSQ_del_dec()
145 silk_assert( NSQ->prev_gain_Q16 != 0 ); in silk_NSQ_del_dec()
155 psDD->LF_AR_Q14 = NSQ->sLF_AR_shp_Q14; in silk_NSQ_del_dec()
156 psDD->Shape_Q14[ 0 ] = NSQ->sLTP_shp_Q14[ psEncC->ltp_mem_length - 1 ]; in silk_NSQ_del_dec()
157 silk_memcpy( psDD->sLPC_Q14, NSQ->sLPC_Q14, NSQ_LPC_BUF_LENGTH * sizeof( opus_int32 ) ); in silk_NSQ_del_dec()
158 silk_memcpy( psDD->sAR2_Q14, NSQ->sAR2_Q14, sizeof( NSQ->sAR2_Q14 ) ); in silk_NSQ_del_dec()
189 pxq = &NSQ->xq[ psEncC->ltp_mem_length ]; in silk_NSQ_del_dec()
190 NSQ->sLTP_shp_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_del_dec()
191 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_del_dec()
203 NSQ->rewhite_flag = 0; in silk_NSQ_del_dec()
236NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - decisionDelay + i ] = psDD->Shape_Q14[ last_smple_idx ]; in silk_NSQ_del_dec()
246 … silk_LPC_analysis_filter( &sLTP[ start_idx ], &NSQ->xq[ start_idx + k * psEncC->subfr_length ], in silk_NSQ_del_dec()
249 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_del_dec()
250 NSQ->rewhite_flag = 1; in silk_NSQ_del_dec()
254 silk_nsq_del_dec_scale_states( psEncC, NSQ, psDelDec, x_Q3, x_sc_Q10, sLTP, sLTP_Q15, k, in silk_NSQ_del_dec()
257 …silk_noise_shape_quantizer_del_dec( NSQ, psDelDec, psIndices->signalType, x_sc_Q10, pulses, pxq, s… in silk_NSQ_del_dec()
287NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - decisionDelay + i ] = psDD->Shape_Q14[ last_smple_idx ]; in silk_NSQ_del_dec()
289 …silk_memcpy( NSQ->sLPC_Q14, &psDD->sLPC_Q14[ psEncC->subfr_length ], NSQ_LPC_BUF_LENGTH * sizeof( … in silk_NSQ_del_dec()
290 silk_memcpy( NSQ->sAR2_Q14, psDD->sAR2_Q14, sizeof( psDD->sAR2_Q14 ) ); in silk_NSQ_del_dec()
293 NSQ->sLF_AR_shp_Q14 = psDD->LF_AR_Q14; in silk_NSQ_del_dec()
294 NSQ->lagPrev = pitchL[ psEncC->nb_subfr - 1 ]; in silk_NSQ_del_dec()
298 …silk_memmove( NSQ->xq, &NSQ->xq[ psEncC->frame_length ], psEncC->ltp_mem_lengt… in silk_NSQ_del_dec()
299 …silk_memmove( NSQ->sLTP_shp_Q14, &NSQ->sLTP_shp_Q14[ psEncC->frame_length ], psEncC->ltp_mem_lengt… in silk_NSQ_del_dec()
307 silk_nsq_state *NSQ, /* I/O NSQ state */ in silk_noise_shape_quantizer_del_dec() argument
350 shp_lag_ptr = &NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - lag + HARM_SHAPE_FIR_TAPS / 2 ]; in silk_noise_shape_quantizer_del_dec()
351 pred_lag_ptr = &sLTP_Q15[ NSQ->sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_noise_shape_quantizer_del_dec()
603NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - decisionDelay ] = psDD->Shape_Q14[ last_smple_idx ]; in silk_noise_shape_quantizer_del_dec()
604 … sLTP_Q15[ NSQ->sLTP_buf_idx - decisionDelay ] = psDD->Pred_Q15[ last_smple_idx ]; in silk_noise_shape_quantizer_del_dec()
606 NSQ->sLTP_shp_buf_idx++; in silk_noise_shape_quantizer_del_dec()
607 NSQ->sLTP_buf_idx++; in silk_noise_shape_quantizer_del_dec()
635 silk_nsq_state *NSQ, /* I/O NSQ state */ in silk_nsq_del_dec_scale_states() argument
659 if( Gains_Q16[ subfr ] != NSQ->prev_gain_Q16 ) { in silk_nsq_del_dec_scale_states()
660 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_del_dec_scale_states()
672 NSQ->prev_gain_Q16 = Gains_Q16[ subfr ]; in silk_nsq_del_dec_scale_states()
675 if( NSQ->rewhite_flag ) { in silk_nsq_del_dec_scale_states()
680 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) { in silk_nsq_del_dec_scale_states()
689 for( i = NSQ->sLTP_shp_buf_idx - psEncC->ltp_mem_length; i < NSQ->sLTP_shp_buf_idx; i++ ) { in silk_nsq_del_dec_scale_states()
690 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_del_dec_scale_states()
694 if( signal_type == TYPE_VOICED && NSQ->rewhite_flag == 0 ) { in silk_nsq_del_dec_scale_states()
695 … for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx - decisionDelay; i++ ) { in silk_nsq_del_dec_scale_states()