Searched refs:fcr (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerDyn.cpp | 250 double fcr; // compute fcr, the 3 dB amplitude cut-off. in createKaiserFir() local 252 fcr = max(0.5 * tbwCheat - halfbw, halfbw); in createKaiserFir() 254 fcr = max(0.5 * tbwCheat * outSampleRate / inSampleRate - halfbw, halfbw); in createKaiserFir() 256 createKaiserFir(c, stopBandAtten, fcr); in createKaiserFir() 261 double stopBandAtten, double fcr) { in createKaiserFir() argument 284 firKaiserGen(coefs, phases, halfLength, stopBandAtten, fcr, attenuation); in createKaiserFir() 287 mNormalizedCutoffFrequency = fcr; in createKaiserFir() 298 c.mL, c.mHalfNumCoefs, stopBandAtten, fcr, attenuation, tbw); in createKaiserFir() 302 const double fp = (fcr - halfbw) / phases; in createKaiserFir() 303 const double fs = (fcr + halfbw) / phases; in createKaiserFir() [all …]
|
D | AudioResamplerFirGen.h | 716 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.
|
D | AudioResamplerDyn.h | 153 void createKaiserFir(Constants &c, double stopBandAtten, double fcr);
|
/frameworks/av/media/libaudioprocessing/tests/ |
D | resampler_tests.cpp | 267 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()
|