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

  /frameworks/base/services/audioflinger/
AudioResamplerCubic.cpp 59 uint32_t phaseFraction = mPhaseFraction;
80 x = phaseFraction >> kPreInterpShift;
86 phaseFraction += phaseIncrement;
87 uint32_t indexIncrement = (phaseFraction >> kNumPhaseBits);
88 phaseFraction &= kPhaseMask;
112 // LOGW("Done: index=%d, fraction=%u", inputIndex, phaseFraction);
114 mPhaseFraction = phaseFraction;
124 uint32_t phaseFraction = mPhaseFraction;
145 x = phaseFraction >> kPreInterpShift;
151 phaseFraction += phaseIncrement
    [all...]
AudioResampler.cpp 62 uint32_t &phaseFraction, uint32_t phaseIncrement);
65 uint32_t &phaseFraction, uint32_t phaseIncrement);
187 uint32_t phaseFraction = mPhaseFraction;
193 // LOGE("starting resample %d frames, inputIndex=%d, phaseFraction=%d, phaseIncrement=%d\n",
194 // outFrameCount, inputIndex, phaseFraction, phaseIncrement);
221 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction);
222 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction);
223 Advance(&inputIndex, &phaseFraction, phaseIncrement);
239 phaseFraction, phaseIncrement);
245 in[inputIndex*2], phaseFraction);
    [all...]
AudioResamplerSinc.cpp 196 uint32_t phaseFraction = mPhaseFraction;
211 const uint32_t phaseIndex = phaseFraction >> kNumPhaseBits;
214 read<CHANNELS>(impulse, phaseFraction, buffer.i16, inputIndex);
217 read<CHANNELS>(impulse, phaseFraction, buffer.i16, inputIndex);
223 read<CHANNELS>(impulse, phaseFraction, buffer.i16, inputIndex);
239 filterCoefficient<CHANNELS>(l, r, phaseFraction, impulse);
243 phaseFraction += phaseIncrement;
244 const uint32_t phaseIndex = phaseFraction >> kNumPhaseBits;
249 read<CHANNELS>(impulse, phaseFraction, in, inputIndex);
255 read<CHANNELS>(impulse, phaseFraction, in, inputIndex)
    [all...]

Completed in 59 milliseconds