Lines Matching full:sharpness

44 			  unsigned int sharpness, bool downscale,
66 unsigned int sharpness; member
116 * @f_a: Sharpness factor, typically in range [-4.0, -0.25].
117 * A larger magnitude increases perceived sharpness, but going past
125 * [-2.0, +2.0]. For moderate (i.e. > -3.0) sharpness factors,
156 unsigned int sharpness, bool downscale, in jz4760_set_coefs() argument
164 if (sharpness < 2) { in jz4760_set_coefs()
166 * When sharpness setting is 0, emulate nearest-neighbor. in jz4760_set_coefs()
167 * When sharpness setting is 1, emulate bilinear. in jz4760_set_coefs()
170 if (sharpness == 0) in jz4760_set_coefs()
177 const s32 f_a = SHARPNESS_INCR * sharpness; in jz4760_set_coefs()
208 unsigned int sharpness, bool downscale, in jz4725b_set_coefs() argument
216 if (sharpness == 0) in jz4725b_set_coefs()
244 ipu->soc_info->set_coefs(ipu, reg, ipu->sharpness, in ingenic_ipu_set_downscale_coefs()
278 ipu->soc_info->set_coefs(ipu, reg, ipu->sharpness, in ingenic_ipu_set_upscale_coefs()
687 *val = ipu->sharpness; in ingenic_ipu_plane_atomic_get_property()
704 mode_changed = val != ipu->sharpness; in ingenic_ipu_plane_atomic_set_property()
705 ipu->sharpness = val; in ingenic_ipu_plane_atomic_set_property()
866 * Sharpness settings range is [0,32] in ingenic_ipu_bind()
869 * 2 .. 32 : bicubic (translated to sharpness factor -0.25 .. -4.0) in ingenic_ipu_bind()
872 ipu->sharpness_prop = drm_property_create_range(drm, 0, "sharpness", in ingenic_ipu_bind()
875 dev_err(dev, "Unable to create sharpness property\n"); in ingenic_ipu_bind()
879 /* Default sharpness factor: -0.125 * 8 = -1.0 */ in ingenic_ipu_bind()
880 ipu->sharpness = soc_info->has_bicubic ? 8 : 1; in ingenic_ipu_bind()
882 ipu->sharpness); in ingenic_ipu_bind()