Home
last modified time | relevance | path

Searched refs:f_a (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
138 return FMUL((f_a + f_2), f_x3) - FMUL((f_a + f_3), f_x2) + f_1; in cubic_conv()
140 return FMUL(f_a, (f_x3 - 5 * f_x2 + 8 * f_x - f_4)); in cubic_conv()
177 const s32 f_a = SHARPNESS_INCR * sharpness; in jz4760_set_coefs() local
187 w0 = F2I(f_h + 512 * cubic_conv(f_a, I2F(512 + weight) / 512)); in jz4760_set_coefs()
188 w1 = F2I(f_h + 512 * cubic_conv(f_a, I2F(0 + weight) / 512)); in jz4760_set_coefs()
189 w2 = F2I(f_h + 512 * cubic_conv(f_a, I2F(512 - weight) / 512)); in jz4760_set_coefs()
190 w3 = F2I(f_h + 512 * cubic_conv(f_a, I2F(1024 - weight) / 512)); in jz4760_set_coefs()