Home
last modified time | relevance | path

Searched refs:f_x (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c128 static inline s32 cubic_conv(s32 f_a, s32 f_x) in cubic_conv() argument
134 const s32 f_x2 = FMUL(f_x, f_x); in cubic_conv()
135 const s32 f_x3 = FMUL(f_x, f_x2); in cubic_conv()
137 if (f_x <= f_1) in cubic_conv()
139 else if (f_x <= f_2) in cubic_conv()
140 return FMUL(f_a, (f_x3 - 5 * f_x2 + 8 * f_x - f_4)); in cubic_conv()