Searched refs:spl_fixpt_from_fraction (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/gpu/drm/amd/display/dc/spl/ |
H A D | dc_spl_scl_filters.c | 1325 else if (ratio.value < spl_fixpt_from_fraction(4, 3).value) in spl_get_filter_3tap_16p() 1327 else if (ratio.value < spl_fixpt_from_fraction(5, 3).value) in spl_get_filter_3tap_16p() 1337 else if (ratio.value < spl_fixpt_from_fraction(4, 3).value) in spl_get_filter_3tap_64p() 1339 else if (ratio.value < spl_fixpt_from_fraction(5, 3).value) in spl_get_filter_3tap_64p() 1349 else if (ratio.value < spl_fixpt_from_fraction(4, 3).value) in spl_get_filter_4tap_16p() 1351 else if (ratio.value < spl_fixpt_from_fraction(5, 3).value) in spl_get_filter_4tap_16p() 1361 else if (ratio.value < spl_fixpt_from_fraction(4, 3).value) in spl_get_filter_4tap_64p() 1363 else if (ratio.value < spl_fixpt_from_fraction(5, 3).value) in spl_get_filter_4tap_64p() 1373 else if (ratio.value < spl_fixpt_from_fraction(4, 3).value) in spl_get_filter_5tap_64p() 1375 else if (ratio.value < spl_fixpt_from_fraction(5, 3).value) in spl_get_filter_5tap_64p() [all …]
|
H A D | dc_spl_scl_easf_filters.c | 1412 if (ratio.value < spl_fixpt_from_fraction(3, 10).value) in spl_get_easf_filter_3tap_64p() 1414 else if (ratio.value < spl_fixpt_from_fraction(4, 10).value) in spl_get_easf_filter_3tap_64p() 1416 else if (ratio.value < spl_fixpt_from_fraction(5, 10).value) in spl_get_easf_filter_3tap_64p() 1418 else if (ratio.value < spl_fixpt_from_fraction(6, 10).value) in spl_get_easf_filter_3tap_64p() 1420 else if (ratio.value < spl_fixpt_from_fraction(7, 10).value) in spl_get_easf_filter_3tap_64p() 1422 else if (ratio.value < spl_fixpt_from_fraction(8, 10).value) in spl_get_easf_filter_3tap_64p() 1424 else if (ratio.value < spl_fixpt_from_fraction(9, 10).value) in spl_get_easf_filter_3tap_64p() 1432 if (ratio.value < spl_fixpt_from_fraction(3, 10).value) in spl_get_easf_filter_4tap_64p() 1434 else if (ratio.value < spl_fixpt_from_fraction(4, 10).value) in spl_get_easf_filter_4tap_64p() 1436 else if (ratio.value < spl_fixpt_from_fraction(5, 10).value) in spl_get_easf_filter_4tap_64p() [all …]
|
H A D | dc_spl_isharp_filters.c | 579 ratio_level = spl_fixpt_from_fraction(lookup_ptr->ratio_numer, in spl_calculate_sharpness_level_adj() 673 sharp_level = spl_fixpt_from_fraction(sharpnessX1000, 1000); 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()
|
H A D | spl_fixpt31_32.h | 63 struct spl_fixed31_32 spl_fixpt_from_fraction(long long numerator, long long denominator); 307 return spl_fixpt_from_fraction(arg1.value, spl_fixpt_from_int((int)arg2).value); in spl_fixpt_div_int() 316 return spl_fixpt_from_fraction(arg1.value, arg2.value); in spl_fixpt_div()
|
H A D | spl_fixpt31_32.c | 49 struct spl_fixed31_32 spl_fixpt_from_fraction(long long numerator, long long denominator) in spl_fixpt_from_fraction() function 201 return spl_fixpt_from_fraction( in spl_fixpt_recip() 293 struct spl_fixed31_32 res = spl_fixpt_from_fraction( in spl_fixed31_32_exp_from_taylor_series()
|
H A D | spl_custom_float.c | 17 spl_fixpt_from_fraction((1LL << (format->mantissa_bits + 1)) - 1, in spl_build_custom_float()
|