Searched defs:coef_1 (Results 1 - 1 of 1) sorted by relevance
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerFirProcess.h | 114 TC interpolate(TC coef_0, TC coef_1, TINTERP lerp) argument 116 return lerp * (coef_1 - coef_0) + coef_0; 121 int16_t interpolate<int16_t, uint32_t>(int16_t coef_0, int16_t coef_1, uint32_t lerp) argument 123 return (static_cast<int16_t>(lerp) * static_cast<int16_t>(coef_1 - coef_0) >> 15) + coef_0; 128 int32_t interpolate<int32_t, uint32_t>(int32_t coef_0, int32_t coef_1, uint32_t lerp) argument 130 return (lerp * static_cast<int64_t>(coef_1 - coef_0) >> 31) + coef_0; 137 TC interpolatep(TC coef_0, TC coef_1, TINTERP lerp) { argument 138 return interpolate(coef_0, coef_1, lerp); 143 TC interpolaten(TC coef_0, TC coef_1, TINTERP lerp) { argument 144 return interpolate(coef_0, coef_1, ler 157 interpolaten(TC coef_0 __unused, TC coef_1, TINTERP lerp __unused) argument [all...] |
Completed in 13 milliseconds