HomeSort by relevance Sort by last modified time
    Searched refs:phaseFraction (Results 1 - 5 of 5) sorted by null

  /frameworks/av/services/audioflinger/
AudioResamplerCubic.cpp 59 uint32_t phaseFraction = mPhaseFraction;
81 x = phaseFraction >> kPreInterpShift;
87 phaseFraction += phaseIncrement;
88 uint32_t indexIncrement = (phaseFraction >> kNumPhaseBits);
89 phaseFraction &= kPhaseMask;
115 // ALOGW("Done: index=%d, fraction=%u", inputIndex, phaseFraction);
117 mPhaseFraction = phaseFraction;
127 uint32_t phaseFraction = mPhaseFraction;
149 x = phaseFraction >> kPreInterpShift;
155 phaseFraction += phaseIncrement
    [all...]
AudioResampler.cpp 64 uint32_t &phaseFraction, uint32_t phaseIncrement);
67 uint32_t &phaseFraction, uint32_t phaseIncrement);
359 uint32_t phaseFraction = mPhaseFraction;
365 // ALOGE("starting resample %d frames, inputIndex=%d, phaseFraction=%d, phaseIncrement=%d",
366 // outFrameCount, inputIndex, phaseFraction, phaseIncrement);
394 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction);
395 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction);
396 Advance(&inputIndex, &phaseFraction, phaseIncrement);
413 phaseFraction, phaseIncrement);
419 in[inputIndex*2], phaseFraction);
    [all...]
AudioResamplerDyn.cpp 497 uint32_t phaseFraction = mPhaseFraction;
502 size_t inFrameCount = (phaseIncrement * (uint64_t)outFrameCount + phaseFraction)
508 // " phaseIncrement:%u phaseFraction:%u phaseWrapLimit:%u",
509 // inFrameCount, outFrameCount, phaseIncrement, phaseFraction, phaseWrapLimit);
520 // " phaseFraction:%u phaseWrapLimit:%u",
521 // inFrameCount, outputIndex, outFrameCount, phaseFraction, phaseWrapLimit);
536 if (phaseFraction >= phaseWrapLimit) { // read in data
541 phaseFraction -= phaseWrapLimit;
542 while (phaseFraction >= phaseWrapLimit) {
552 phaseFraction -= phaseWrapLimit
    [all...]
AudioResamplerSinc.h 64 inline void read(int16_t*& impulse, uint32_t& phaseFraction,
AudioResamplerSinc.cpp     [all...]

Completed in 74 milliseconds