| From | Linus Walleij <> | Date | Wed, 13 Jun 2018 13:06:35 +0200 | Subject | Re: [PATCH v5 1/4] fixp-arith: add a linear interpolation function |
| |
On Thu, Jun 7, 2018 at 8:12 PM, Craig Tatlor <ctatlor97@gmail.com> wrote:
> Adds a function to interpolate against two points, > this is carried arount as a helper function by tons of drivers. > > Signed-off-by: Craig Tatlor <ctatlor97@gmail.com>
The linear formula seems to fit the most natural form of linear interpolation.
I bet some John Carmack algorithm type people will soon start to optimize this... :D
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours, Linus Walleij
|