Home
last modified time | relevance | path

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

/external/speex/libspeex/
Dfixed_bfin.h39 #undef PDIV32_16
40 static inline spx_word16_t PDIV32_16(spx_word32_t a, spx_word16_t b) in PDIV32_16() function
Dfilters.c129 scale_1 = EXTRACT16(PDIV32_16(SHL32(EXTEND32(SIG_SCALING),7),scale)); in signal_div()
754 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()
759 gg1 = PDIV32_16(SHL32(EXTEND32(exc_mag),8), iexc0_mag); in multicomb()
760 gg2 = PDIV32_16(SHL32(EXTEND32(exc_mag),8), iexc1_mag); in multicomb()
785 g1 = (spx_word16_t)PDIV32_16(SHL32(EXTEND32(c1),14),(spx_word16_t)g1); in multicomb()
786 g2 = (spx_word16_t)PDIV32_16(SHL32(EXTEND32(c1),14),(spx_word16_t)g2); in multicomb()
807 ngain = PDIV32_16(SHL32(EXTEND32(old_ener),14),new_ener); in multicomb()
Dfixed_generic.h102 #define PDIV32_16(a,b) ((spx_word16_t)(((spx_word32_t)(a)+((spx_word16_t)(b)>>1))/((spx_word16_t)(b… macro
Darch.h209 #define PDIV32_16(a,b) (((spx_word32_t)(a))/(spx_word16_t)(b)) macro
Dpreprocess.c118 return PDIV32_16(a,b); in DIV32_16_Q8()
850 …prior_ratio = PDIV32_16(SHL32(EXTEND32(st->prior[i]), 15), ADD16(st->prior[i], SHL32(1,SNR_SHIFT))… in speex_preprocess_run()
865 /*Q8*/tmp = EXTRACT16(PSHR32(MULT16_16(PDIV32_16(SHL32(EXTEND32(q),8),(Q15_ONE-q)),tmp),8)); in speex_preprocess_run()
891 …prior_ratio = PDIV32_16(SHL32(EXTEND32(st->prior[i]), 15), ADD16(st->prior[i], SHL32(1,SNR_SHIFT))… in speex_preprocess_run()
Dfixed_debug.h485 #define PDIV32_16(a,b) DIV32_16(ADD32((a),(b)>>1),b) macro
Dsb_celp.c647 gc = PDIV32_16(MULT16_16(filter_ratio,1+eh),1+el); in sb_encode()
661 scale = SHL32(MULT16_16(PDIV32_16(SHL32(EXTEND32(gc),SIG_SHIFT-6),filter_ratio),(1+el)),6); in sb_encode()
Dnb_celp.c816 fine_gain = PDIV32_16(ener,PSHR32(ol_gain,SIG_SHIFT)); in nb_encode()