Searched refs:PDIV32_16 (Results 1 - 12 of 12) sorted by relevance
/external/speex/libspeex/ |
H A D | fixed_bfin.h | 39 #undef PDIV32_16 macro 40 static inline spx_word16_t PDIV32_16(spx_word32_t a, spx_word16_t b) function
|
H A D | filters.c | 129 scale_1 = EXTRACT16(PDIV32_16(SHL32(EXTEND32(SIG_SCALING),7),scale)); 754 pgain1 = PDIV32_16(SHL32(PDIV32(corr0, exc_mag),14),iexc0_mag); 758 pgain2 = PDIV32_16(SHL32(PDIV32(corr1, exc_mag),14),iexc1_mag); 759 gg1 = PDIV32_16(SHL32(EXTEND32(exc_mag),8), iexc0_mag); 760 gg2 = PDIV32_16(SHL32(EXTEND32(exc_mag),8), iexc1_mag); 785 g1 = (spx_word16_t)PDIV32_16(SHL32(EXTEND32(c1),14),(spx_word16_t)g1); 786 g2 = (spx_word16_t)PDIV32_16(SHL32(EXTEND32(c1),14),(spx_word16_t)g2); 807 ngain = PDIV32_16(SHL32(EXTEND32(old_ener),14),new_ener);
|
H A D | arch.h | 210 #define PDIV32_16(a,b) (((spx_word32_t)(a))/(spx_word16_t)(b)) macro
|
H A D | fixed_generic.h | 106 #define PDIV32_16(a,b) ((spx_word16_t)(((spx_word32_t)(a)+((spx_word16_t)(b)>>1))/((spx_word16_t)(b)))) macro
|
H A D | preprocess.c | 118 return PDIV32_16(a,b); 850 prior_ratio = PDIV32_16(SHL32(EXTEND32(st->prior[i]), 15), ADD16(st->prior[i], SHL32(1,SNR_SHIFT))); 865 /*Q8*/tmp = EXTRACT16(PSHR32(MULT16_16(PDIV32_16(SHL32(EXTEND32(q),8),(Q15_ONE-q)),tmp),8)); 891 prior_ratio = PDIV32_16(SHL32(EXTEND32(st->prior[i]), 15), ADD16(st->prior[i], SHL32(1,SNR_SHIFT)));
|
H A D | fixed_debug.h | 485 #define PDIV32_16(a,b) DIV32_16(ADD32((a),(b)>>1),b) macro
|
H A D | sb_celp.c | 647 gc = PDIV32_16(MULT16_16(filter_ratio,1+eh),1+el); 661 scale = SHL32(MULT16_16(PDIV32_16(SHL32(EXTEND32(gc),SIG_SHIFT-6),filter_ratio),(1+el)),6);
|
H A D | nb_celp.c | 816 fine_gain = PDIV32_16(ener,PSHR32(ol_gain,SIG_SHIFT));
|
/external/chromium_org/third_party/speex/libspeex/ |
H A D | filters.c | 129 scale_1 = EXTRACT16(PDIV32_16(SHL32(EXTEND32(SIG_SCALING),7),scale)); 754 pgain1 = PDIV32_16(SHL32(PDIV32(corr0, exc_mag),14),iexc0_mag); 758 pgain2 = PDIV32_16(SHL32(PDIV32(corr1, exc_mag),14),iexc1_mag); 759 gg1 = PDIV32_16(SHL32(EXTEND32(exc_mag),8), iexc0_mag); 760 gg2 = PDIV32_16(SHL32(EXTEND32(exc_mag),8), iexc1_mag); 785 g1 = (spx_word16_t)PDIV32_16(SHL32(EXTEND32(c1),14),(spx_word16_t)g1); 786 g2 = (spx_word16_t)PDIV32_16(SHL32(EXTEND32(c1),14),(spx_word16_t)g2); 807 ngain = PDIV32_16(SHL32(EXTEND32(old_ener),14),new_ener);
|
H A D | arch.h | 209 #define PDIV32_16(a,b) (((spx_word32_t)(a))/(spx_word16_t)(b)) macro
|
H A D | sb_celp.c | 647 gc = PDIV32_16(MULT16_16(filter_ratio,1+eh),1+el); 661 scale = SHL32(MULT16_16(PDIV32_16(SHL32(EXTEND32(gc),SIG_SHIFT-6),filter_ratio),(1+el)),6);
|
H A D | nb_celp.c | 816 fine_gain = PDIV32_16(ener,PSHR32(ol_gain,SIG_SHIFT));
|
Completed in 1121 milliseconds