Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DAudioResamplerDyn.cpp214 double stopBandAtten, int inSampleRate, int outSampleRate, double tbwCheat) in createKaiserFir() argument
219 double tbw = firKaiserTbw(c.mHalfNumCoefs, stopBandAtten); in createKaiserFir()
228 firKaiserGen(buf, c.mL, c.mHalfNumCoefs, stopBandAtten, fcr, atten); in createKaiserFir()
237 c.mL, c.mHalfNumCoefs, stopBandAtten, fcr, atten, tbw); in createKaiserFir()
306 double stopBandAtten; in setSampleRate() local
312 stopBandAtten = 98.; in setSampleRate()
323 stopBandAtten = 80.; in setSampleRate()
340 stopBandAtten = 84.; in setSampleRate()
383 createKaiserFir(mConstants, stopBandAtten, in setSampleRate()
DAudioResamplerFirGen.h405 static inline double firKaiserTbw(int halfNumCoef, double stopBandAtten) {
406 return (stopBandAtten - 7.95)/((2.*14.36)*halfNumCoef);
644 double stopBandAtten, double fcr, double atten) {
669 const double beta = 0.1102 * (stopBandAtten - 8.7); // >= 50dB always
DAudioResamplerDyn.h110 void createKaiserFir(Constants &c, double stopBandAtten,