Home
last modified time | relevance | path

Searched refs:fcr (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaudioprocessing/
DAudioResamplerDyn.cpp249 double fcr; // compute fcr, the 3 dB amplitude cut-off. in createKaiserFir() local
251 fcr = max(0.5 * tbwCheat - halfbw, halfbw); in createKaiserFir()
253 fcr = max(0.5 * tbwCheat * outSampleRate / inSampleRate - halfbw, halfbw); in createKaiserFir()
255 createKaiserFir(c, stopBandAtten, fcr); in createKaiserFir()
260 double stopBandAtten, double fcr) { in createKaiserFir() argument
283 firKaiserGen(coefs, phases, halfLength, stopBandAtten, fcr, attenuation); in createKaiserFir()
286 mNormalizedCutoffFrequency = fcr; in createKaiserFir()
297 c.mL, c.mHalfNumCoefs, stopBandAtten, fcr, attenuation, tbw); in createKaiserFir()
301 const double fp = (fcr - halfbw) / phases; in createKaiserFir()
302 const double fs = (fcr + halfbw) / phases; in createKaiserFir()
[all …]
DAudioResamplerFirGen.h716 double stopBandAtten, double fcr, double atten) {
719 const double xstep = (2. * M_PI) * fcr / L;
744 y = 2. * atten * fcr; // center of filter, sinc(0) = 1.
DAudioResamplerDyn.h153 void createKaiserFir(Constants &c, double stopBandAtten, double fcr);
/frameworks/av/media/libaudioprocessing/tests/
Dresampler_tests.cpp267 const double fcr = rdyn->getNormalizedCutoffFrequency(); in testFilterResponse() local
272 const double fp = fcr - tbw * 0.5; in testFilterResponse()
273 const double fs = fcr + tbw * 0.5; in testFilterResponse()
285 fcr, fp, fs, tbw, fcr * 100. / idealfs, in testFilterResponse()