Home
last modified time | relevance | path

Searched refs:pulses (Results 1 – 25 of 32) sorted by relevance

12

/external/libopus/silk/x86/
Dmain_sse.h93 …opus_int8 pulses[], /* O Quantized pulse si…
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…
120 …opus_int8 pulses[], /* O Quantized pulse si…
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…
147 …opus_int8 pulses[], /* O Quantized pulse si…
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_…
174 …opus_int8 pulses[], /* O Quantized pulse si…
[all …]
DNSQ_sse4_1.c57 opus_int8 pulses[], /* O */
78 …opus_int8 pulses[], /* O Quantized pulse si… in silk_NSQ_sse4_1() argument
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()
228 pulses += psEncC->subfr_length; in silk_NSQ_sse4_1()
248 opus_int8 pulses[], /* O */ in silk_noise_shape_quantizer_10_16_sse4_1() argument
507 pulses[ i ] = (opus_int8)silk_RSHIFT_ROUND( q1_Q10, 10 ); in silk_noise_shape_quantizer_10_16_sse4_1()
530 NSQ->rand_seed = silk_ADD32_ovflw( NSQ->rand_seed, pulses[ i ] ); in silk_noise_shape_quantizer_10_16_sse4_1()
Dx86_silk_map.c75 …opus_int8 pulses[], /* O Quantized pulse si…
123 …opus_int8 pulses[], /* O Quantized pulse si…
DNSQ_del_dec_sse4_1.c90 opus_int8 pulses[], /* O */
119 …opus_int8 pulses[], /* O Quantized pulse si… in silk_NSQ_del_dec_sse4_1() argument
239pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_NSQ_del_dec_sse4_1()
263 …pe_quantizer_del_dec_sse4_1( NSQ, psDelDec, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q15, in silk_NSQ_del_dec_sse4_1()
269 pulses += psEncC->subfr_length; in silk_NSQ_del_dec_sse4_1()
291pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_NSQ_del_dec_sse4_1()
317 opus_int8 pulses[], /* O */ in silk_noise_shape_quantizer_del_dec_sse4_1() argument
694pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
/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.c92 opus_int8 pulses[], /* O */
126 opus_int8 *const pulses, in copy_winner_state_kernel() argument
143 vst1_s8( &pulses[ offset ], vmovn_s16( t_s16x8 ) ); in copy_winner_state_kernel()
181 opus_int8 *const pulses, in copy_winner_state() argument
198 …idx, Winner_ind, gain_lo_s32x2, gain_hi_s32x2, shift_s32x4, t0_s32x4, t1_s32x4, pulses, pxq, NSQ ); in copy_winner_state()
201pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDelDec->Q_Q10[ last_smple_idx ][ Win… in copy_winner_state()
208 …idx, Winner_ind, gain_lo_s32x2, gain_hi_s32x2, shift_s32x4, t0_s32x4, t1_s32x4, pulses, pxq, NSQ ); in copy_winner_state()
211pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDelDec->Q_Q10[ last_smple_idx ][ Win… in copy_winner_state()
222 …opus_int8 pulses[], /* O Quantized pulse si… in silk_NSQ_del_dec_neon() argument
239 const opus_int8 *const pulses_a = pulses; in silk_NSQ_del_dec_neon()
[all …]
Darm_silk_map.c69 …opus_int8 pulses[], /* O Quantized pulse si…
/external/libopus/silk/
Ddecode_pulses.c39 …opus_int16 pulses[], /* O Excitation signal … in silk_decode_pulses() argument
85 …silk_shell_decoder( &pulses[ silk_SMULBB( i, SHELL_CODEC_FRAME_LENGTH ) ], psRangeDec, sum_pulses[… in silk_decode_pulses()
87 …silk_memset( &pulses[ silk_SMULBB( i, SHELL_CODEC_FRAME_LENGTH ) ], 0, SHELL_CODEC_FRAME_LENGTH * … in silk_decode_pulses()
97 pulses_ptr = &pulses[ silk_SMULBB( i, SHELL_CODEC_FRAME_LENGTH ) ]; in silk_decode_pulses()
114 silk_decode_signs( psRangeDec, pulses, frame_length, signalType, quantOffsetType, sum_pulses ); in silk_decode_pulses()
Dencode_pulses.c64 …opus_int8 pulses[], /* I quantization indices … in silk_encode_pulses() argument
91 silk_memset( &pulses[ frame_length ], 0, SHELL_CODEC_FRAME_LENGTH * sizeof(opus_int8)); in silk_encode_pulses()
98 abs_pulses[i+0] = ( opus_int )silk_abs( pulses[ i + 0 ] ); in silk_encode_pulses()
99 abs_pulses[i+1] = ( opus_int )silk_abs( pulses[ i + 1 ] ); in silk_encode_pulses()
100 abs_pulses[i+2] = ( opus_int )silk_abs( pulses[ i + 2 ] ); in silk_encode_pulses()
101 abs_pulses[i+3] = ( opus_int )silk_abs( pulses[ i + 3 ] ); in silk_encode_pulses()
187 pulses_ptr = &pulses[ i * SHELL_CODEC_FRAME_LENGTH ]; in silk_encode_pulses()
204 silk_encode_signs( psRangeEnc, pulses, frame_length, signalType, quantOffsetType, sum_pulses ); in silk_encode_pulses()
Dmain.h117 …const opus_int8 pulses[], /* I pulse signal …
127 …opus_int16 pulses[], /* I/O pulse signal …
160 …opus_int8 pulses[], /* I quantization indices …
254 …opus_int8 pulses[], /* O Quantized pulse si…
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, \
280 …opus_int8 pulses[], /* O Quantized pulse si…
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…
437 …const opus_int16 pulses[ MAX_FRAME_LENGTH ], /* I Pulse signal …
[all …]
Dcode_signs.c43 …const opus_int8 pulses[], /* I pulse signal … in silk_encode_signs() argument
56 q_ptr = pulses; in silk_encode_signs()
77 …opus_int16 pulses[], /* I/O pulse signal … in silk_decode_signs() argument
90 q_ptr = pulses; in silk_decode_signs()
Ddecode_frame.c63 VARDECL( opus_int16, pulses ); in silk_decode_frame()
64 ALLOC( pulses, (L + SHELL_CODEC_FRAME_LENGTH - 1) & in silk_decode_frame()
74 silk_decode_pulses( psRangeDec, pulses, psDec->indices.signalType, in silk_decode_frame()
85 silk_decode_core( psDec, psDecCtrl, pOut, pulses, arch ); in silk_decode_frame()
DNSQ.c56 opus_int8 pulses[], /* O */
82 …opus_int8 pulses[], /* O Quantized pulse si… in silk_NSQ_c() argument
158 …silk_noise_shape_quantizer( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q15, A_Q12, B_… in silk_NSQ_c()
163 pulses += psEncC->subfr_length; in silk_NSQ_c()
187 opus_int8 pulses[], /* O */ in silk_noise_shape_quantizer() argument
333 pulses[ i ] = (opus_int8)silk_RSHIFT_ROUND( q1_Q10, 10 ); in silk_noise_shape_quantizer()
361 NSQ->rand_seed = silk_ADD32_ovflw( NSQ->rand_seed, pulses[ i ] ); in silk_noise_shape_quantizer()
DNSQ_del_dec.c92 opus_int8 pulses[], /* O */
122 …opus_int8 pulses[], /* O Quantized pulse si… in silk_NSQ_del_dec_c() argument
242pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); 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()
272 pulses += psEncC->subfr_length; in silk_NSQ_del_dec_c()
295pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_NSQ_del_dec_c()
323 opus_int8 pulses[], /* O */ in silk_noise_shape_quantizer_del_dec() argument
616pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_noise_shape_quantizer_del_dec()
Ddecode_core.c42 …const opus_int16 pulses[ MAX_FRAME_LENGTH ], /* I Pulse signal … in silk_decode_core()
75 psDec->exc_Q14[ i ] = silk_LSHIFT( (opus_int32)pulses[ i ], 14 ); in silk_decode_core()
87 rand_seed = silk_ADD32_ovflw( rand_seed, pulses[ i ] ); in silk_decode_core()
Ddec_API.c203 opus_int16 pulses[ MAX_FRAME_LENGTH ]; in silk_Decode() local
219 … silk_decode_pulses( psRangeDec, pulses, channel_state[ n ].indices.signalType, in silk_Decode()
/external/libopus/celt/
Drate.h80 static OPUS_INLINE int pulses2bits(const CELTMode *m, int band, int LM, int pulses) in pulses2bits() argument
86 return pulses == 0 ? 0 : cache[pulses]+1; in pulses2bits()
99 …opus_int32 total, opus_int32 *balance, int *pulses, int *ebits, int *fine_priority, int C, int LM,…
Dbands.h108 const celt_ener *bandE, int *pulses, int shortBlocks, int spread,
116 const opus_val16 *prev2logE, const int *pulses, opus_uint32 seed,
Dcelt_decoder.c827 VARDECL(int, pulses);
1059 ALLOC(pulses, nbEBands, int);
1063 alloc_trim, &intensity, &dual_stereo, bits, &balance, pulses,
1084 NULL, pulses, shortBlocks, spread_decision, dual_stereo, intensity, tf_res,
1098 start, end, oldBandE, oldLogE, oldLogE2, pulses, st->rng, st->arch);
Dbands.c270 const opus_val16 *prev2logE, const int *pulses, opus_uint32 seed, int arch) in anti_collapse() argument
285 celt_sig_assert(pulses[i]>=0); in anti_collapse()
286 depth = celt_udiv(1+pulses[i], (m->eBands[i+1]-m->eBands[i]))>>LM; in anti_collapse()
1399 const celt_ener *bandE, int *pulses, int shortBlocks, int spread, in quant_all_bands() argument
1506 b = IMAX(0, IMIN(16383, IMIN(remaining_bits+1,pulses[i]+curr_balance))); in quant_all_bands()
1660 balance += pulses[i] + tell; in quant_all_bands()
/external/libopus/silk/fixed/
Dencode_frame_FIX.c201 …lk_NSQ_del_dec( &psEnc->sCmn, &psEnc->sCmn.sNSQ, &psEnc->sCmn.indices, x_frame, psEnc->sCmn.pulses, in silk_encode_frame_FIX()
206 … silk_NSQ( &psEnc->sCmn, &psEnc->sCmn.sNSQ, &psEnc->sCmn.indices, x_frame, psEnc->sCmn.pulses, in silk_encode_frame_FIX()
225 psEnc->sCmn.pulses, psEnc->sCmn.frame_length ); in silk_encode_frame_FIX()
245 psEnc->sCmn.pulses[ i ] = 0; in silk_encode_frame_FIX()
251 psEnc->sCmn.pulses, psEnc->sCmn.frame_length ); in silk_encode_frame_FIX()
308 sum += abs( psEnc->sCmn.pulses[j] ); in silk_encode_frame_FIX()
/external/libopus/silk/float/
Dwrappers_FLP.c101 …opus_int8 pulses[], /* O Quantized pulse signal… in silk_NSQ_wrapper_FLP() argument
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()
Dencode_frame_FLP.c196 …pper_FLP( psEnc, &sEncCtrl, &psEnc->sCmn.indices, &psEnc->sCmn.sNSQ, psEnc->sCmn.pulses, x_frame ); in silk_encode_frame_FLP()
211 psEnc->sCmn.pulses, psEnc->sCmn.frame_length ); in silk_encode_frame_FLP()
231 psEnc->sCmn.pulses[ i ] = 0; in silk_encode_frame_FLP()
237 psEnc->sCmn.pulses, psEnc->sCmn.frame_length ); in silk_encode_frame_FLP()
296 sum += abs( psEnc->sCmn.pulses[j] ); in silk_encode_frame_FLP()
Dmain_FLP.h278 …opus_int8 pulses[], /* O Quantized pulse signal…
/external/libopus/silk/mips/
DNSQ_del_dec_mipsr1.h44 opus_int8 pulses[], /* O */ in silk_noise_shape_quantizer_del_dec() argument
378pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); in silk_noise_shape_quantizer_del_dec()

12