Searched defs:halfNumCoef (Results 1 - 1 of 1) sorted by relevance

/frameworks/av/services/audioflinger/
H A DAudioResamplerFirGen.h399 * @param halfNumCoef is half the number of coefficients per filter phase.
405 static inline double firKaiserTbw(int halfNumCoef, double stopBandAtten) { argument
406 return (stopBandAtten - 7.95)/((2.*14.36)*halfNumCoef);
423 static inline double firTransfer(const T* coef, int L, int halfNumCoef, double w) { argument
425 coef += halfNumCoef; // skip first filterbank (picked up by the last filterbank).
429 for (int j=0, ix=i ; j<halfNumCoef ; ++j, ix+=L) {
467 int start = ((halfNumCoef)*L + 1);
473 for (int j=0 ; j<halfNumCoef ; ++j) {
507 * @param halfNumCoef should be half the number of coefficients for a single
524 static void testFir(const T* coef, int L, int halfNumCoef, argument
596 testFir(const T* coef, int L, int halfNumCoef, double fp, double fs, int passSteps, int stopSteps, double &passMin, double &passMax, double &passRipple, double &stopMax, double &stopRipple) argument
643 firKaiserGen(T* coef, int L, int halfNumCoef, double stopBandAtten, double fcr, double atten) argument
[all...]

Completed in 8 milliseconds