HomeSort by relevance Sort by last modified time
    Searched refs:halfNumCoefs (Results 1 - 5 of 5) sorted by null

  /frameworks/av/media/libaudioprocessing/
AudioResamplerDyn.h 103 void set(int L, int halfNumCoefs,
118 void resize(int CHANNELS, int halfNumCoefs);
130 inline void readAgain(TI*& impulse, const int halfNumCoefs,
134 inline void readAdvance(TI*& impulse, const int halfNumCoefs,
143 // in general, mRingFull = mState + mStateSize - halfNumCoefs*CHANNELS.
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, const TC* const coefs
    [all...]
AudioResamplerDyn.cpp 49 * Layout of the state buffer for halfNumCoefs=8.
86 void AudioResamplerDyn<TC, TI, TO>::InBuffer::resize(int CHANNELS, int halfNumCoefs)
89 size_t stateCount = halfNumCoefs * CHANNELS * 2 * kStateSizeMultipleOfFilterLength;
94 && mRingFull-mState == (ssize_t) (mStateCount-halfNumCoefs*CHANNELS)) {
108 TI* srcLo = mImpulse - halfNumCoefs*CHANNELS;
109 TI* srcHi = mImpulse + halfNumCoefs*CHANNELS;
126 mImpulse = state + halfNumCoefs*CHANNELS; // actually one sample greater than needed
127 mRingFull = state + mStateCount - halfNumCoefs*CHANNELS;
130 // copy in the input data into the head (impulse+halfNumCoefs) of the buffer.
133 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAgain(TI*& impulse, const int halfNumCoefs,
    [all...]
AudioResamplerSinc.h 87 unsigned int halfNumCoefs;
AudioResamplerSinc.cpp 99 c->halfNumCoefs = RESAMPLE_FIR_NUM_COEF;
137 c->halfNumCoefs = readResampleFirNumCoeff();
139 ALOGV("halfNumCoefs = %d", c->halfNumCoefs);
252 const size_t numCoefs = 2 * c.halfNumCoefs;
256 mImpulse = mState + (c.halfNumCoefs-1)*mChannelCount;
299 const size_t headOffset = c.halfNumCoefs*CHANNELS;
389 const size_t stateSize = (c.halfNumCoefs*2)*CHANNELS;
394 int16_t* head = impulse + c.halfNumCoefs*CHANNELS;
418 const size_t offset = c.halfNumCoefs;
    [all...]

Completed in 171 milliseconds