[lkml]   [2018]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v5 1/4] fixp-arith: add a linear interpolation function
On Thu, Jun 7, 2018 at 8:12 PM, Craig Tatlor <> 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 <>

The linear formula seems to fit the most natural form of linear

I bet some John Carmack algorithm type people will soon
start to optimize this... :D

Reviewed-by: Linus Walleij <>

Linus Walleij

 \ /
  Last update: 2018-06-13 13:07    [W:0.264 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site