Searched refs:sharp_calc (Results 1 – 1 of 1) sorted by relevance
663 struct spl_fixed31_32 sharp_base, sharp_calc, sharp_level; in spl_build_isharp_1dlut_from_reference_curve() local698 sharp_calc = spl_fixpt_mul(sharp_base, sharp_level); in spl_build_isharp_1dlut_from_reference_curve()699 sharp_calc = spl_fixpt_div(sharp_calc, spl_fixpt_from_int(3)); in spl_build_isharp_1dlut_from_reference_curve()700 sharp_calc = spl_fixpt_min(spl_fixpt_from_int(255), sharp_calc); in spl_build_isharp_1dlut_from_reference_curve()701 sharp_calc = spl_fixpt_add(sharp_calc, spl_fixpt_from_fraction(1, 2)); in spl_build_isharp_1dlut_from_reference_curve()702 sharp_calc_int = spl_fixpt_floor(sharp_calc); in spl_build_isharp_1dlut_from_reference_curve()