Searched refs:sinc (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/tools/resampler_tools/
H A Dfir.cpp23 static inline double sinc(double x) { function
253 double y = kaiser(ix+N, 2*N, beta) * sinc(x) * 2.0 * Fcr;
281 double y = kaiser(i+N, 2*N, beta) * sinc(x) * 2.0 * Fcr;;
/frameworks/av/services/audioflinger/
H A DAudioResamplerSinc.cpp471 * p = past samples, convoluted with the (p)ositive side of sinc()
472 * n = future samples, convoluted with the (n)egative side of sinc()
846 int32_t sinc = mulAdd(lerp, (c1-c0)<<1, c0); local
849 l = mulAddRL(1, rl, sinc, l);
850 r = mulAddRL(0, rl, sinc, r);
852 r = l = mulAdd(samples[0], sinc, l);

Completed in 62 milliseconds