Searched refs:halfNumCoefs (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | AudioResamplerDyn.cpp | 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 [all …]
|
D | AudioResamplerFirProcess.h | 378 const int coefShift, const int halfNumCoefs, const TC* const coefs, in fir() argument 391 const TC* coefsP = coefs + indexP*halfNumCoefs; in fir() 392 const TC* coefsN = coefs + indexN*halfNumCoefs; in fir() 398 halfNumCoefs, coefsP, coefsN, sP, sN, volumeLR); in fir() 404 const TC* coefsP = coefs + indexP*halfNumCoefs; in fir() 405 const TC* coefsN = coefs + indexN*halfNumCoefs; in fir() 406 const TC* coefsP1 = coefsP + halfNumCoefs; in fir() 407 const TC* coefsN1 = coefsN + halfNumCoefs; in fir() 426 halfNumCoefs, coefsP, coefsN, coefsP1, coefsN1, sP, sN, lerpP, volumeLR); in fir() 432 halfNumCoefs, coefsP, coefsN, coefsP1, coefsN1, sP, sN, lerpP, volumeLR); in fir()
|
D | AudioResamplerDyn.h | 65 void set(int L, int halfNumCoefs, 80 void resize(int CHANNELS, int halfNumCoefs); 92 inline void readAgain(TI*& impulse, const int halfNumCoefs, 96 inline void readAdvance(TI*& impulse, const int halfNumCoefs,
|
D | AudioResamplerSinc.cpp | 98 c->halfNumCoefs = RESAMPLE_FIR_NUM_COEF; in init_routine() 136 c->halfNumCoefs = readResampleFirNumCoeff(); in init_routine() 138 ALOGV("halfNumCoefs = %d", c->halfNumCoefs); in init_routine() 251 const size_t numCoefs = 2 * c.halfNumCoefs; in init() 255 mImpulse = mState + (c.halfNumCoefs-1)*mChannelCount; in init() 298 const size_t headOffset = c.halfNumCoefs*CHANNELS; in resample() 388 const size_t stateSize = (c.halfNumCoefs*2)*CHANNELS; in read() 393 int16_t* head = impulse + c.halfNumCoefs*CHANNELS; in read() 417 const size_t offset = c.halfNumCoefs; in filterCoefficient()
|
D | AudioResamplerSinc.h | 87 unsigned int halfNumCoefs; member
|