Searched refs:coefShift (Results 1 - 2 of 2) sorted by relevance
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerFirProcess.h | 286 * @param phaseWrapLimit is #polyphases<<coefShift, where #polyphases is the number of polyphases 287 * in the polyphase filter. Likewise, #polyphases can be obtained as (phaseWrapLimit>>coefShift). 289 * @param coefShift gives the bit alignment of the polyphase index in the phase parameter. 317 * The filter polyphase index is given by indexP = phase >> coefShift. Due to 321 * The fractional siting between the polyphase indices is given by the bits below coefShift: 323 * lerpP = phase << 32 - coefShift >> 1; // for 32 bit unsigned phase multiply 324 * lerpP = phase << 32 - coefShift >> 17; // for 16 bit unsigned phase multiply 328 * lerpP = phase << sizeof(phase)*8 - coefShift 333 * lerpP = (phase << 32 - coefShift) / (1 << 32); // floating point equivalent 340 const int coefShift, cons 338 fir(TO* const out, const uint32_t phase, const uint32_t phaseWrapLimit, const int coefShift, const int halfNumCoefs, const TC* const coefs, const TI* const samples, const TO* const volumeLR) argument [all...] |
H A D | AudioResamplerDyn.cpp | 558 const int coefShift = c.mShift; local 577 coefShift, halfNumCoefs, coefs,
|
Completed in 62 milliseconds