Lines Matching refs:psDec
36 …silk_decoder_state *psDec, /* I/O State … in silk_decode_indices() argument
51 if( decode_LBRR || psDec->VAD_flags[ FrameIndex ] ) { in silk_decode_indices()
56 psDec->indices.signalType = (opus_int8)silk_RSHIFT( Ix, 1 ); in silk_decode_indices()
57 psDec->indices.quantOffsetType = (opus_int8)( Ix & 1 ); in silk_decode_indices()
65 … psDec->indices.GainsIndices[ 0 ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 ); in silk_decode_indices()
68 …psDec->indices.GainsIndices[ 0 ] = (opus_int8)silk_LSHIFT( ec_dec_icdf( psRangeDec, silk_gain_iCD… in silk_decode_indices()
69 … psDec->indices.GainsIndices[ 0 ] += (opus_int8)ec_dec_icdf( psRangeDec, silk_uniform8_iCDF, 8 ); in silk_decode_indices()
73 for( i = 1; i < psDec->nb_subfr; i++ ) { in silk_decode_indices()
74 … psDec->indices.GainsIndices[ i ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 ); in silk_decode_indices()
80 …psDec->indices.NLSFIndices[ 0 ] = (opus_int8)ec_dec_icdf( psRangeDec, &psDec->psNLSF_CB->CB1_iCDF[… in silk_decode_indices()
81 silk_NLSF_unpack( ec_ix, pred_Q8, psDec->psNLSF_CB, psDec->indices.NLSFIndices[ 0 ] ); in silk_decode_indices()
82 silk_assert( psDec->psNLSF_CB->order == psDec->LPC_order ); in silk_decode_indices()
83 for( i = 0; i < psDec->psNLSF_CB->order; i++ ) { in silk_decode_indices()
84 Ix = ec_dec_icdf( psRangeDec, &psDec->psNLSF_CB->ec_iCDF[ ec_ix[ i ] ], 8 ); in silk_decode_indices()
90 psDec->indices.NLSFIndices[ i+1 ] = (opus_int8)( Ix - NLSF_QUANT_MAX_AMPLITUDE ); in silk_decode_indices()
94 if( psDec->nb_subfr == MAX_NB_SUBFR ) { in silk_decode_indices()
95 …psDec->indices.NLSFInterpCoef_Q2 = (opus_int8)ec_dec_icdf( psRangeDec, silk_NLSF_interpolation_fac… in silk_decode_indices()
97 psDec->indices.NLSFInterpCoef_Q2 = 4; in silk_decode_indices()
100 if( psDec->indices.signalType == TYPE_VOICED ) in silk_decode_indices()
107 if( condCoding == CODE_CONDITIONALLY && psDec->ec_prevSignalType == TYPE_VOICED ) { in silk_decode_indices()
112 psDec->indices.lagIndex = (opus_int16)( psDec->ec_prevLagIndex + delta_lagIndex ); in silk_decode_indices()
118 …psDec->indices.lagIndex = (opus_int16)ec_dec_icdf( psRangeDec, silk_pitch_lag_iCDF, 8 ) * silk_RS… in silk_decode_indices()
119 …psDec->indices.lagIndex += (opus_int16)ec_dec_icdf( psRangeDec, psDec->pitch_lag_low_bits_iCDF, 8 … in silk_decode_indices()
121 psDec->ec_prevLagIndex = psDec->indices.lagIndex; in silk_decode_indices()
124 … psDec->indices.contourIndex = (opus_int8)ec_dec_icdf( psRangeDec, psDec->pitch_contour_iCDF, 8 ); in silk_decode_indices()
130 psDec->indices.PERIndex = (opus_int8)ec_dec_icdf( psRangeDec, silk_LTP_per_index_iCDF, 8 ); in silk_decode_indices()
132 for( k = 0; k < psDec->nb_subfr; k++ ) { in silk_decode_indices()
133 …psDec->indices.LTPIndex[ k ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_LTP_gain_iCDF_ptrs[ psDec-… in silk_decode_indices()
140 … psDec->indices.LTP_scaleIndex = (opus_int8)ec_dec_icdf( psRangeDec, silk_LTPscale_iCDF, 8 ); in silk_decode_indices()
142 psDec->indices.LTP_scaleIndex = 0; in silk_decode_indices()
145 psDec->ec_prevSignalType = psDec->indices.signalType; in silk_decode_indices()
150 psDec->indices.Seed = (opus_int8)ec_dec_icdf( psRangeDec, silk_uniform4_iCDF, 8 ); in silk_decode_indices()