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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dopus_silk.c886 int gaindiv; // Q30; inverse of the gain (the divisor) local
889 int error; // Q29; estimate of the error of our partial estimate of 1/gaindiv
895 gaindiv = (1 << 30) - MULH(rc, rc);
897 totalinvgain = MULH(totalinvgain, gaindiv) << 2;
901 /* approximate 1.0/gaindiv */
902 fbits = opus_ilog(gaindiv);
903 gain = ((1 << 29) - 1) / (gaindiv >> (fbits + 1 - 16)); // Q<fbits-16>
904 error = (1 << 29) - MULL(gaindiv << (15 + 16 - fbits), gain, 16);

Completed in 61 milliseconds