Home
last modified time | relevance | path

Searched refs:spl_fixpt_from_fraction (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/spl/
H A Ddc_spl_scl_filters.c1325 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 Ddc_spl_scl_easf_filters.c1412 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 Ddc_spl_isharp_filters.c579 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 Ddc_spl.c115 temp = spl_fixpt_from_fraction(rec_in->x * (long long)stream_dst->width, in calculate_plane_rec_in_timing_active()
119 temp = spl_fixpt_from_fraction( in calculate_plane_rec_in_timing_active()
124 temp = spl_fixpt_from_fraction(rec_in->y * (long long)stream_dst->height, in calculate_plane_rec_in_timing_active()
128 temp = spl_fixpt_from_fraction( in calculate_plane_rec_in_timing_active()
374 spl_scratch->scl_data.ratios.horz = spl_fixpt_from_fraction( in spl_calculate_scaling_ratios()
377 spl_scratch->scl_data.ratios.vert = spl_fixpt_from_fraction( in spl_calculate_scaling_ratios()
603 init_adj_v = spl_fixpt_from_fraction(sign, 4); in spl_calculate_inits_and_viewports()
606 init_adj_h = spl_fixpt_from_fraction(sign, 4); in spl_calculate_inits_and_viewports()
607 init_adj_v = spl_fixpt_from_fraction(sign, 4); in spl_calculate_inits_and_viewports()
1188 hdr_mult = spl_fixpt_from_fraction((long long)hdr_multx100_int, 100LL); in spl_calculate_c0_c3_hdr()
[all …]
H A Dspl_fixpt31_32.h66 struct spl_fixed31_32 spl_fixpt_from_fraction(long long numerator, long long denominator);
310 return spl_fixpt_from_fraction(arg1.value, spl_fixpt_from_int((int)arg2).value); in spl_fixpt_div_int()
319 return spl_fixpt_from_fraction(arg1.value, arg2.value); in spl_fixpt_div()
H A Dspl_fixpt31_32.c49 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 fixed31_32_exp_from_taylor_series()
H A Dspl_custom_float.c17 spl_fixpt_from_fraction((1LL << (format->mantissa_bits + 1)) - 1, in spl_build_custom_float()