Searched refs:delta_lagIndex (Results 1 – 2 of 2) sorted by relevance
44 opus_int encode_absolute_lagIndex, delta_lagIndex; in silk_encode_indices() local121 delta_lagIndex = psIndices->lagIndex - psEncC->ec_prevLagIndex; in silk_encode_indices()122 if( delta_lagIndex < -8 || delta_lagIndex > 11 ) { in silk_encode_indices()123 delta_lagIndex = 0; in silk_encode_indices()125 delta_lagIndex = delta_lagIndex + 9; in silk_encode_indices()128 silk_assert( delta_lagIndex >= 0 && delta_lagIndex < 21 ); in silk_encode_indices()129 ec_enc_icdf( psRangeEnc, delta_lagIndex, silk_pitch_delta_iCDF, 8 ); in silk_encode_indices()
44 opus_int decode_absolute_lagIndex, delta_lagIndex; in silk_decode_indices() local109 delta_lagIndex = (opus_int16)ec_dec_icdf( psRangeDec, silk_pitch_delta_iCDF, 8 ); in silk_decode_indices()110 if( delta_lagIndex > 0 ) { in silk_decode_indices()111 delta_lagIndex = delta_lagIndex - 9; in silk_decode_indices()112 psDec->indices.lagIndex = (opus_int16)( psDec->ec_prevLagIndex + delta_lagIndex ); in silk_decode_indices()