Home
last modified time | relevance | path

Searched refs:fixed31_32 (Results 1 - 25 of 107) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/
H A Dfixed31_32.h57 struct fixed31_32 { struct
67 static const struct fixed31_32 dc_fixpt_zero = { 0 };
68 static const struct fixed31_32 dc_fixpt_epsilon = { 1LL };
69 static const struct fixed31_32 dc_fixpt_half = { 0x80000000LL };
70 static const struct fixed31_32 dc_fixpt_one = { 0x100000000LL };
72 static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
73 static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
74 static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
75 static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
76 static const struct fixed31_32 dc_fixpt_ln2_div_
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/include/
H A Dfixed31_32.h57 struct fixed31_32 { struct
67 static const struct fixed31_32 dc_fixpt_zero = { 0 };
68 static const struct fixed31_32 dc_fixpt_epsilon = { 1LL };
69 static const struct fixed31_32 dc_fixpt_half = { 0x80000000LL };
70 static const struct fixed31_32 dc_fixpt_one = { 0x100000000LL };
81 struct fixed31_32 dc_fixpt_from_fraction(long long numerator, long long denominator);
87 static inline struct fixed31_32 dc_fixpt_from_int(int arg) in dc_fixpt_from_int()
89 struct fixed31_32 res; in dc_fixpt_from_int()
105 static inline struct fixed31_32 dc_fixpt_neg(struct fixed31_32 ar
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/basics/
H A Dfixpt31_32.c27 #include "include/fixed31_32.h"
29 static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
30 static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
31 static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
71 struct fixed31_32 dc_fixpt_from_fraction(long long numerator, long long denominator) in dc_fixpt_from_fraction()
73 struct fixed31_32 res; in dc_fixpt_from_fraction()
123 struct fixed31_32 dc_fixpt_mul(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_mul()
125 struct fixed31_32 re in dc_fixpt_mul()
[all...]
H A Dconversion.c36 struct fixed31_32 arg, in fixed_point_to_int_frac()
81 struct fixed31_32 *flt, in convert_float_matrix()
84 const struct fixed31_32 min_2_13 = in convert_float_matrix()
86 const struct fixed31_32 max_2_13 = in convert_float_matrix()
H A Dconversion.h29 #include "include/fixed31_32.h"
32 struct fixed31_32 arg,
38 struct fixed31_32 *flt,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/basics/
H A Dfixpt31_32.c27 #include "include/fixed31_32.h"
67 struct fixed31_32 dc_fixpt_from_fraction(long long numerator, long long denominator) in dc_fixpt_from_fraction()
69 struct fixed31_32 res; in dc_fixpt_from_fraction()
119 struct fixed31_32 dc_fixpt_mul(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_mul()
121 struct fixed31_32 res; in dc_fixpt_mul()
170 struct fixed31_32 dc_fixpt_sqr(struct fixed31_32 arg) in dc_fixpt_sqr()
172 struct fixed31_32 re in dc_fixpt_sqr()
[all...]
H A Dconversion.c35 struct fixed31_32 arg, in fixed_point_to_int_frac()
83 struct fixed31_32 *flt, in convert_float_matrix()
86 const struct fixed31_32 min_2_13 = in convert_float_matrix()
88 const struct fixed31_32 max_2_13 = in convert_float_matrix()
H A Dconversion.h29 #include "include/fixed31_32.h"
32 struct fixed31_32 arg,
38 struct fixed31_32 *flt,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dopp.h34 struct fixed31_32;
118 struct fixed31_32 r;
119 struct fixed31_32 g;
120 struct fixed31_32 b;
144 struct fixed31_32 x;
145 struct fixed31_32 regamma_y_red;
146 struct fixed31_32 regamma_y_green;
147 struct fixed31_32 regamma_y_blue;
152 struct fixed31_32 r;
153 struct fixed31_32
[all...]
H A Dtransform.h31 #include "fixed31_32.h"
130 struct fixed31_32 temperature_matrix[CSC_TEMPERATURE_MATRIX_SIZE];
142 struct fixed31_32 horz;
143 struct fixed31_32 vert;
144 struct fixed31_32 horz_c;
145 struct fixed31_32 vert_c;
162 struct fixed31_32 h;
163 struct fixed31_32 h_c;
164 struct fixed31_32 v;
165 struct fixed31_32 v_bo
[all...]
H A Dhw_shared.h30 #include "fixed31_32.h"
47 struct fixed31_32 x;
48 struct fixed31_32 y;
49 struct fixed31_32 offset;
50 struct fixed31_32 slope;
65 struct fixed31_32 red;
66 struct fixed31_32 green;
67 struct fixed31_32 blue;
69 struct fixed31_32 delta_red;
70 struct fixed31_32 delta_gree
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dopp.h34 struct fixed31_32;
118 struct fixed31_32 r;
119 struct fixed31_32 g;
120 struct fixed31_32 b;
144 struct fixed31_32 x;
145 struct fixed31_32 regamma_y_red;
146 struct fixed31_32 regamma_y_green;
147 struct fixed31_32 regamma_y_blue;
152 struct fixed31_32 r;
153 struct fixed31_32
[all...]
H A Dtransform.h31 #include "fixed31_32.h"
130 struct fixed31_32 temperature_matrix[CSC_TEMPERATURE_MATRIX_SIZE];
142 struct fixed31_32 horz;
143 struct fixed31_32 vert;
144 struct fixed31_32 horz_c;
145 struct fixed31_32 vert_c;
162 struct fixed31_32 h;
163 struct fixed31_32 h_c;
164 struct fixed31_32 v;
165 struct fixed31_32 v_
[all...]
H A Dhw_shared.h30 #include "fixed31_32.h"
57 struct fixed31_32 x;
58 struct fixed31_32 y;
59 struct fixed31_32 offset;
60 struct fixed31_32 slope;
75 struct fixed31_32 red;
76 struct fixed31_32 green;
77 struct fixed31_32 blue;
79 struct fixed31_32 delta_red;
80 struct fixed31_32 delta_gree
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c69 struct fixed31_32 region_size = dc_fixpt_from_int(128); in setup_x_points_distribution()
73 struct fixed31_32 increment; in setup_x_points_distribution()
106 static void compute_pq(struct fixed31_32 in_x, struct fixed31_32 *out_y) in compute_pq()
109 const struct fixed31_32 m1 = in compute_pq()
111 const struct fixed31_32 m2 = in compute_pq()
113 const struct fixed31_32 c1 = in compute_pq()
115 const struct fixed31_32 c2 = in compute_pq()
117 const struct fixed31_32 c3 = in compute_pq()
120 struct fixed31_32 l_pow_m in compute_pq()
[all...]
H A Dcolor_gamma.h90 struct fixed31_32 buffer[NUM_PTS_IN_REGION];
91 struct fixed31_32 gamma_of_2;
95 struct fixed31_32 arg;
96 struct fixed31_32 a0;
97 struct fixed31_32 a1;
98 struct fixed31_32 a2;
99 struct fixed31_32 a3;
100 struct fixed31_32 gamma;
H A Dcolor_table.c28 static struct fixed31_32 pq_table[MAX_HW_POINTS + 2];
29 static struct fixed31_32 de_pq_table[MAX_HW_POINTS + 2];
45 struct fixed31_32 *mod_color_get_table(enum table_type type) in mod_color_get_table()
47 struct fixed31_32 *table = NULL; in mod_color_get_table()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c59 struct fixed31_32 region_size = dc_fixpt_from_int(128); in setup_x_points_distribution()
63 struct fixed31_32 increment; in setup_x_points_distribution()
96 static void compute_pq(struct fixed31_32 in_x, struct fixed31_32 *out_y) in compute_pq()
99 const struct fixed31_32 m1 = in compute_pq()
101 const struct fixed31_32 m2 = in compute_pq()
103 const struct fixed31_32 c1 = in compute_pq()
105 const struct fixed31_32 c2 = in compute_pq()
107 const struct fixed31_32 c3 = in compute_pq()
110 struct fixed31_32 l_pow_m in compute_pq()
[all...]
H A Dcolor_gamma.h90 struct fixed31_32 buffer[NUM_PTS_IN_REGION];
91 struct fixed31_32 gamma_of_2;
95 struct fixed31_32 arg;
96 struct fixed31_32 a0;
97 struct fixed31_32 a1;
98 struct fixed31_32 a2;
99 struct fixed31_32 a3;
100 struct fixed31_32 gamma;
H A Dcolor_table.c12 static struct fixed31_32 pq_table[MAX_HW_POINTS + 2];
13 static struct fixed31_32 de_pq_table[MAX_HW_POINTS + 2];
29 struct fixed31_32 *mod_color_get_table(enum table_type type) in mod_color_get_table()
31 struct fixed31_32 *table = NULL; in mod_color_get_table()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_dwb_scl.c27 #include "fixed31_32.h"
530 const uint16_t *wbscl_get_filter_3tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_3tap_16p()
542 const uint16_t *wbscl_get_filter_4tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_4tap_16p()
554 static const uint16_t *wbscl_get_filter_5tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_5tap_16p()
566 static const uint16_t *wbscl_get_filter_6tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_6tap_16p()
578 static const uint16_t *wbscl_get_filter_7tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_7tap_16p()
590 static const uint16_t *wbscl_get_filter_8tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_8tap_16p()
602 static const uint16_t *wbscl_get_filter_9tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_9tap_16p()
613 static const uint16_t *wbscl_get_filter_10tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_10tap_16p()
625 static const uint16_t *wbscl_get_filter_11tap_16p(struct fixed31_32 rati
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_dwb_scl.c27 #include "fixed31_32.h"
530 static const uint16_t *wbscl_get_filter_3tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_3tap_16p()
542 static const uint16_t *wbscl_get_filter_4tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_4tap_16p()
554 static const uint16_t *wbscl_get_filter_5tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_5tap_16p()
566 static const uint16_t *wbscl_get_filter_6tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_6tap_16p()
578 static const uint16_t *wbscl_get_filter_7tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_7tap_16p()
590 static const uint16_t *wbscl_get_filter_8tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_8tap_16p()
602 static const uint16_t *wbscl_get_filter_9tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_9tap_16p()
613 static const uint16_t *wbscl_get_filter_10tap_16p(struct fixed31_32 ratio) in wbscl_get_filter_10tap_16p()
625 static const uint16_t *wbscl_get_filter_11tap_16p(struct fixed31_32 rati
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/hwss/
H A Dlink_hwss_hpo_dp.h32 struct fixed31_32 throttled_vcp_size);
35 struct fixed31_32 throttled_vcp_size);
38 struct fixed31_32 throttled_vcp_size);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
H A Dcustom_float.c30 struct fixed31_32 value, in build_custom_float()
38 const struct fixed31_32 mantissa_constant_plus_max_fraction = in build_custom_float()
43 struct fixed31_32 mantiss; in build_custom_float()
183 struct fixed31_32 value, in convert_to_custom_float_format()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Dcustom_float.c30 struct fixed31_32 value, in build_custom_float()
38 const struct fixed31_32 mantissa_constant_plus_max_fraction = in build_custom_float()
43 struct fixed31_32 mantiss; in build_custom_float()
183 struct fixed31_32 value, in convert_to_custom_float_format()

Completed in 14 milliseconds

12345