Lines Matching refs:psEncC

36 …silk_encoder_state          *psEncC,                        /* I/O  Encoder state                 …  in silk_encode_indices()  argument
50 psIndices = &psEncC->indices_LBRR[ FrameIndex ]; in silk_encode_indices()
52 psIndices = &psEncC->indices; in silk_encode_indices()
83 for( i = 1; i < psEncC->nb_subfr; i++ ) { in silk_encode_indices()
91 …psRangeEnc, psIndices->NLSFIndices[ 0 ], &psEncC->psNLSF_CB->CB1_iCDF[ ( psIndices->signalType >> … in silk_encode_indices()
92 silk_NLSF_unpack( ec_ix, pred_Q8, psEncC->psNLSF_CB, psIndices->NLSFIndices[ 0 ] ); in silk_encode_indices()
93 silk_assert( psEncC->psNLSF_CB->order == psEncC->predictLPCOrder ); in silk_encode_indices()
94 for( i = 0; i < psEncC->psNLSF_CB->order; i++ ) { in silk_encode_indices()
96 …ec_enc_icdf( psRangeEnc, 2 * NLSF_QUANT_MAX_AMPLITUDE, &psEncC->psNLSF_CB->ec_iCDF[ ec_ix[ i ] ], … in silk_encode_indices()
99 ec_enc_icdf( psRangeEnc, 0, &psEncC->psNLSF_CB->ec_iCDF[ ec_ix[ i ] ], 8 ); in silk_encode_indices()
102 …( psRangeEnc, psIndices->NLSFIndices[ i+1 ] + NLSF_QUANT_MAX_AMPLITUDE, &psEncC->psNLSF_CB->ec_iCD… in silk_encode_indices()
107 if( psEncC->nb_subfr == MAX_NB_SUBFR ) { in silk_encode_indices()
119 if( condCoding == CODE_CONDITIONALLY && psEncC->ec_prevSignalType == TYPE_VOICED ) { in silk_encode_indices()
121 delta_lagIndex = psIndices->lagIndex - psEncC->ec_prevLagIndex; in silk_encode_indices()
134 … pitch_high_bits = silk_DIV32_16( psIndices->lagIndex, silk_RSHIFT( psEncC->fs_kHz, 1 ) ); in silk_encode_indices()
135 …_low_bits = psIndices->lagIndex - silk_SMULBB( pitch_high_bits, silk_RSHIFT( psEncC->fs_kHz, 1 ) ); in silk_encode_indices()
136 silk_assert( pitch_low_bits < psEncC->fs_kHz / 2 ); in silk_encode_indices()
139 ec_enc_icdf( psRangeEnc, pitch_low_bits, psEncC->pitch_lag_low_bits_iCDF, 8 ); in silk_encode_indices()
141 psEncC->ec_prevLagIndex = psIndices->lagIndex; in silk_encode_indices()
145 … silk_assert( ( psIndices->contourIndex < 34 && psEncC->fs_kHz > 8 && psEncC->nb_subfr == 4 ) || in silk_encode_indices()
146 … ( psIndices->contourIndex < 11 && psEncC->fs_kHz == 8 && psEncC->nb_subfr == 4 ) || in silk_encode_indices()
147 … ( psIndices->contourIndex < 12 && psEncC->fs_kHz > 8 && psEncC->nb_subfr == 2 ) || in silk_encode_indices()
148 … ( psIndices->contourIndex < 3 && psEncC->fs_kHz == 8 && psEncC->nb_subfr == 2 ) ); in silk_encode_indices()
149 ec_enc_icdf( psRangeEnc, psIndices->contourIndex, psEncC->pitch_contour_iCDF, 8 ); in silk_encode_indices()
159 for( k = 0; k < psEncC->nb_subfr; k++ ) { in silk_encode_indices()
174 psEncC->ec_prevSignalType = psIndices->signalType; in silk_encode_indices()