Home
last modified time | relevance | path

Searched refs:GainsIndices (Results 1 – 8 of 8) sorted by relevance

/external/libopus/silk/
Dencode_indices.c73 …silk_assert( psIndices->GainsIndices[ 0 ] >= 0 && psIndices->GainsIndices[ 0 ] < MAX_DELTA_GAIN_QU… in silk_encode_indices()
74 ec_enc_icdf( psRangeEnc, psIndices->GainsIndices[ 0 ], silk_delta_gain_iCDF, 8 ); in silk_encode_indices()
77 … silk_assert( psIndices->GainsIndices[ 0 ] >= 0 && psIndices->GainsIndices[ 0 ] < N_LEVELS_QGAIN ); in silk_encode_indices()
78 …ec_enc_icdf( psRangeEnc, silk_RSHIFT( psIndices->GainsIndices[ 0 ], 3 ), silk_gain_iCDF[ psIndices… in silk_encode_indices()
79 ec_enc_icdf( psRangeEnc, psIndices->GainsIndices[ 0 ] & 7, silk_uniform8_iCDF, 8 ); in silk_encode_indices()
84 …silk_assert( psIndices->GainsIndices[ i ] >= 0 && psIndices->GainsIndices[ i ] < MAX_DELTA_GAIN_QU… in silk_encode_indices()
85 ec_enc_icdf( psRangeEnc, psIndices->GainsIndices[ i ], silk_delta_gain_iCDF, 8 ); in silk_encode_indices()
Ddecode_indices.c65 … 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()
74 … psDec->indices.GainsIndices[ i ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 ); in silk_decode_indices()
Ddecode_parameters.c46 silk_gains_dequant( psDecCtrl->Gains_Q16, psDec->indices.GainsIndices, in silk_decode_parameters()
Dstructs.h119 opus_int8 GainsIndices[ MAX_NB_SUBFR ]; member
/external/libopus/silk/float/
Dencode_frame_FLP.c169 gainsID = silk_gains_ID( psEnc->sCmn.indices.GainsIndices, psEnc->sCmn.nb_subfr ); in silk_encode_frame_FLP()
222 psEnc->sCmn.indices.GainsIndices[ i ] = 4; in silk_encode_frame_FLP()
225 psEnc->sCmn.indices.GainsIndices[ 0 ] = sEncCtrl.lastGainIndexPrev; in silk_encode_frame_FLP()
343 silk_gains_quant( psEnc->sCmn.indices.GainsIndices, pGains_Q16, in silk_encode_frame_FLP()
347 gainsID = silk_gains_ID( psEnc->sCmn.indices.GainsIndices, psEnc->sCmn.nb_subfr ); in silk_encode_frame_FLP()
413 psIndices_LBRR->GainsIndices[ 0 ] += psEnc->sCmn.LBRR_GainIncreases; in silk_LBRR_encode_FLP()
414 …psIndices_LBRR->GainsIndices[ 0 ] = silk_min_int( psIndices_LBRR->GainsIndices[ 0 ], N_LEVELS_QGAI… in silk_LBRR_encode_FLP()
418 silk_gains_dequant( Gains_Q16, psIndices_LBRR->GainsIndices, in silk_LBRR_encode_FLP()
Dprocess_gains_FLP.c75 silk_gains_quant( psEnc->sCmn.indices.GainsIndices, pGains_Q16, in silk_process_gains_FLP()
/external/libopus/silk/fixed/
Dencode_frame_FIX.c172 gainsID = silk_gains_ID( psEnc->sCmn.indices.GainsIndices, psEnc->sCmn.nb_subfr ); in silk_encode_frame_FIX()
236 psEnc->sCmn.indices.GainsIndices[ i ] = 4; in silk_encode_frame_FIX()
239 psEnc->sCmn.indices.GainsIndices[ 0 ] = sEncCtrl.lastGainIndexPrev; in silk_encode_frame_FIX()
356 silk_gains_quant( psEnc->sCmn.indices.GainsIndices, sEncCtrl.Gains_Q16, in silk_encode_frame_FIX()
360 gainsID = silk_gains_ID( psEnc->sCmn.indices.GainsIndices, psEnc->sCmn.nb_subfr ); in silk_encode_frame_FIX()
421 …psIndices_LBRR->GainsIndices[ 0 ] = psIndices_LBRR->GainsIndices[ 0 ] + psEnc->sCmn.LBRR_GainIncre… in silk_LBRR_encode_FIX()
422 …psIndices_LBRR->GainsIndices[ 0 ] = silk_min_int( psIndices_LBRR->GainsIndices[ 0 ], N_LEVELS_QGAI… in silk_LBRR_encode_FIX()
427 silk_gains_dequant( psEncCtrl->Gains_Q16, psIndices_LBRR->GainsIndices, in silk_LBRR_encode_FIX()
Dprocess_gains_FIX.c94 silk_gains_quant( psEnc->sCmn.indices.GainsIndices, psEncCtrl->Gains_Q16, in silk_process_gains_FIX()