Searched defs:halfNumCoefs (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/services/audioflinger/
H A DAudioResamplerSinc.h87 unsigned int halfNumCoefs; member in struct:android::AudioResamplerSinc::Constants
H A DAudioResamplerFirProcess.h291 * @param halfNumCoefs is the half the number of coefficients per polyphase filter. Since the
292 * overall filterbank is odd-length symmetric, only halfNumCoefs need be stored.
295 * and including the #polyphases. Each polyphase of the filter has half-length halfNumCoefs
297 * (#polyphases+1)*halfNumCoefs.
306 * the negative half of the filter is dot product from samples+1 to samples+halfNumCoefs;
307 * the positive half of the filter is dot product from samples to samples-halfNumCoefs+1.
340 const int coefShift, const int halfNumCoefs, const TC* const coefs,
353 const TC* coefsP = coefs + indexP*halfNumCoefs;
354 const TC* coefsN = coefs + indexN*halfNumCoefs;
360 halfNumCoefs, coefs
338 fir(TO* const out, const uint32_t phase, const uint32_t phaseWrapLimit, const int coefShift, const int halfNumCoefs, const TC* const coefs, const TI* const samples, const TO* const volumeLR) argument
[all...]
H A DAudioResamplerDyn.cpp45 * Layout of the state buffer for halfNumCoefs=8.
82 void AudioResamplerDyn<TC, TI, TO>::InBuffer::resize(int CHANNELS, int halfNumCoefs) argument
85 size_t stateCount = halfNumCoefs * CHANNELS * 2 * kStateSizeMultipleOfFilterLength;
90 && mRingFull-mState == (ssize_t) (mStateCount-halfNumCoefs*CHANNELS)) {
101 TI* srcLo = mImpulse - halfNumCoefs*CHANNELS;
102 TI* srcHi = mImpulse + halfNumCoefs*CHANNELS;
119 mImpulse = state + halfNumCoefs*CHANNELS; // actually one sample greater than needed
120 mRingFull = state + mStateCount - halfNumCoefs*CHANNELS;
123 // 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
138 readAdvance(TI*& impulse, const int halfNumCoefs, const TI* const in, const size_t inputIndex) argument
152 set( int L, int halfNumCoefs, int inSampleRate, int outSampleRate) argument
559 const int halfNumCoefs = c.mHalfNumCoefs; local
[all...]

Completed in 1271 milliseconds