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
260 double y = kaiser(ix+N, 2*N, beta) * sinc(x) * 2.0 * Fcr;
291 double y = kaiser(i+N, 2*N, beta) * sinc(x) * 2.0 * Fcr;;
/frameworks/av/services/audioflinger/
H A DAudioResamplerSinc.cpp226 * p = past samples, convoluted with the (p)ositive side of sinc()
227 * n = future samples, convoluted with the (n)egative side of sinc()
603 int32_t sinc = mulAdd(lerp, (c1-c0)<<1, c0); local
606 l = mulAddRL(1, rl, sinc, l);
607 r = mulAddRL(0, rl, sinc, r);
609 r = l = mulAdd(samples[0], sinc, l);

Completed in 203 milliseconds