Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DAudioResamplerDyn.cpp390 const uint32_t phaseWrapLimit = c.mL << c.mShift; in setSampleRate() local
393 * phaseWrapLimit / oldPhaseWrapLimit; in setSampleRate()
394 mPhaseFraction %= phaseWrapLimit; // should not do anything, but just in case. in setSampleRate()
395 mPhaseIncrement = static_cast<uint32_t>(static_cast<uint64_t>(phaseWrapLimit) in setSampleRate()
500 const uint32_t phaseWrapLimit = c.mL << c.mShift; in resample() local
502 / phaseWrapLimit; in resample()
534 if (phaseFraction >= phaseWrapLimit) { // read in data in resample()
539 phaseFraction -= phaseWrapLimit; in resample()
540 while (phaseFraction >= phaseWrapLimit) { in resample()
550 phaseFraction -= phaseWrapLimit; in resample()
[all …]
DAudioResamplerFirProcess.h377 const uint32_t phase, const uint32_t phaseWrapLimit, in fir() argument
390 uint32_t indexN = (phaseWrapLimit - phase) >> coefShift; in fir()
403 uint32_t indexN = (phaseWrapLimit - phase - 1) >> coefShift; // one's complement. in fir()