Searched refs:fcr (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | AudioResamplerDyn.cpp | 218 double fcr; in createKaiserFir() local 223 fcr = max(0.5*tbwCheat - tbw/2, tbw/2); in createKaiserFir() 225 fcr = max(0.5*tbwCheat*outSampleRate/inSampleRate - tbw/2, tbw/2); 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() 239 double fp = (fcr - tbw/2)/c.mL; in createKaiserFir() 240 double fs = (fcr + tbw/2)/c.mL; in createKaiserFir()
|
D | AudioResamplerFirGen.h | 644 double stopBandAtten, double fcr, double atten) { 670 const double xstep = (2. * M_PI) * fcr / L; 695 y = 2. * atten * fcr; // center of filter, sinc(0) = 1.
|