Lines Matching defs:psDec
36 silk_decoder_state *psDec, /* I/O State */
46 silk_gains_dequant( psDecCtrl->Gains_Q16, psDec->indices.GainsIndices,
47 &psDec->LastGainIndex, condCoding == CODE_CONDITIONALLY, psDec->nb_subfr );
52 silk_NLSF_decode( pNLSF_Q15, psDec->indices.NLSFIndices, psDec->psNLSF_CB );
55 silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 1 ], pNLSF_Q15, psDec->LPC_order );
59 if( psDec->first_frame_after_reset == 1 ) {
60 psDec->indices.NLSFInterpCoef_Q2 = 4;
63 if( psDec->indices.NLSFInterpCoef_Q2 < 4 ) {
66 for( i = 0; i < psDec->LPC_order; i++ ) {
67 pNLSF0_Q15[ i ] = psDec->prevNLSF_Q15[ i ] + silk_RSHIFT( silk_MUL( psDec->indices.NLSFInterpCoef_Q2,
68 pNLSF_Q15[ i ] - psDec->prevNLSF_Q15[ i ] ), 2 );
72 silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 0 ], pNLSF0_Q15, psDec->LPC_order );
75 silk_memcpy( psDecCtrl->PredCoef_Q12[ 0 ], psDecCtrl->PredCoef_Q12[ 1 ], psDec->LPC_order * sizeof( opus_int16 ) );
78 silk_memcpy( psDec->prevNLSF_Q15, pNLSF_Q15, psDec->LPC_order * sizeof( opus_int16 ) );
81 if( psDec->lossCnt ) {
82 silk_bwexpander( psDecCtrl->PredCoef_Q12[ 0 ], psDec->LPC_order, BWE_AFTER_LOSS_Q16 );
83 silk_bwexpander( psDecCtrl->PredCoef_Q12[ 1 ], psDec->LPC_order, BWE_AFTER_LOSS_Q16 );
86 if( psDec->indices.signalType == TYPE_VOICED ) {
92 silk_decode_pitch( psDec->indices.lagIndex, psDec->indices.contourIndex, psDecCtrl->pitchL, psDec->fs_kHz, psDec->nb_subfr );
95 cbk_ptr_Q7 = silk_LTP_vq_ptrs_Q7[ psDec->indices.PERIndex ]; /* set pointer to start of codebook */
97 for( k = 0; k < psDec->nb_subfr; k++ ) {
98 Ix = psDec->indices.LTPIndex[ k ];
107 Ix = psDec->indices.LTP_scaleIndex;
110 silk_memset( psDecCtrl->pitchL, 0, psDec->nb_subfr * sizeof( opus_int ) );
111 silk_memset( psDecCtrl->LTPCoef_Q14, 0, LTP_ORDER * psDec->nb_subfr * sizeof( opus_int16 ) );
112 psDec->indices.PERIndex = 0;