Searched defs:halfNumCoefs (Results 1 - 3 of 3) sorted by relevance
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerSinc.h | 87 unsigned int halfNumCoefs; member in struct:android::AudioResamplerSinc::Constants
|
H A D | AudioResamplerFirProcess.h | 268 * @param count should be half the size of the total filter length (halfNumCoefs), as we 271 * @param coefsP is one phase of the polyphase filter bank of size halfNumCoefs, corresponding 274 * @param coefsN is one phase of the polyphase filter bank of size halfNumCoefs, corresponding 329 * @param halfNumCoefs is the half the number of coefficients per polyphase filter. Since the 330 * overall filterbank is odd-length symmetric, only halfNumCoefs need be stored. 333 * and including the #polyphases. Each polyphase of the filter has half-length halfNumCoefs 335 * (#polyphases+1)*halfNumCoefs. 344 * the negative half of the filter is dot product from samples+1 to samples+halfNumCoefs; 345 * the positive half of the filter is dot product from samples to samples-halfNumCoefs+1. 378 const int coefShift, const int halfNumCoefs, cons 376 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 D | AudioResamplerDyn.cpp | 45 * 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 557 const int halfNumCoefs = c.mHalfNumCoefs; local [all...] |
Completed in 158 milliseconds