Searched refs:spl_fixpt_from_int (Results 1 – 3 of 3) sorted by relevance
72 static inline struct spl_fixed31_32 spl_fixpt_from_int(int arg) in spl_fixpt_from_int() function248 return spl_fixpt_add(arg1, spl_fixpt_from_int(arg2)); in spl_fixpt_add_int()273 return spl_fixpt_sub(arg1, spl_fixpt_from_int(arg2)); in spl_fixpt_sub_int()295 return spl_fixpt_mul(arg1, spl_fixpt_from_int(arg2)); in spl_fixpt_mul_int()310 return spl_fixpt_from_fraction(arg1.value, spl_fixpt_from_int((int)arg2).value); in spl_fixpt_div_int()
697 sharp_base = spl_fixpt_from_int((int)*byte_ptr_1dlut_src); 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()
493 struct spl_fixed31_32 fixpt_value = spl_fixpt_from_int(int_value); in spl_fixpt_from_int_dy()