Searched refs:Interp (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | AudioResampler.cpp | 68 static inline int32_t Interp(int32_t x0, int32_t x1, uint32_t f) { in Interp() function in android::AudioResamplerOrder1 375 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); in resampleStereo16() 376 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction); in resampleStereo16() 399 out[outputIndex++] += vl * Interp(in[inputIndex*2-2], in resampleStereo16() 401 out[outputIndex++] += vr * Interp(in[inputIndex*2-1], in resampleStereo16() 470 int32_t sample = Interp(mX0L, in[0], phaseFraction); in resampleMono16() 495 int32_t sample = Interp(in[inputIndex-1], in[inputIndex], in resampleMono16()
|