Home
last modified time | relevance | path

Searched refs:DIV32 (Results 1 – 13 of 13) sorted by relevance

/external/speex/libspeex/
Dstereo.c190 balance = DIV32(largest, ADD32(smallest, 1)); in speex_encode_stereo_int()
210 e_ratio = DIV32(e_tot, e_left+e_right+1); in speex_encode_stereo_int()
234 …e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance)… in speex_decode_stereo()
261 …e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance)… in speex_decode_stereo_int()
Dfilterbank.c62 df = DIV32(SHL32(sampling,15),MULT16_16(2,len)); in filterbank_new()
87 id1 = DIV32(mel,mel_interval); in filterbank_new()
Dltp_bfin.h295 g = DIV32(corr[i-start], 10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(energy[i-start])),6)); in open_loop_nbest_pitch()
Dfixed_debug.h464 #define DIV32(a, b) _DIV32(a, b, __FILE__, __LINE__) macro
484 #define PDIV32(a,b) DIV32(ADD32((a),(b)>>1),b)
Dfixed_generic.h103 #define DIV32(a,b) (((spx_word32_t)(a))/((spx_word32_t)(b))) macro
Darch.h210 #define DIV32(a,b) (((spx_word32_t)(a))/(spx_word32_t)(b)) macro
Dfilters.c217 return EXTRACT16(PSHR32(SHL32(EXTEND32(spx_sqrt(DIV32(sum,len))),(sig_shift+3)),SIG_SHIFT)); in compute_rms()
245 return SHL16(spx_sqrt(DIV32(sum,len)),4); in compute_rms16()
264 return SHL16(spx_sqrt(DIV32(sum,len)),3-sig_shift); in compute_rms16()
Dkiss_fftr.c67 kf_cexp2(st->super_twiddles+i, DIV32(SHL32(phase,16),nfft)); in kiss_fftr_alloc()
Dsb_celp.c254 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1); in sb_encoder_init()
1087 …exc_ener_sum = ADD32(exc_ener_sum, DIV32(MULT16_16(st->exc_rms[sub],st->exc_rms[sub]), st->nbSubfr… in sb_decode()
1258 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1); in sb_encoder_ctl()
Dkiss_fft.c486 kf_cexp2(st->twiddles+i, DIV32(SHL32(phase,17),nfft)); in kiss_fft_alloc()
Dmdf.c379 prop[i] = DIV32(MULT16_16(QCONST16(.99f,15), prop[i]),prop_sum); in mdf_adjust_prop()
498 st->prop[i] = DIV32(MULT16_16(QCONST16(.8f,15), st->prop[i]),sum); in speex_echo_state_init_mc()
Dltp.c298 …g = DIV32(SHL32(EXTEND32(corr16[i-start]),cshift), 10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(SHL32(… in open_loop_nbest_pitch()
Dnb_celp.c175 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1); in nb_encoder_init()
1702 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1); in nb_encoder_ctl()