Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c82 * @f_x: Absolute distance in pixels from 'pixel 0' sample position
89 static inline s32 cubic_conv(s32 f_a, s32 f_x) in cubic_conv() argument
95 const s32 f_x2 = FMUL(f_x, f_x); in cubic_conv()
96 const s32 f_x3 = FMUL(f_x, f_x2); in cubic_conv()
98 if (f_x <= f_1) in cubic_conv()
100 else if (f_x <= f_2) in cubic_conv()
101 return FMUL(f_a, (f_x3 - 5 * f_x2 + 8 * f_x - f_4)); in cubic_conv()
/kernel/linux/linux-6.6/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c121 * @f_x: Absolute distance in pixels from 'pixel 0' sample position
128 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()

Completed in 5 milliseconds