Lines Matching refs:psDD
145 NSQ_del_dec_struct *psDD; in silk_NSQ_del_dec_c() local
157 psDD = &psDelDec[ k ]; in silk_NSQ_del_dec_c()
158 psDD->Seed = ( k + psIndices->Seed ) & 3; in silk_NSQ_del_dec_c()
159 psDD->SeedInit = psDD->Seed; in silk_NSQ_del_dec_c()
160 psDD->RD_Q10 = 0; in silk_NSQ_del_dec_c()
161 psDD->LF_AR_Q14 = NSQ->sLF_AR_shp_Q14; in silk_NSQ_del_dec_c()
162 psDD->Shape_Q14[ 0 ] = NSQ->sLTP_shp_Q14[ psEncC->ltp_mem_length - 1 ]; in silk_NSQ_del_dec_c()
163 silk_memcpy( psDD->sLPC_Q14, NSQ->sLPC_Q14, NSQ_LPC_BUF_LENGTH * sizeof( opus_int32 ) ); in silk_NSQ_del_dec_c()
164 silk_memcpy( psDD->sAR2_Q14, NSQ->sAR2_Q14, sizeof( NSQ->sAR2_Q14 ) ); in silk_NSQ_del_dec_c()
235 psDD = &psDelDec[ Winner_ind ]; in silk_NSQ_del_dec_c()
239 … pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_NSQ_del_dec_c()
241 silk_SMULWW( psDD->Xq_Q14[ last_smple_idx ], Gains_Q16[ 1 ] ), 14 ) ); in silk_NSQ_del_dec_c()
242 …NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - decisionDelay + i ] = psDD->Shape_Q14[ last_smple_idx ]; in silk_NSQ_del_dec_c()
284 psDD = &psDelDec[ Winner_ind ]; in silk_NSQ_del_dec_c()
285 psIndices->Seed = psDD->SeedInit; in silk_NSQ_del_dec_c()
290 … pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_NSQ_del_dec_c()
292 silk_SMULWW( psDD->Xq_Q14[ last_smple_idx ], Gain_Q10 ), 8 ) ); in silk_NSQ_del_dec_c()
293 …NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - decisionDelay + i ] = psDD->Shape_Q14[ last_smple_idx ]; in silk_NSQ_del_dec_c()
295 …silk_memcpy( NSQ->sLPC_Q14, &psDD->sLPC_Q14[ psEncC->subfr_length ], NSQ_LPC_BUF_LENGTH * sizeof( … in silk_NSQ_del_dec_c()
296 silk_memcpy( NSQ->sAR2_Q14, psDD->sAR2_Q14, sizeof( psDD->sAR2_Q14 ) ); in silk_NSQ_del_dec_c()
299 NSQ->sLF_AR_shp_Q14 = psDD->LF_AR_Q14; in silk_NSQ_del_dec_c()
355 NSQ_del_dec_struct *psDD; in silk_noise_shape_quantizer_del_dec() local
402 psDD = &psDelDec[ k ]; in silk_noise_shape_quantizer_del_dec()
408 psDD->Seed = silk_RAND( psDD->Seed ); in silk_noise_shape_quantizer_del_dec()
411 psLPC_Q14 = &psDD->sLPC_Q14[ NSQ_LPC_BUF_LENGTH - 1 + i ]; in silk_noise_shape_quantizer_del_dec()
419 tmp2 = silk_SMLAWB( psLPC_Q14[ 0 ], psDD->sAR2_Q14[ 0 ], warping_Q16 ); in silk_noise_shape_quantizer_del_dec()
421 tmp1 = silk_SMLAWB( psDD->sAR2_Q14[ 0 ], psDD->sAR2_Q14[ 1 ] - tmp2, warping_Q16 ); in silk_noise_shape_quantizer_del_dec()
422 psDD->sAR2_Q14[ 0 ] = tmp2; in silk_noise_shape_quantizer_del_dec()
428 … tmp2 = silk_SMLAWB( psDD->sAR2_Q14[ j - 1 ], psDD->sAR2_Q14[ j + 0 ] - tmp1, warping_Q16 ); in silk_noise_shape_quantizer_del_dec()
429 psDD->sAR2_Q14[ j - 1 ] = tmp1; in silk_noise_shape_quantizer_del_dec()
432 … tmp1 = silk_SMLAWB( psDD->sAR2_Q14[ j + 0 ], psDD->sAR2_Q14[ j + 1 ] - tmp2, warping_Q16 ); in silk_noise_shape_quantizer_del_dec()
433 psDD->sAR2_Q14[ j + 0 ] = tmp2; in silk_noise_shape_quantizer_del_dec()
436 psDD->sAR2_Q14[ shapingLPCOrder - 1 ] = tmp1; in silk_noise_shape_quantizer_del_dec()
440 n_AR_Q14 = silk_SMLAWB( n_AR_Q14, psDD->LF_AR_Q14, Tilt_Q14 ); /* Q12 */ in silk_noise_shape_quantizer_del_dec()
443 n_LF_Q14 = silk_SMULWB( psDD->Shape_Q14[ *smpl_buf_idx ], LF_shp_Q14 ); /* Q12 */ in silk_noise_shape_quantizer_del_dec()
444 n_LF_Q14 = silk_SMLAWT( n_LF_Q14, psDD->LF_AR_Q14, LF_shp_Q14 ); /* Q12 */ in silk_noise_shape_quantizer_del_dec()
457 if ( psDD->Seed < 0 ) { in silk_noise_shape_quantizer_del_dec()
494 psSS[ 0 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd1_Q10 ); in silk_noise_shape_quantizer_del_dec()
495 psSS[ 1 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd2_Q10 ); in silk_noise_shape_quantizer_del_dec()
499 psSS[ 0 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd2_Q10 ); in silk_noise_shape_quantizer_del_dec()
500 psSS[ 1 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd1_Q10 ); in silk_noise_shape_quantizer_del_dec()
509 if ( psDD->Seed < 0 ) { in silk_noise_shape_quantizer_del_dec()
528 if ( psDD->Seed < 0 ) { in silk_noise_shape_quantizer_del_dec()
594 psDD = &psDelDec[ Winner_ind ]; in silk_noise_shape_quantizer_del_dec()
596 … pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_noise_shape_quantizer_del_dec()
598 … silk_SMULWW( psDD->Xq_Q14[ last_smple_idx ], delayedGain_Q10[ last_smple_idx ] ), 8 ) ); in silk_noise_shape_quantizer_del_dec()
599 … NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - decisionDelay ] = psDD->Shape_Q14[ last_smple_idx ]; in silk_noise_shape_quantizer_del_dec()
600 … sLTP_Q15[ NSQ->sLTP_buf_idx - decisionDelay ] = psDD->Pred_Q15[ last_smple_idx ]; in silk_noise_shape_quantizer_del_dec()
607 psDD = &psDelDec[ k ]; in silk_noise_shape_quantizer_del_dec()
609 psDD->LF_AR_Q14 = psSS->LF_AR_Q14; in silk_noise_shape_quantizer_del_dec()
610 psDD->sLPC_Q14[ NSQ_LPC_BUF_LENGTH + i ] = psSS->xq_Q14; in silk_noise_shape_quantizer_del_dec()
611 psDD->Xq_Q14[ *smpl_buf_idx ] = psSS->xq_Q14; in silk_noise_shape_quantizer_del_dec()
612 psDD->Q_Q10[ *smpl_buf_idx ] = psSS->Q_Q10; in silk_noise_shape_quantizer_del_dec()
613 psDD->Pred_Q15[ *smpl_buf_idx ] = silk_LSHIFT32( psSS->LPC_exc_Q14, 1 ); in silk_noise_shape_quantizer_del_dec()
614 psDD->Shape_Q14[ *smpl_buf_idx ] = psSS->sLTP_shp_Q14; in silk_noise_shape_quantizer_del_dec()
615 …psDD->Seed = silk_ADD32_ovflw( psDD->Seed, silk_RSHIFT_ROUND( psSS->… in silk_noise_shape_quantizer_del_dec()
616 psDD->RandState[ *smpl_buf_idx ] = psDD->Seed; in silk_noise_shape_quantizer_del_dec()
617 psDD->RD_Q10 = psSS->RD_Q10; in silk_noise_shape_quantizer_del_dec()
623 psDD = &psDelDec[ k ]; in silk_noise_shape_quantizer_del_dec()
624 …silk_memcpy( psDD->sLPC_Q14, &psDD->sLPC_Q14[ length ], NSQ_LPC_BUF_LENGTH * sizeof( opus_int32 ) … in silk_noise_shape_quantizer_del_dec()
649 NSQ_del_dec_struct *psDD; in silk_nsq_del_dec_scale_states() local
698 psDD = &psDelDec[ k ]; in silk_nsq_del_dec_scale_states()
701 psDD->LF_AR_Q14 = silk_SMULWW( gain_adj_Q16, psDD->LF_AR_Q14 ); in silk_nsq_del_dec_scale_states()
705 psDD->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sLPC_Q14[ i ] ); in silk_nsq_del_dec_scale_states()
708 psDD->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sAR2_Q14[ i ] ); in silk_nsq_del_dec_scale_states()
711 psDD->Pred_Q15[ i ] = silk_SMULWW( gain_adj_Q16, psDD->Pred_Q15[ i ] ); in silk_nsq_del_dec_scale_states()
712 psDD->Shape_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->Shape_Q14[ i ] ); in silk_nsq_del_dec_scale_states()