Home
last modified time | relevance | path

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

/external/speex/libspeex/
Dfilters.c670 spx_word16_t iexc0_mag, iexc1_mag, exc_mag; in multicomb() local
737 exc_mag = spx_sqrt(1+inner_prod(exc,exc,nsf)); in multicomb()
746 if (SHL32(EXTEND32(iexc0_mag),6) < EXTEND32(exc_mag)) in multicomb()
747 iexc0_mag = ADD16(1,PSHR16(exc_mag,6)); in multicomb()
748 if (SHL32(EXTEND32(iexc1_mag),6) < EXTEND32(exc_mag)) in multicomb()
749 iexc1_mag = ADD16(1,PSHR16(exc_mag,6)); in multicomb()
751 if (corr0 > MULT16_16(iexc0_mag,exc_mag)) in multicomb()
754 pgain1 = PDIV32_16(SHL32(PDIV32(corr0, exc_mag),14),iexc0_mag); in multicomb()
755 if (corr1 > MULT16_16(iexc1_mag,exc_mag)) in multicomb()
758 pgain2 = PDIV32_16(SHL32(PDIV32(corr1, exc_mag),14),iexc1_mag); in multicomb()
[all …]