Searched refs:filter_ratio (Results 1 – 1 of 1) sorted by relevance
/external/speex/libspeex/ |
D | sb_celp.c | 554 spx_word16_t filter_ratio; /*Q7*/ in sb_encode() local 590 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767)); in sb_encode() 592 filter_ratio=(rl+.01)/(rh+.01); in sb_encode() 607 g=PDIV32(MULT16_16(filter_ratio,eh),EXTEND32(ADD16(1,el))); in sb_encode() 647 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() 984 spx_word16_t filter_ratio; in sb_decode() local 1020 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767)); in sb_decode() 1022 filter_ratio=(rl+.01)/(rh+.01); in sb_decode() 1034 g = PDIV32(g, filter_ratio); in sb_decode() [all …]
|