Searched refs:coef_1 (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerFirProcess.h | 114 TC interpolate(TC coef_0, TC coef_1, TINTERP lerp) in interpolate() argument 116 return lerp * (coef_1 - coef_0) + coef_0; in interpolate() 121 int16_t interpolate<int16_t, uint32_t>(int16_t coef_0, int16_t coef_1, uint32_t lerp) 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) 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) { in interpolatep() 138 return interpolate(coef_0, coef_1, lerp); in interpolatep() 143 TC interpolaten(TC coef_0, TC coef_1, TINTERP lerp) { in interpolaten() 144 return interpolate(coef_0, coef_1, lerp); in interpolaten() [all …]
|