• Home
  • Raw
  • Download

Lines Matching refs:psDec

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