Lines Matching full:512
149 * "weight 512" means all of pixel 0;
162 weight = clamp_val(weight, 0, 512); in jz4760_set_coefs()
171 weight = weight >= 256 ? 512 : 0; in jz4760_set_coefs()
174 w2 = 512 - weight; in jz4760_set_coefs()
186 weight = 512 - weight; 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(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()
214 weight = clamp_val(weight, 0, 512); in jz4725b_set_coefs()
217 weight = weight >= 256 ? 512 : 0; in jz4725b_set_coefs()
240 weight = 512 - 512 * (weight_num - num) / (num * 2); in ingenic_ipu_set_downscale_coefs()
260 ipu->soc_info->set_coefs(ipu, reg, 0, false, 512, i == num - 1); in ingenic_ipu_set_integer_upscale_coefs()
271 weight = 512 - 512 * weight_num / num; in ingenic_ipu_set_upscale_coefs()