Lines Matching refs:psDD

147     NSQ_del_dec_struct  *psDD;  in silk_NSQ_del_dec_c()  local
159 psDD = &psDelDec[ k ]; in silk_NSQ_del_dec_c()
160 psDD->Seed = ( k + psIndices->Seed ) & 3; in silk_NSQ_del_dec_c()
161 psDD->SeedInit = psDD->Seed; in silk_NSQ_del_dec_c()
162 psDD->RD_Q10 = 0; in silk_NSQ_del_dec_c()
163 psDD->LF_AR_Q14 = NSQ->sLF_AR_shp_Q14; in silk_NSQ_del_dec_c()
164 psDD->Diff_Q14 = NSQ->sDiff_shp_Q14; in silk_NSQ_del_dec_c()
165 psDD->Shape_Q14[ 0 ] = NSQ->sLTP_shp_Q14[ psEncC->ltp_mem_length - 1 ]; in silk_NSQ_del_dec_c()
166 silk_memcpy( psDD->sLPC_Q14, NSQ->sLPC_Q14, NSQ_LPC_BUF_LENGTH * sizeof( opus_int32 ) ); in silk_NSQ_del_dec_c()
167 silk_memcpy( psDD->sAR2_Q14, NSQ->sAR2_Q14, sizeof( NSQ->sAR2_Q14 ) ); in silk_NSQ_del_dec_c()
237 psDD = &psDelDec[ Winner_ind ]; 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()
287 psDD = &psDelDec[ Winner_ind ]; in silk_NSQ_del_dec_c()
288 psIndices->Seed = psDD->SeedInit; 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()
300 …silk_memcpy( NSQ->sLPC_Q14, &psDD->sLPC_Q14[ psEncC->subfr_length ], NSQ_LPC_BUF_LENGTH * sizeof( … in silk_NSQ_del_dec_c()
301 silk_memcpy( NSQ->sAR2_Q14, psDD->sAR2_Q14, sizeof( psDD->sAR2_Q14 ) ); in silk_NSQ_del_dec_c()
304 NSQ->sLF_AR_shp_Q14 = psDD->LF_AR_Q14; in silk_NSQ_del_dec_c()
305 NSQ->sDiff_shp_Q14 = psDD->Diff_Q14; in silk_NSQ_del_dec_c()
360 NSQ_del_dec_struct *psDD; in silk_noise_shape_quantizer_del_dec() local
407 psDD = &psDelDec[ k ]; in silk_noise_shape_quantizer_del_dec()
413 psDD->Seed = silk_RAND( psDD->Seed ); in silk_noise_shape_quantizer_del_dec()
416 psLPC_Q14 = &psDD->sLPC_Q14[ NSQ_LPC_BUF_LENGTH - 1 + i ]; in silk_noise_shape_quantizer_del_dec()
424 tmp2 = silk_SMLAWB( psDD->Diff_Q14, psDD->sAR2_Q14[ 0 ], warping_Q16 ); in silk_noise_shape_quantizer_del_dec()
426 tmp1 = silk_SMLAWB( psDD->sAR2_Q14[ 0 ], psDD->sAR2_Q14[ 1 ] - tmp2, warping_Q16 ); in silk_noise_shape_quantizer_del_dec()
427 psDD->sAR2_Q14[ 0 ] = tmp2; in silk_noise_shape_quantizer_del_dec()
433 … tmp2 = silk_SMLAWB( psDD->sAR2_Q14[ j - 1 ], psDD->sAR2_Q14[ j + 0 ] - tmp1, warping_Q16 ); in silk_noise_shape_quantizer_del_dec()
434 psDD->sAR2_Q14[ j - 1 ] = tmp1; in silk_noise_shape_quantizer_del_dec()
437 … tmp1 = silk_SMLAWB( psDD->sAR2_Q14[ j + 0 ], psDD->sAR2_Q14[ j + 1 ] - tmp2, warping_Q16 ); in silk_noise_shape_quantizer_del_dec()
438 psDD->sAR2_Q14[ j + 0 ] = tmp2; in silk_noise_shape_quantizer_del_dec()
441 psDD->sAR2_Q14[ shapingLPCOrder - 1 ] = tmp1; in silk_noise_shape_quantizer_del_dec()
445 n_AR_Q14 = silk_SMLAWB( n_AR_Q14, psDD->LF_AR_Q14, Tilt_Q14 ); /* Q12 */ in silk_noise_shape_quantizer_del_dec()
448 n_LF_Q14 = silk_SMULWB( psDD->Shape_Q14[ *smpl_buf_idx ], LF_shp_Q14 ); /* Q12 */ in silk_noise_shape_quantizer_del_dec()
449 n_LF_Q14 = silk_SMLAWT( n_LF_Q14, psDD->LF_AR_Q14, LF_shp_Q14 ); /* Q12 */ in silk_noise_shape_quantizer_del_dec()
462 if ( psDD->Seed < 0 ) { in silk_noise_shape_quantizer_del_dec()
512 psSS[ 0 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd1_Q10 ); in silk_noise_shape_quantizer_del_dec()
513 psSS[ 1 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd2_Q10 ); in silk_noise_shape_quantizer_del_dec()
517 psSS[ 0 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd2_Q10 ); in silk_noise_shape_quantizer_del_dec()
518 psSS[ 1 ].RD_Q10 = silk_ADD32( psDD->RD_Q10, rd1_Q10 ); in silk_noise_shape_quantizer_del_dec()
527 if ( psDD->Seed < 0 ) { in silk_noise_shape_quantizer_del_dec()
547 if ( psDD->Seed < 0 ) { in silk_noise_shape_quantizer_del_dec()
614 psDD = &psDelDec[ Winner_ind ]; 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()
627 psDD = &psDelDec[ k ]; in silk_noise_shape_quantizer_del_dec()
629 psDD->LF_AR_Q14 = psSS->LF_AR_Q14; in silk_noise_shape_quantizer_del_dec()
630 psDD->Diff_Q14 = psSS->Diff_Q14; in silk_noise_shape_quantizer_del_dec()
631 psDD->sLPC_Q14[ NSQ_LPC_BUF_LENGTH + i ] = psSS->xq_Q14; in silk_noise_shape_quantizer_del_dec()
632 psDD->Xq_Q14[ *smpl_buf_idx ] = psSS->xq_Q14; in silk_noise_shape_quantizer_del_dec()
633 psDD->Q_Q10[ *smpl_buf_idx ] = psSS->Q_Q10; in silk_noise_shape_quantizer_del_dec()
634 psDD->Pred_Q15[ *smpl_buf_idx ] = silk_LSHIFT32( psSS->LPC_exc_Q14, 1 ); in silk_noise_shape_quantizer_del_dec()
635 psDD->Shape_Q14[ *smpl_buf_idx ] = psSS->sLTP_shp_Q14; in silk_noise_shape_quantizer_del_dec()
636psDD->Seed = silk_ADD32_ovflw( psDD->Seed, silk_RSHIFT_ROUND( psSS->… in silk_noise_shape_quantizer_del_dec()
637 psDD->RandState[ *smpl_buf_idx ] = psDD->Seed; in silk_noise_shape_quantizer_del_dec()
638 psDD->RD_Q10 = psSS->RD_Q10; in silk_noise_shape_quantizer_del_dec()
644 psDD = &psDelDec[ k ]; in silk_noise_shape_quantizer_del_dec()
645 …silk_memcpy( psDD->sLPC_Q14, &psDD->sLPC_Q14[ length ], NSQ_LPC_BUF_LENGTH * sizeof( opus_int32 ) … in silk_noise_shape_quantizer_del_dec()
670 NSQ_del_dec_struct *psDD; in silk_nsq_del_dec_scale_states() local
711 psDD = &psDelDec[ k ]; in silk_nsq_del_dec_scale_states()
714 psDD->LF_AR_Q14 = silk_SMULWW( gain_adj_Q16, psDD->LF_AR_Q14 ); in silk_nsq_del_dec_scale_states()
715 psDD->Diff_Q14 = silk_SMULWW( gain_adj_Q16, psDD->Diff_Q14 ); in silk_nsq_del_dec_scale_states()
719 psDD->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sLPC_Q14[ i ] ); in silk_nsq_del_dec_scale_states()
722 psDD->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sAR2_Q14[ i ] ); in silk_nsq_del_dec_scale_states()
725 psDD->Pred_Q15[ i ] = silk_SMULWW( gain_adj_Q16, psDD->Pred_Q15[ i ] ); in silk_nsq_del_dec_scale_states()
726 psDD->Shape_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->Shape_Q14[ i ] ); in silk_nsq_del_dec_scale_states()