Searched refs:halfNumCoefs (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerDyn.cpp | 85 void AudioResamplerDyn<TC, TI, TO>::InBuffer::resize(int CHANNELS, int halfNumCoefs) in resize() argument 88 size_t stateCount = halfNumCoefs * CHANNELS * 2 * kStateSizeMultipleOfFilterLength; in resize() 93 && mRingFull-mState == (ssize_t) (mStateCount-halfNumCoefs*CHANNELS)) { in resize() 107 TI* srcLo = mImpulse - halfNumCoefs*CHANNELS; in resize() 108 TI* srcHi = mImpulse + halfNumCoefs*CHANNELS; in resize() 125 mImpulse = state + halfNumCoefs*CHANNELS; // actually one sample greater than needed in resize() 126 mRingFull = state + mStateCount - halfNumCoefs*CHANNELS; in resize() 132 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAgain(TI*& impulse, const int halfNumCoefs, in readAgain() argument 135 TI* head = impulse + halfNumCoefs*CHANNELS; in readAgain() 144 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 | 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,
|
D | AudioResamplerSinc.cpp | 99 c->halfNumCoefs = RESAMPLE_FIR_NUM_COEF; in init_routine() 137 c->halfNumCoefs = readResampleFirNumCoeff(); in init_routine() 139 ALOGV("halfNumCoefs = %d", c->halfNumCoefs); in init_routine() 252 const size_t numCoefs = 2 * c.halfNumCoefs; in init() 256 mImpulse = mState + (c.halfNumCoefs-1)*mChannelCount; in init() 299 const size_t headOffset = c.halfNumCoefs*CHANNELS; in resample() 389 const size_t stateSize = (c.halfNumCoefs*2)*CHANNELS; in read() 394 int16_t* head = impulse + c.halfNumCoefs*CHANNELS; in read() 418 const size_t offset = c.halfNumCoefs; in filterCoefficient()
|
D | AudioResamplerSinc.h | 87 unsigned int halfNumCoefs; member
|