Home
last modified time | relevance | path

Searched refs:DIV32_16 (Results 1 – 19 of 19) sorted by relevance

/external/speex/libspeexdsp/
Dfixed_arm4.h51 #undef DIV32_16
52 static inline short DIV32_16(int a, int b) in DIV32_16() function
Dfixed_arm5e.h74 #undef DIV32_16
75 static inline short DIV32_16(int a, int b) in DIV32_16() function
Dfixed_bfin.h66 #undef DIV32_16
67 static inline spx_word16_t DIV32_16(spx_word32_t a, spx_word16_t b) in DIV32_16() function
Dpreprocess.c140 return DIV32_16(a,b); in DIV32_16_Q15()
258 spx_word16_t x = DIV32_16(MULT16_16(32767,i),len); in conj_window()
260 spx_word16_t x = DIV32_16(MULT16_16(QCONST16(4.f,13),i),len); in conj_window()
305 …return ADD32(EXTEND32(Q15_ONE),EXTEND32(DIV32_16(QCONST32(.1296,23), SHR32(xx,EXPIN_SHIFT-SNR_SHIF… in hypergeom_gain()
307 …return SHL32(DIV32_16(PSHR32(MULT16_16(Q15_ONE-frac,table[ind]) + MULT16_16(frac,table[ind+1]),7),… in hypergeom_gain()
313 …return DIV32_16(SHL32(EXTEND32(32767),9),ADD16(512,MULT16_16_Q15(QCONST16(.60f,15),DIV32_16(32767,… in qcurve()
740 beta = MAX16(QCONST16(.03,15),DIV32_16(Q15_ONE,st->nb_adapt)); in speex_preprocess_run()
821 Pframe = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.899f,15),qcurve(DIV32_16(Zframe,st->nbands))); in speex_preprocess_run()
862 st->gain2[i]=DIV32_16(SHL32(EXTEND32(32767),SNR_SHIFT), ADD16(256,tmp)); in speex_preprocess_run()
1132 st->speech_prob_start = DIV32_16(MULT16_16(Q15ONE,*(spx_int32_t*)ptr), 100); in speex_preprocess_ctl()
[all …]
Dpseudofloat.h279 r.m = DIV32_16(a,b.m); in FLOAT_DIV32_FLOAT()
308 r.m = DIV32_16(a,b); in FLOAT_DIV32()
332 r.m = DIV32_16(num,b.m); in FLOAT_DIVU()
Dmdf.c428 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); in speex_echo_state_init_mc()
430 st->beta0 = DIV32_16(SHL32(EXTEND32(st->frame_size), 16), st->sampling_rate); in speex_echo_state_init_mc()
431 st->beta_max = DIV32_16(SHL32(EXTEND32(st->frame_size), 14), st->sampling_rate); in speex_echo_state_init_mc()
468 st->window[i] = (16383-SHL16(spx_cos(DIV32_16(MULT16_16(25736,i<<1),N)),1)); in speex_echo_state_init_mc()
482 spx_word16_t decay = SHR32(spx_exp(NEG16(DIV32_16(QCONST16(2.4,11),M))),1); in speex_echo_state_init_mc()
709 ss=DIV32_16(11469,M); in speex_echo_cancellation()
1233 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); in speex_echo_ctl()
1235 st->beta0 = DIV32_16(SHL32(EXTEND32(st->frame_size), 16), st->sampling_rate); in speex_echo_ctl()
1236 st->beta_max = DIV32_16(SHL32(EXTEND32(st->frame_size), 14), st->sampling_rate); in speex_echo_ctl()
Dfixed_debug.h447 #define DIV32_16(a, b) _DIV32_16(a, b, __FILE__, __LINE__) macro
495 #define PDIV32_16(a,b) DIV32_16(ADD32((a),(b)>>1),b)
Dfixed_generic.h101 #define DIV32_16(a,b) ((spx_word16_t)(((spx_word32_t)(a))/((spx_word16_t)(b)))) macro
Darch.h200 #define DIV32_16(a,b) (((spx_word32_t)(a))/(spx_word16_t)(b)) macro
Dmath_approx.h299 x = DIV32_16(SHL32(EXTEND32(32767),29-e), EXTRACT16(SHR32(x, e-14))); in spx_atan()
Dfilterbank.c96 val = DIV32_16(mel - id1*mel_interval,EXTRACT16(PSHR32(mel_interval,15))); in filterbank_new()
/external/rnnoise/src/
Darch.h243 #define DIV32_16(a,b) (((opus_val32)(a))/(opus_val16)(b)) macro
/external/libopus/celt/
Dfixed_generic.h170 #define DIV32_16(a,b) ((opus_val16)(((opus_val32)(a))/((opus_val16)(b)))) macro
Darch.h273 #define DIV32_16(a,b) (((opus_val32)(a))/(opus_val16)(b)) macro
Dfixed_debug.h755 #define DIV32_16(a, b) DIV32_16_(a, b, __FILE__, __LINE__) macro
Dbands.c401 a1 = DIV32_16(SHL32(EXTEND32(left),14),norm); in intensity_stereo()
402 a2 = DIV32_16(SHL32(EXTEND32(right),14),norm); in intensity_stereo()
Dcelt_encoder.c1336 max_frac = DIV32_16(MULT16_16(QCONST16(0.8f, 15), coded_stereo_dof), coded_bins); in compute_vbr()
1774 mask_avg = DIV32_16(mask_avg,count); in celt_encode_with_ec()
/external/speex/tmv/
Dpreprocess_tm.h630 beta = MAX16(QCONST16(.03,15),DIV32_16(Q15_ONE,st->nb_adapt)); in preprocess_update_noise()
802 gain2[i]=DIV32_16(SHL32(EXTEND32(32767),SNR_SHIFT), ADD16(256,tmp)); in preprocess_compute_emgain()
1071 Pframe = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.899f,15),qcurve(DIV32_16(Zframe,M))); in speex_preprocess_run()
Dmdf_tm.h804 ss=DIV32_16(11469,M); in mdf_smooth()