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

/frameworks/av/tools/resampler_tools/
H A Dfir.cpp28 static inline double sqr(double x) { function
64 return I0(beta * sqrt(1.0 - sqr((2.0*k)/N - 1.0))) / I0(beta);
/frameworks/av/services/audioflinger/
H A DAudioResamplerFirGen.h123 static inline double sqr(double x) { function in namespace:android
670 const double sqrbeta = sqr(beta);
689 // y = I0(beta * sqrt(1.0 - sqr(x * xfrac))) * yscale * sg.valueAdvance() / x;
690 y = I0SqrRat(sqrbeta * (1.0 - sqr(x * xfrac)), yscale * sg.valueAdvance(), x);
/frameworks/av/services/audioflinger/tests/
H A Dresampler_tests.cpp139 inline double sqr(T v) function
151 accum += sqr(*p);

Completed in 4101 milliseconds