Searched refs:spl_fixed31_32 (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/ |
D | spl_fixpt31_32.h | 42 struct spl_fixed31_32 { struct 52 static const struct spl_fixed31_32 spl_fixpt_zero = { 0 }; argument 53 static const struct spl_fixed31_32 spl_fixpt_epsilon = { 1LL }; 54 static const struct spl_fixed31_32 spl_fixpt_half = { 0x80000000LL }; 55 static const struct spl_fixed31_32 spl_fixpt_one = { 0x100000000LL }; 66 struct spl_fixed31_32 spl_fixpt_from_fraction(long long numerator, long long denominator); 72 static inline struct spl_fixed31_32 spl_fixpt_from_int(int arg) in spl_fixpt_from_int() 74 struct spl_fixed31_32 res; in spl_fixpt_from_int() 90 static inline struct spl_fixed31_32 spl_fixpt_neg(struct spl_fixed31_32 arg) in spl_fixpt_neg() 92 struct spl_fixed31_32 res; in spl_fixpt_neg() [all …]
|
D | spl_fixpt31_32.c | 7 static const struct spl_fixed31_32 spl_fixpt_two_pi = { 26986075409LL }; 8 static const struct spl_fixed31_32 spl_fixpt_ln2 = { 2977044471LL }; 9 static const struct spl_fixed31_32 spl_fixpt_ln2_div_2 = { 1488522236LL }; 49 struct spl_fixed31_32 spl_fixpt_from_fraction(long long numerator, long long denominator) in spl_fixpt_from_fraction() 51 struct spl_fixed31_32 res; in spl_fixpt_from_fraction() 101 struct spl_fixed31_32 spl_fixpt_mul(struct spl_fixed31_32 arg1, struct spl_fixed31_32 arg2) in spl_fixpt_mul() 103 struct spl_fixed31_32 res; in spl_fixpt_mul() 152 struct spl_fixed31_32 spl_fixpt_sqr(struct spl_fixed31_32 arg) in spl_fixpt_sqr() 154 struct spl_fixed31_32 res; in spl_fixpt_sqr() 192 struct spl_fixed31_32 spl_fixpt_recip(struct spl_fixed31_32 arg) in spl_fixpt_recip() [all …]
|
D | dc_spl_scl_easf_filters.h | 17 uint16_t *spl_get_easf_filter_3tap_64p(struct spl_fixed31_32 ratio); 18 uint16_t *spl_get_easf_filter_4tap_64p(struct spl_fixed31_32 ratio); 19 uint16_t *spl_get_easf_filter_6tap_64p(struct spl_fixed31_32 ratio); 20 uint16_t *spl_dscl_get_easf_filter_coeffs_64p(int taps, struct spl_fixed31_32 ratio); 25 uint32_t spl_get_v_bf3_mode(struct spl_fixed31_32 ratio); 26 uint32_t spl_get_h_bf3_mode(struct spl_fixed31_32 ratio); 27 uint32_t spl_get_reducer_gain6(int taps, struct spl_fixed31_32 ratio); 28 uint32_t spl_get_reducer_gain4(int taps, struct spl_fixed31_32 ratio); 29 uint32_t spl_get_gainRing6(int taps, struct spl_fixed31_32 ratio); 30 uint32_t spl_get_gainRing4(int taps, struct spl_fixed31_32 ratio); [all …]
|
D | dc_spl_scl_filters.h | 10 const uint16_t *spl_get_filter_3tap_16p(struct spl_fixed31_32 ratio); 11 const uint16_t *spl_get_filter_3tap_64p(struct spl_fixed31_32 ratio); 12 const uint16_t *spl_get_filter_4tap_16p(struct spl_fixed31_32 ratio); 13 const uint16_t *spl_get_filter_4tap_64p(struct spl_fixed31_32 ratio); 14 const uint16_t *spl_get_filter_5tap_64p(struct spl_fixed31_32 ratio); 15 const uint16_t *spl_get_filter_6tap_64p(struct spl_fixed31_32 ratio); 16 const uint16_t *spl_get_filter_7tap_64p(struct spl_fixed31_32 ratio); 17 const uint16_t *spl_get_filter_8tap_64p(struct spl_fixed31_32 ratio); 20 const uint16_t *spl_dscl_get_filter_coeffs_64p(int taps, struct spl_fixed31_32 ratio);
|
D | dc_spl_scl_easf_filters.c | 1410 uint16_t *spl_get_easf_filter_3tap_64p(struct spl_fixed31_32 ratio) in spl_get_easf_filter_3tap_64p() 1430 uint16_t *spl_get_easf_filter_4tap_64p(struct spl_fixed31_32 ratio) in spl_get_easf_filter_4tap_64p() 1450 uint16_t *spl_get_easf_filter_6tap_64p(struct spl_fixed31_32 ratio) in spl_get_easf_filter_6tap_64p() 1470 uint16_t *spl_dscl_get_easf_filter_coeffs_64p(int taps, struct spl_fixed31_32 ratio) in spl_dscl_get_easf_filter_coeffs_64p() 1521 static uint32_t spl_easf_get_scale_ratio_to_reg_value(struct spl_fixed31_32 ratio, in spl_easf_get_scale_ratio_to_reg_value() 1549 uint32_t spl_get_v_bf3_mode(struct spl_fixed31_32 ratio) in spl_get_v_bf3_mode() 1558 uint32_t spl_get_h_bf3_mode(struct spl_fixed31_32 ratio) in spl_get_h_bf3_mode() 1567 uint32_t spl_get_reducer_gain6(int taps, struct spl_fixed31_32 ratio) in spl_get_reducer_gain6() 1586 uint32_t spl_get_reducer_gain4(int taps, struct spl_fixed31_32 ratio) in spl_get_reducer_gain4() 1605 uint32_t spl_get_gainRing6(int taps, struct spl_fixed31_32 ratio) in spl_get_gainRing6() [all …]
|
D | dc_spl_scl_filters.c | 1321 const uint16_t *spl_get_filter_3tap_16p(struct spl_fixed31_32 ratio) in spl_get_filter_3tap_16p() 1333 const uint16_t *spl_get_filter_3tap_64p(struct spl_fixed31_32 ratio) in spl_get_filter_3tap_64p() 1345 const uint16_t *spl_get_filter_4tap_16p(struct spl_fixed31_32 ratio) in spl_get_filter_4tap_16p() 1357 const uint16_t *spl_get_filter_4tap_64p(struct spl_fixed31_32 ratio) in spl_get_filter_4tap_64p() 1369 const uint16_t *spl_get_filter_5tap_64p(struct spl_fixed31_32 ratio) in spl_get_filter_5tap_64p() 1381 const uint16_t *spl_get_filter_6tap_64p(struct spl_fixed31_32 ratio) in spl_get_filter_6tap_64p() 1393 const uint16_t *spl_get_filter_7tap_64p(struct spl_fixed31_32 ratio) in spl_get_filter_7tap_64p() 1405 const uint16_t *spl_get_filter_8tap_64p(struct spl_fixed31_32 ratio) in spl_get_filter_8tap_64p() 1427 const uint16_t *spl_dscl_get_filter_coeffs_64p(int taps, struct spl_fixed31_32 ratio) in spl_dscl_get_filter_coeffs_64p()
|
D | dc_spl_types.h | 27 struct spl_fixed31_32 horz; 28 struct spl_fixed31_32 vert; 29 struct spl_fixed31_32 horz_c; 30 struct spl_fixed31_32 vert_c; 33 struct spl_fixed31_32 h; 34 struct spl_fixed31_32 h_c; 35 struct spl_fixed31_32 v; 36 struct spl_fixed31_32 v_c;
|
D | spl_custom_float.c | 8 static bool spl_build_custom_float(struct spl_fixed31_32 value, in spl_build_custom_float() 16 const struct spl_fixed31_32 mantissa_constant_plus_max_fraction = in spl_build_custom_float() 20 struct spl_fixed31_32 mantiss; in spl_build_custom_float() 137 bool spl_convert_to_custom_float_format(struct spl_fixed31_32 value, in spl_convert_to_custom_float_format()
|
D | dc_spl_isharp_filters.c | 553 static unsigned int spl_calculate_sharpness_level_adj(struct spl_fixed31_32 ratio) in spl_calculate_sharpness_level_adj() 556 struct spl_fixed31_32 ratio_level; in spl_calculate_sharpness_level_adj() 591 static unsigned int spl_calculate_sharpness_level(struct spl_fixed31_32 ratio, in spl_calculate_sharpness_level() 659 void spl_build_isharp_1dlut_from_reference_curve(struct spl_fixed31_32 ratio, enum system_setup set… in spl_build_isharp_1dlut_from_reference_curve() 663 struct spl_fixed31_32 sharp_base, sharp_calc, sharp_level; in spl_build_isharp_1dlut_from_reference_curve()
|
D | spl_custom_float.h | 25 struct spl_fixed31_32 value,
|
D | dc_spl.c | 112 struct spl_fixed31_32 temp; in calculate_plane_rec_in_timing_active() 474 struct spl_fixed31_32 ratio, in spl_calculate_init_and_vp() 475 struct spl_fixed31_32 init_adj, in spl_calculate_init_and_vp() 476 struct spl_fixed31_32 *init, in spl_calculate_init_and_vp() 480 struct spl_fixed31_32 temp; in spl_calculate_init_and_vp() 562 struct spl_fixed31_32 init_adj_h = spl_fixpt_zero; in spl_calculate_inits_and_viewports() 563 struct spl_fixed31_32 init_adj_v = spl_fixpt_zero; in spl_calculate_inits_and_viewports() 1094 struct spl_fixed31_32 bot; in spl_set_manual_ratio_init_data() 1178 struct spl_fixed31_32 hdr_mult, c0_mult, c1_mult, c2_mult; in spl_calculate_c0_c3_hdr() 1179 struct spl_fixed31_32 c0_calc, c1_calc, c2_calc; in spl_calculate_c0_c3_hdr() [all …]
|
D | dc_spl_isharp_filters.h | 48 void spl_build_isharp_1dlut_from_reference_curve(struct spl_fixed31_32 ratio, enum system_setup set…
|