Home
last modified time | relevance | path

Searched refs:impulse (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audioflinger/
DAudioResamplerDyn.cpp126 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAgain(TI*& impulse, const int halfNumCoefs, in readAgain() argument
129 TI* head = impulse + halfNumCoefs*CHANNELS; in readAgain()
138 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAdvance(TI*& impulse, const int halfNumCoefs, in readAdvance() argument
141 impulse += CHANNELS; in readAdvance()
143 if (CC_UNLIKELY(impulse >= mRingFull)) { in readAdvance()
146 impulse -= shiftDown; in readAdvance()
148 readAgain<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); in readAdvance()
494 TI* impulse = mInBuffer.getImpulse(); in resample() local
536 impulse, c.mHalfNumCoefs, in resample()
547 impulse, c.mHalfNumCoefs, in resample()
[all …]
DAudioResamplerDyn.h87 inline void setImpulse(TI *impulse) { in setImpulse() argument
88 mImpulse = impulse; in setImpulse()
92 inline void readAgain(TI*& impulse, const int halfNumCoefs,
96 inline void readAdvance(TI*& impulse, const int halfNumCoefs,
DAudioResamplerSinc.cpp299 int16_t* impulse = mImpulse; in resample() local
319 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
322 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
328 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
336 int16_t* head = impulse + headOffset; in resample()
343 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL); in resample()
353 read<CHANNELS>(impulse, phaseFraction, in, inputIndex); in resample()
365 mImpulse = impulse; in resample()
380 int16_t*& impulse, uint32_t& phaseFraction, in read() argument
383 impulse += CHANNELS; in read()
[all …]
DAudioResamplerSinc.h64 inline void read(int16_t*& impulse, uint32_t& phaseFraction,