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

/frameworks/av/services/audioflinger/
H A DAudioResamplerDyn.h87 inline void setImpulse(TI *impulse) { argument
88 mImpulse = impulse;
92 inline void readAgain(TI*& impulse, const int halfNumCoefs,
96 inline void readAdvance(TI*& impulse, const int halfNumCoefs,
105 TI* mImpulse; // current location of the impulse response (centered)
H A DAudioResamplerDyn.cpp123 // copy in the input data into the head (impulse+halfNumCoefs) of the buffer.
126 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAgain(TI*& impulse, const int halfNumCoefs, argument
129 TI* head = impulse + halfNumCoefs*CHANNELS;
135 // advance the impulse pointer, and load in data into the head (impulse+halfNumCoefs)
138 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAdvance(TI*& impulse, const int halfNumCoefs, argument
141 impulse += CHANNELS;
143 if (CC_UNLIKELY(impulse >= mRingFull)) {
146 impulse -= shiftDown;
148 readAgain<CHANNELS>(impulse, halfNumCoef
495 TI* impulse = mInBuffer.getImpulse(); local
[all...]
H A DAudioResamplerSinc.h64 inline void read(int16_t*& impulse, uint32_t& phaseFraction,
H A DAudioResamplerSinc.cpp542 int16_t* impulse = mImpulse; local
563 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
566 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
572 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
580 int16_t* head = impulse + headOffset;
587 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL);
597 read<CHANNELS>(impulse, phaseFraction, in, inputIndex);
609 mImpulse = impulse;
623 int16_t*& impulse, uint32_t& phaseFraction,
626 impulse
622 read( int16_t*& impulse, uint32_t& phaseFraction, const int16_t* in, size_t inputIndex) argument
[all...]

Completed in 123 milliseconds