Home
last modified time | relevance | path

Searched refs:psIndices (Results 1 – 6 of 6) sorted by relevance

/external/libopus/silk/
Dencode_indices.c47 const SideInfoIndices *psIndices; in silk_encode_indices() local
50 psIndices = &psEncC->indices_LBRR[ FrameIndex ]; in silk_encode_indices()
52 psIndices = &psEncC->indices; in silk_encode_indices()
58 typeOffset = 2 * psIndices->signalType + psIndices->quantOffsetType; in silk_encode_indices()
73 …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()
[all …]
DNSQ.c74 …SideInfoIndices *psIndices, /* I/O Quantization Indic… in silk_NSQ() argument
99 NSQ->rand_seed = psIndices->Seed; in silk_NSQ()
106 …offset_Q10 = silk_Quantization_Offsets_Q10[ psIndices->signalType >> 1 ][ psIndices->quantOffsetTy… in silk_NSQ()
108 if( psIndices->NLSFInterpCoef_Q2 == 4 ) { in silk_NSQ()
133 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ()
151 … NSQ, x_Q3, x_sc_Q10, sLTP, sLTP_Q15, k, LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType ); in silk_NSQ()
153 …silk_noise_shape_quantizer( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q15, A_Q12, B_… in silk_NSQ()
DNSQ_del_dec.c112 …SideInfoIndices *psIndices, /* I/O Quantization Indic… in silk_NSQ_del_dec() argument
152 psDD->Seed = ( k + psIndices->Seed ) & 3; in silk_NSQ_del_dec()
161 …offset_Q10 = silk_Quantization_Offsets_Q10[ psIndices->signalType >> 1 ][ psIndices->quantOffset… in silk_NSQ_del_dec()
167 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec()
177 if( psIndices->NLSFInterpCoef_Q2 == 4 ) { in silk_NSQ_del_dec()
204 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec()
255 …psEncC->nStatesDelayedDecision, LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType, decisionD… in silk_NSQ_del_dec()
257 …silk_noise_shape_quantizer_del_dec( NSQ, psDelDec, psIndices->signalType, x_sc_Q10, pulses, pxq, s… in silk_NSQ_del_dec()
279 psIndices->Seed = psDD->SeedInit; in silk_NSQ_del_dec()
Dmain.h235 …SideInfoIndices *psIndices, /* I/O Quantization Indic…
254 …SideInfoIndices *psIndices, /* I/O Quantization Indic…
/external/libopus/silk/float/
Dwrappers_FLP.c98 …SideInfoIndices *psIndices, /* I/O Quantization indices … in silk_NSQ_wrapper_FLP() argument
150 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_wrapper_FLP()
151 LTP_scale_Q14 = silk_LTPScales_table_Q14[ psIndices->LTP_scaleIndex ]; in silk_NSQ_wrapper_FLP()
163 … silk_NSQ_del_dec( &psEnc->sCmn, psNSQ, psIndices, x_Q3, pulses, PredCoef_Q12[ 0 ], LTPCoef_Q14, in silk_NSQ_wrapper_FLP()
166 silk_NSQ( &psEnc->sCmn, psNSQ, psIndices, x_Q3, pulses, PredCoef_Q12[ 0 ], LTPCoef_Q14, in silk_NSQ_wrapper_FLP()
Dmain_FLP.h302 …SideInfoIndices *psIndices, /* I/O Quantization indices …