• Home
  • Raw
  • Download

Lines Matching refs:psDec

63 …silk_decoder_state          *psDec                          /* I/O  Decoder state                 …  in silk_CNG_Reset()  argument
68 NLSF_step_Q15 = silk_DIV32_16( silk_int16_MAX, psDec->LPC_order + 1 ); in silk_CNG_Reset()
70 for( i = 0; i < psDec->LPC_order; i++ ) { in silk_CNG_Reset()
72 psDec->sCNG.CNG_smth_NLSF_Q15[ i ] = NLSF_acc_Q15; in silk_CNG_Reset()
74 psDec->sCNG.CNG_smth_Gain_Q16 = 0; in silk_CNG_Reset()
75 psDec->sCNG.rand_seed = 3176576; in silk_CNG_Reset()
80 …silk_decoder_state *psDec, /* I/O Decoder state … in silk_CNG() argument
89 silk_CNG_struct *psCNG = &psDec->sCNG; in silk_CNG()
92 if( psDec->fs_kHz != psCNG->fs_kHz ) { in silk_CNG()
94 silk_CNG_Reset( psDec ); in silk_CNG()
96 psCNG->fs_kHz = psDec->fs_kHz; in silk_CNG()
98 if( psDec->lossCnt == 0 && psDec->prevSignalType == TYPE_NO_VOICE_ACTIVITY ) { in silk_CNG()
102 for( i = 0; i < psDec->LPC_order; i++ ) { in silk_CNG()
103 …psCNG->CNG_smth_NLSF_Q15[ i ] += silk_SMULWB( (opus_int32)psDec->prevNLSF_Q15[ i ] - (opus_int32)p… in silk_CNG()
108 for( i = 0; i < psDec->nb_subfr; i++ ) { in silk_CNG()
115 …lk_memmove( &psCNG->CNG_exc_buf_Q14[ psDec->subfr_length ], psCNG->CNG_exc_buf_Q14, ( psDec->nb_su… in silk_CNG()
116 …silk_memcpy( psCNG->CNG_exc_buf_Q14, &psDec->exc_Q14[ subfr * psDec->subfr_length ], psDec->subf… in silk_CNG()
119 for( i = 0; i < psDec->nb_subfr; i++ ) { in silk_CNG()
125 if( psDec->lossCnt ) { in silk_CNG()
130 gain_Q16 = silk_SMULWW( psDec->sPLC.randScale_Q14, psDec->sPLC.prevGain_Q16[1] ); in silk_CNG()
145 silk_NLSF2A( A_Q12, psCNG->CNG_smth_NLSF_Q15, psDec->LPC_order, psDec->arch ); in silk_CNG()
149 celt_assert( psDec->LPC_order == 10 || psDec->LPC_order == 16 ); in silk_CNG()
152 LPC_pred_Q10 = silk_RSHIFT( psDec->LPC_order, 1 ); in silk_CNG()
163 if( psDec->LPC_order == 16 ) { in silk_CNG()
181 silk_memset( psCNG->CNG_synth_state, 0, psDec->LPC_order * sizeof( opus_int32 ) ); in silk_CNG()