Searched refs:filter_ratio (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/speex/libspeex/
H A Dsb_celp.c554 spx_word16_t filter_ratio; /*Q7*/ local
590 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767));
592 filter_ratio=(rl+.01)/(rh+.01);
607 g=PDIV32(MULT16_16(filter_ratio,eh),EXTEND32(ADD16(1,el)));
647 gc = PDIV32_16(MULT16_16(filter_ratio,1+eh),1+el);
652 /*printf ("%f %f %f %f\n", el, eh, filter_ratio, gc);*/
661 scale = SHL32(MULT16_16(PDIV32_16(SHL32(EXTEND32(gc),SIG_SHIFT-6),filter_ratio),(1+el)),6);
984 spx_word16_t filter_ratio; local
1020 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767));
1022 filter_ratio
[all...]
/external/speex/libspeex/
H A Dsb_celp.c554 spx_word16_t filter_ratio; /*Q7*/ local
590 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767));
592 filter_ratio=(rl+.01)/(rh+.01);
607 g=PDIV32(MULT16_16(filter_ratio,eh),EXTEND32(ADD16(1,el)));
647 gc = PDIV32_16(MULT16_16(filter_ratio,1+eh),1+el);
652 /*printf ("%f %f %f %f\n", el, eh, filter_ratio, gc);*/
661 scale = SHL32(MULT16_16(PDIV32_16(SHL32(EXTEND32(gc),SIG_SHIFT-6),filter_ratio),(1+el)),6);
984 spx_word16_t filter_ratio; local
1020 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767));
1022 filter_ratio
[all...]

Completed in 165 milliseconds