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

/frameworks/av/tools/resampler_tools/
H A Dfir.cpp99 double atten = 1; local
206 atten = pow(10, -fabs(atof(optarg))*0.05 );
254 y *= atten;
282 y *= atten;
/frameworks/av/services/audioflinger/
H A DAudioResamplerFirGen.h636 * @param atten is the attenuation (generally slightly less than 1).
641 double stopBandAtten, double fcr, double atten) {
669 const double yscale = atten * L / (I0(beta) * M_PI);
692 y = 2. * atten * fcr; // center of filter, sinc(0) = 1.
640 firKaiserGen(T* coef, int L, int halfNumCoef, double stopBandAtten, double fcr, double atten) argument
H A DAudioResamplerDyn.cpp217 static const double atten = 0.9998; // to avoid ripple overflow local
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);

Completed in 122 milliseconds