Lines Matching refs:psDec
64 …silk_decoder_state *psDec /* I/O Decoder state … in silk_CNG_Reset() argument
69 NLSF_step_Q15 = silk_DIV32_16( silk_int16_MAX, psDec->LPC_order + 1 ); in silk_CNG_Reset()
71 for( i = 0; i < psDec->LPC_order; i++ ) { in silk_CNG_Reset()
73 psDec->sCNG.CNG_smth_NLSF_Q15[ i ] = NLSF_acc_Q15; in silk_CNG_Reset()
75 psDec->sCNG.CNG_smth_Gain_Q16 = 0; in silk_CNG_Reset()
76 psDec->sCNG.rand_seed = 3176576; in silk_CNG_Reset()
81 …silk_decoder_state *psDec, /* I/O Decoder state … in silk_CNG() argument
90 silk_CNG_struct *psCNG = &psDec->sCNG; in silk_CNG()
93 if( psDec->fs_kHz != psCNG->fs_kHz ) { in silk_CNG()
95 silk_CNG_Reset( psDec ); in silk_CNG()
97 psCNG->fs_kHz = psDec->fs_kHz; in silk_CNG()
99 if( psDec->lossCnt == 0 && psDec->prevSignalType == TYPE_NO_VOICE_ACTIVITY ) { in silk_CNG()
103 for( i = 0; i < psDec->LPC_order; i++ ) { in silk_CNG()
104 …psCNG->CNG_smth_NLSF_Q15[ i ] += silk_SMULWB( (opus_int32)psDec->prevNLSF_Q15[ i ] - (opus_int32)p… in silk_CNG()
109 for( i = 0; i < psDec->nb_subfr; i++ ) { in silk_CNG()
116 …lk_memmove( &psCNG->CNG_exc_buf_Q14[ psDec->subfr_length ], psCNG->CNG_exc_buf_Q14, ( psDec->nb_su… in silk_CNG()
117 …silk_memcpy( psCNG->CNG_exc_buf_Q14, &psDec->exc_Q14[ subfr * psDec->subfr_length ], psDec->subf… in silk_CNG()
120 for( i = 0; i < psDec->nb_subfr; i++ ) { in silk_CNG()
126 if( psDec->lossCnt ) { in silk_CNG()
135 silk_NLSF2A( A_Q12, psCNG->CNG_smth_NLSF_Q15, psDec->LPC_order ); in silk_CNG()
140 silk_assert( psDec->LPC_order == 10 || psDec->LPC_order == 16 ); in silk_CNG()
142 sum_Q6 = silk_RSHIFT( psDec->LPC_order, 1 ); in silk_CNG()
153 if( psDec->LPC_order == 16 ) { in silk_CNG()
169 silk_memset( psCNG->CNG_synth_state, 0, psDec->LPC_order * sizeof( opus_int32 ) ); in silk_CNG()