Lines Matching refs:halfNumCoefs
86 void AudioResamplerDyn<TC, TI, TO>::InBuffer::resize(int CHANNELS, int halfNumCoefs) in resize() argument
89 size_t stateCount = halfNumCoefs * CHANNELS * 2 * kStateSizeMultipleOfFilterLength; in resize()
94 && mRingFull-mState == (ssize_t) (mStateCount-halfNumCoefs*CHANNELS)) { in resize()
108 TI* srcLo = mImpulse - halfNumCoefs*CHANNELS; in resize()
109 TI* srcHi = mImpulse + halfNumCoefs*CHANNELS; in resize()
126 mImpulse = state + halfNumCoefs*CHANNELS; // actually one sample greater than needed in resize()
127 mRingFull = state + mStateCount - halfNumCoefs*CHANNELS; in resize()
133 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAgain(TI*& impulse, const int halfNumCoefs, in readAgain() argument
136 TI* head = impulse + halfNumCoefs*CHANNELS; in readAgain()
145 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAdvance(TI*& impulse, const int halfNumCoefs, in readAdvance() argument
151 const size_t shiftDown = mRingFull - mState - halfNumCoefs*CHANNELS; in readAdvance()
152 memcpy(mState, mState+shiftDown, halfNumCoefs*CHANNELS*2*sizeof(TI)); in readAdvance()
155 readAgain<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); in readAdvance()
169 int L, int halfNumCoefs, int inSampleRate, int outSampleRate) in set() argument
178 mHalfNumCoefs = halfNumCoefs; in set()
696 const int halfNumCoefs = c.mHalfNumCoefs; in resample() local
714 coefShift, halfNumCoefs, coefs, in resample()
724 mInBuffer.template readAdvance<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); in resample()