Home
last modified time | relevance | path

Searched refs:NLSF_QUANT_MAX_AMPLITUDE (Results 1 – 5 of 5) sorted by relevance

/external/libopus/silk/
DNLSF_del_dec_quant.c107 if( ind_tmp + 1 >= NLSF_QUANT_MAX_AMPLITUDE ) { in silk_NLSF_del_dec_quant()
108 if( ind_tmp + 1 == NLSF_QUANT_MAX_AMPLITUDE ) { in silk_NLSF_del_dec_quant()
109 rate0_Q5 = rates_Q5[ ind_tmp + NLSF_QUANT_MAX_AMPLITUDE ]; in silk_NLSF_del_dec_quant()
112 rate0_Q5 = silk_SMLABB( 280 - 43 * NLSF_QUANT_MAX_AMPLITUDE, 43, ind_tmp ); in silk_NLSF_del_dec_quant()
115 } else if( ind_tmp <= -NLSF_QUANT_MAX_AMPLITUDE ) { in silk_NLSF_del_dec_quant()
116 if( ind_tmp == -NLSF_QUANT_MAX_AMPLITUDE ) { in silk_NLSF_del_dec_quant()
118 rate1_Q5 = rates_Q5[ ind_tmp + 1 + NLSF_QUANT_MAX_AMPLITUDE ]; in silk_NLSF_del_dec_quant()
120 rate0_Q5 = silk_SMLABB( 280 - 43 * NLSF_QUANT_MAX_AMPLITUDE, -43, ind_tmp ); in silk_NLSF_del_dec_quant()
124 rate0_Q5 = rates_Q5[ ind_tmp + NLSF_QUANT_MAX_AMPLITUDE ]; in silk_NLSF_del_dec_quant()
125 rate1_Q5 = rates_Q5[ ind_tmp + 1 + NLSF_QUANT_MAX_AMPLITUDE ]; in silk_NLSF_del_dec_quant()
Dencode_indices.c95 if( psIndices->NLSFIndices[ i+1 ] >= NLSF_QUANT_MAX_AMPLITUDE ) { 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()
97 …ec_enc_icdf( psRangeEnc, psIndices->NLSFIndices[ i+1 ] - NLSF_QUANT_MAX_AMPLITUDE, silk_NLSF_EXT_i… in silk_encode_indices()
98 } else if( psIndices->NLSFIndices[ i+1 ] <= -NLSF_QUANT_MAX_AMPLITUDE ) { in silk_encode_indices()
100 …ec_enc_icdf( psRangeEnc, -psIndices->NLSFIndices[ i+1 ] - NLSF_QUANT_MAX_AMPLITUDE, silk_NLSF_EXT_… in silk_encode_indices()
102 …ec_enc_icdf( psRangeEnc, psIndices->NLSFIndices[ i+1 ] + NLSF_QUANT_MAX_AMPLITUDE, &psEncC->psNLSF… in silk_encode_indices()
DNLSF_unpack.c49 … ec_ix [ i ] = silk_SMULBB( silk_RSHIFT( entry, 1 ) & 7, 2 * NLSF_QUANT_MAX_AMPLITUDE + 1 ); in silk_NLSF_unpack()
51 … ec_ix [ i + 1 ] = silk_SMULBB( silk_RSHIFT( entry, 5 ) & 7, 2 * NLSF_QUANT_MAX_AMPLITUDE + 1 ); in silk_NLSF_unpack()
Ddecode_indices.c87 } else if( Ix == 2 * NLSF_QUANT_MAX_AMPLITUDE ) { in silk_decode_indices()
90 psDec->indices.NLSFIndices[ i+1 ] = (opus_int8)( Ix - NLSF_QUANT_MAX_AMPLITUDE ); in silk_decode_indices()
Ddefine.h208 #define NLSF_QUANT_MAX_AMPLITUDE 4 macro