Home
last modified time | relevance | path

Searched refs:PDIV32 (Results 1 – 8 of 8) sorted by relevance

/external/speex/libspeex/
Dsb_celp.c590 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767)); in sb_encode()
607 g=PDIV32(MULT16_16(filter_ratio,eh),EXTEND32(ADD16(1,el))); in sb_encode()
1020 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767)); in sb_decode()
1034 g = PDIV32(g, filter_ratio); in sb_decode()
1053 scale = SHL32(PDIV32(SHL32(MULT16_16(gc, el),3), filter_ratio),SIG_SHIFT-3); in sb_decode()
Dfixed_generic.h104 #define PDIV32(a,b) (((spx_word32_t)(a)+((spx_word16_t)(b)>>1))/((spx_word32_t)(b))) macro
Darch.h211 #define PDIV32(a,b) (((spx_word32_t)(a))/(spx_word32_t)(b)) macro
Dfilterbank.c64 mel_interval = PDIV32(max_mel,banks-1); in filterbank_new()
Dfilters.c754 pgain1 = PDIV32_16(SHL32(PDIV32(corr0, exc_mag),14),iexc0_mag); in multicomb()
758 pgain2 = PDIV32_16(SHL32(PDIV32(corr1, exc_mag),14),iexc1_mag); in multicomb()
Dfixed_debug.h484 #define PDIV32(a,b) DIV32(ADD32((a),(b)>>1),b) macro
Dresample.c447 …const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_r… in resampler_basic_interpolate_single()
509 …const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_r… in resampler_basic_interpolate_double()
Dnb_celp.c809 spx_word32_t f = PDIV32(ener,PSHR32(ol_gain,SIG_SHIFT)); in nb_encode()
1483 gain32 = PDIV32(ol_gain, ADD16(exc_ener,1)); in nb_decode()