Lines Matching refs:halfNumCoefs
82 void AudioResamplerDyn<TC, TI, TO>::InBuffer::resize(int CHANNELS, int halfNumCoefs) in resize() argument
85 size_t stateCount = halfNumCoefs * CHANNELS * 2 * kStateSizeMultipleOfFilterLength; in resize()
90 && mRingFull-mState == (ssize_t) (mStateCount-halfNumCoefs*CHANNELS)) { in resize()
101 TI* srcLo = mImpulse - halfNumCoefs*CHANNELS; in resize()
102 TI* srcHi = mImpulse + halfNumCoefs*CHANNELS; in resize()
119 mImpulse = state + halfNumCoefs*CHANNELS; // actually one sample greater than needed in resize()
120 mRingFull = state + mStateCount - halfNumCoefs*CHANNELS; in resize()
126 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
144 const size_t shiftDown = mRingFull - mState - halfNumCoefs*CHANNELS; in readAdvance()
145 memcpy(mState, mState+shiftDown, halfNumCoefs*CHANNELS*2*sizeof(TI)); in readAdvance()
148 readAgain<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); in readAdvance()
153 int L, int halfNumCoefs, int inSampleRate, int outSampleRate) in set() argument
162 mHalfNumCoefs = halfNumCoefs; in set()
557 const int halfNumCoefs = c.mHalfNumCoefs; in resample() local
575 coefShift, halfNumCoefs, coefs, in resample()
585 mInBuffer.template readAdvance<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); in resample()