Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c63 #define I2F(i) ((s32)(i) * 65536) macro
66 #define SHARPNESS_INCR (I2F(-1) / 8)
91 const s32 f_1 = I2F(1); in cubic_conv()
92 const s32 f_2 = I2F(2); in cubic_conv()
93 const s32 f_3 = I2F(3); in cubic_conv()
94 const s32 f_4 = I2F(4); in cubic_conv()
139 const s32 f_h = I2F(1) / 2; /* Round up 0.5 */ in jz4760_set_coefs()
148 w0 = F2I(f_h + 512 * cubic_conv(f_a, I2F(512 + weight) / 512)); in jz4760_set_coefs()
149 w1 = F2I(f_h + 512 * cubic_conv(f_a, I2F(0 + weight) / 512)); in jz4760_set_coefs()
150 w2 = F2I(f_h + 512 * cubic_conv(f_a, I2F(51 in jz4760_set_coefs()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c72 #define I2F(i) ((s32)(i) * 65536) macro
75 #define SHARPNESS_INCR (I2F(-1) / 8)
130 const s32 f_1 = I2F(1); in cubic_conv()
131 const s32 f_2 = I2F(2); in cubic_conv()
132 const s32 f_3 = I2F(3); in cubic_conv()
133 const s32 f_4 = I2F(4); in cubic_conv()
178 const s32 f_h = I2F(1) / 2; /* Round up 0.5 */ in jz4760_set_coefs()
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(51 in jz4760_set_coefs()
[all...]

Completed in 2 milliseconds