Home
last modified time | relevance | path

Searched refs:spl_fixpt_from_int (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Dspl_fixpt31_32.h72 static inline struct spl_fixed31_32 spl_fixpt_from_int(int arg) in spl_fixpt_from_int() function
248 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()
Ddc_spl_isharp_filters.c697 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()
Dspl_fixpt31_32.c493 struct spl_fixed31_32 fixpt_value = spl_fixpt_from_int(int_value); in spl_fixpt_from_int_dy()