Home
last modified time | relevance | path

Searched refs:psIndices (Results 1 – 13 of 13) 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 …]
Dmain.h252 …SideInfoIndices *psIndices, /* I/O Quantization Indic…
268 #define silk_NSQ(psEncC, NSQ, psIndices, x16, pulses, PredCoef_Q12, LTPCoef_Q14, AR_Q13, \ argument
270 … ((void)(arch),silk_NSQ_c(psEncC, NSQ, psIndices, x16, pulses, PredCoef_Q12, LTPCoef_Q14, AR_Q13, \
278 …SideInfoIndices *psIndices, /* I/O Quantization Indic…
294 #define silk_NSQ_del_dec(psEncC, NSQ, psIndices, x16, pulses, PredCoef_Q12, LTPCoef_Q14, AR_Q13, \ argument
296 …((void)(arch),silk_NSQ_del_dec_c(psEncC, NSQ, psIndices, x16, pulses, PredCoef_Q12, LTPCoef_Q14, A…
DNSQ.c80 …SideInfoIndices *psIndices, /* I/O Quantization Indic… in silk_NSQ_c() argument
105 NSQ->rand_seed = psIndices->Seed; in silk_NSQ_c()
112 …offset_Q10 = silk_Quantization_Offsets_Q10[ psIndices->signalType >> 1 ][ psIndices->quantOffsetTy… in silk_NSQ_c()
114 if( psIndices->NLSFInterpCoef_Q2 == 4 ) { in silk_NSQ_c()
138 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_c()
156 …, NSQ, x16, x_sc_Q10, sLTP, sLTP_Q15, k, LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType ); in silk_NSQ_c()
158 …silk_noise_shape_quantizer( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q15, A_Q12, B_… in silk_NSQ_c()
DNSQ_del_dec.c120 …SideInfoIndices *psIndices, /* I/O Quantization Indic… in silk_NSQ_del_dec_c() argument
160 psDD->Seed = ( k + psIndices->Seed ) & 3; in silk_NSQ_del_dec_c()
170 …offset_Q10 = silk_Quantization_Offsets_Q10[ psIndices->signalType >> 1 ][ psIndices->quantOffset… in silk_NSQ_del_dec_c()
176 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec_c()
186 if( psIndices->NLSFInterpCoef_Q2 == 4 ) { in silk_NSQ_del_dec_c()
212 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec_c()
264 …psEncC->nStatesDelayedDecision, LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType, decisionD… in silk_NSQ_del_dec_c()
266 …silk_noise_shape_quantizer_del_dec( NSQ, psDelDec, psIndices->signalType, x_sc_Q10, pulses, pxq, s… in silk_NSQ_del_dec_c()
288 psIndices->Seed = psDD->SeedInit; in silk_NSQ_del_dec_c()
/external/libopus/silk/arm/
DNSQ_del_dec_arm.h36 SideInfoIndices *psIndices, const opus_int16 x16[], opus_int8 pulses[],
49 #define silk_NSQ_del_dec(psEncC, NSQ, psIndices, x16, pulses, PredCoef_Q12, \ argument
55 psEncC, NSQ, psIndices, x16, pulses, PredCoef_Q12, LTPCoef_Q14, \
67 SideInfoIndices *psIndices, const opus_int16 x16[], opus_int8 pulses[],
78 #define silk_NSQ_del_dec(psEncC, NSQ, psIndices, x16, pulses, PredCoef_Q12, \ argument
83 psEncC, NSQ, psIndices, x16, pulses, PredCoef_Q12, LTPCoef_Q14, \
88 #define silk_NSQ_del_dec(psEncC, NSQ, psIndices, x16, pulses, PredCoef_Q12, \ argument
93 silk_NSQ_del_dec_neon(psEncC, NSQ, psIndices, x16, pulses, PredCoef_Q12, \
DNSQ_del_dec_neon_intr.c220 …SideInfoIndices *psIndices, /* I/O Quantization Indic… in silk_NSQ_del_dec_neon() argument
243 silk_memcpy( &psIndices_c, psIndices, sizeof( psIndices_c ) ); in silk_NSQ_del_dec_neon()
257 …silk_NSQ_del_dec_c( psEncC, NSQ, psIndices, x16, pulses, PredCoef_Q12, LTPCoef_Q14, AR_Q13, HarmSh… in silk_NSQ_del_dec_neon()
287 psDelDec->SeedInit[ k ] = psDelDec->Seed[ k ] = ( k + psIndices->Seed ) & 3; in silk_NSQ_del_dec_neon()
299 …offset_Q10 = silk_Quantization_Offsets_Q10[ psIndices->signalType >> 1 ][ psIndices->quantOffset… in silk_NSQ_del_dec_neon()
305 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec_neon()
317 if( psIndices->NLSFInterpCoef_Q2 == 4 ) { in silk_NSQ_del_dec_neon()
343 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec_neon()
385 LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType, decisionDelay ); in silk_NSQ_del_dec_neon()
387 …silk_noise_shape_quantizer_del_dec_neon( NSQ, psDelDec, psIndices->signalType, x_sc_Q10, pulses, p… in silk_NSQ_del_dec_neon()
[all …]
Darm_silk_map.c67 …SideInfoIndices *psIndices, /* I/O Quantization Indic…
/external/libopus/silk/x86/
Dmain_sse.h91 …SideInfoIndices *psIndices, /* I/O Quantization Indic…
108 #define silk_NSQ(psEncC, NSQ, psIndices, x_Q3, pulses, PredCoef_Q12, LTPCoef_Q14, AR2_Q13, \
110 …((void)(arch),silk_NSQ_sse4_1(psEncC, NSQ, psIndices, x_Q3, pulses, PredCoef_Q12, LTPCoef_Q14, AR2…
118 …SideInfoIndices *psIndices, /* I/O Quantization Indic…
133 # define silk_NSQ(psEncC, NSQ, psIndices, x_Q3, pulses, PredCoef_Q12, LTPCoef_Q14, AR2_Q13, \
135 …((*SILK_NSQ_IMPL[(arch) & OPUS_ARCHMASK])(psEncC, NSQ, psIndices, x_Q3, pulses, PredCoef_Q12, LTPC…
145 …SideInfoIndices *psIndices, /* I/O Quantization Indic…
162 #define silk_NSQ_del_dec(psEncC, NSQ, psIndices, x_Q3, pulses, PredCoef_Q12, LTPCoef_Q14, AR2_Q13, \
164 …((void)(arch),silk_NSQ_del_dec_sse4_1(psEncC, NSQ, psIndices, x_Q3, pulses, PredCoef_Q12, LTPCoef_…
172 …SideInfoIndices *psIndices, /* I/O Quantization Indic…
[all …]
DNSQ_sse4_1.c76 …SideInfoIndices *psIndices, /* I/O Quantization Indic… in silk_NSQ_sse4_1() argument
106 NSQ->rand_seed = psIndices->Seed; in silk_NSQ_sse4_1()
113 …offset_Q10 = silk_Quantization_Offsets_Q10[ psIndices->signalType >> 1 ][ psIndices->quantOffsetTy… in silk_NSQ_sse4_1()
169 if( psIndices->NLSFInterpCoef_Q2 == 4 ) { in silk_NSQ_sse4_1()
194 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_sse4_1()
212 … NSQ, x_Q3, x_sc_Q10, sLTP, sLTP_Q15, k, LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType ); in silk_NSQ_sse4_1()
216 …silk_noise_shape_quantizer_10_16_sse4_1( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q… in silk_NSQ_sse4_1()
222 …silk_noise_shape_quantizer( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q15, A_Q12, B_… in silk_NSQ_sse4_1()
Dx86_silk_map.c73 …SideInfoIndices *psIndices, /* I/O Quantization Indic…
121 …SideInfoIndices *psIndices, /* I/O Quantization Indic…
DNSQ_del_dec_sse4_1.c117 …SideInfoIndices *psIndices, /* I/O Quantization Indic… in silk_NSQ_del_dec_sse4_1() argument
157 psDD->Seed = ( k + psIndices->Seed ) & 3; in silk_NSQ_del_dec_sse4_1()
166 …offset_Q10 = silk_Quantization_Offsets_Q10[ psIndices->signalType >> 1 ][ psIndices->quantOffset… in silk_NSQ_del_dec_sse4_1()
172 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec_sse4_1()
182 if( psIndices->NLSFInterpCoef_Q2 == 4 ) { in silk_NSQ_del_dec_sse4_1()
209 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec_sse4_1()
261 …psEncC->nStatesDelayedDecision, LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType, decisionD… in silk_NSQ_del_dec_sse4_1()
263 …silk_noise_shape_quantizer_del_dec_sse4_1( NSQ, psDelDec, psIndices->signalType, x_sc_Q10, pulses,… in silk_NSQ_del_dec_sse4_1()
285 psIndices->Seed = psDD->SeedInit; in silk_NSQ_del_dec_sse4_1()
/external/libopus/silk/float/
Dwrappers_FLP.c99 …SideInfoIndices *psIndices, /* I/O Quantization indices … in silk_NSQ_wrapper_FLP() argument
151 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_wrapper_FLP()
152 LTP_scale_Q14 = silk_LTPScales_table_Q14[ psIndices->LTP_scaleIndex ]; in silk_NSQ_wrapper_FLP()
164 … silk_NSQ_del_dec( &psEnc->sCmn, psNSQ, psIndices, x16, pulses, PredCoef_Q12[ 0 ], LTPCoef_Q14, in silk_NSQ_wrapper_FLP()
167 silk_NSQ( &psEnc->sCmn, psNSQ, psIndices, x16, pulses, PredCoef_Q12[ 0 ], LTPCoef_Q14, in silk_NSQ_wrapper_FLP()
Dmain_FLP.h276 …SideInfoIndices *psIndices, /* I/O Quantization indices …