Searched refs:stopBandAtten (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/services/audioflinger/
H A DAudioResamplerDyn.cpp214 double stopBandAtten, int inSampleRate, int outSampleRate, double tbwCheat)
219 double tbw = firKaiserTbw(c.mHalfNumCoefs, stopBandAtten);
228 firKaiserGen(buf, c.mL, c.mHalfNumCoefs, stopBandAtten, fcr, atten);
236 printf("L:%d hnc:%d stopBandAtten:%lf fcr:%lf atten:%lf tbw:%lf\n",
237 c.mL, c.mHalfNumCoefs, stopBandAtten, fcr, atten, tbw);
307 double stopBandAtten; local
313 stopBandAtten = 98.;
324 stopBandAtten = 80.;
341 stopBandAtten = 84.;
384 createKaiserFir(mConstants, stopBandAtten,
213 createKaiserFir(Constants &c, double stopBandAtten, int inSampleRate, int outSampleRate, double tbwCheat) argument
[all...]
H A DAudioResamplerDyn.h110 void createKaiserFir(Constants &c, double stopBandAtten,
H A DAudioResamplerFirGen.h398 * @param stopBandAtten is the stop band attenuation desired.
402 static inline double firKaiserTbw(int halfNumCoef, double stopBandAtten) { argument
403 return (stopBandAtten - 7.95)/((2.*14.36)*halfNumCoef);
629 * @param stopBandAtten is the stopband value, should be >50dB.
641 double stopBandAtten, double fcr, double atten) {
666 const double beta = 0.1102 * (stopBandAtten - 8.7); // >= 50dB always
640 firKaiserGen(T* coef, int L, int halfNumCoef, double stopBandAtten, double fcr, double atten) argument

Completed in 43 milliseconds