Home
last modified time | relevance | path

Searched refs:fixed31_32 (Results 1 – 25 of 54) sorted by relevance

123

/linux/drivers/gpu/drm/amd/display/include/
A Dfixed31_32.h162 static inline struct fixed31_32 dc_fixpt_min(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_min()
174 static inline struct fixed31_32 dc_fixpt_max(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_max()
245 static inline struct fixed31_32 dc_fixpt_add(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_add()
270 static inline struct fixed31_32 dc_fixpt_sub(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_sub()
301 struct fixed31_32 dc_fixpt_mul(struct fixed31_32 arg1, struct fixed31_32 arg2);
317 struct fixed31_32 dc_fixpt_sqr(struct fixed31_32 arg);
332 static inline struct fixed31_32 dc_fixpt_div(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_div()
374 struct fixed31_32 dc_fixpt_sin(struct fixed31_32 arg);
386 struct fixed31_32 dc_fixpt_cos(struct fixed31_32 arg);
400 struct fixed31_32 dc_fixpt_exp(struct fixed31_32 arg);
[all …]
/linux/drivers/gpu/drm/amd/display/dc/basics/
A Dfixpt31_32.c73 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 res; in dc_fixpt_mul()
174 struct fixed31_32 dc_fixpt_sqr(struct fixed31_32 arg) in dc_fixpt_sqr()
176 struct fixed31_32 res; in dc_fixpt_sqr()
214 struct fixed31_32 dc_fixpt_recip(struct fixed31_32 arg) in dc_fixpt_recip()
228 struct fixed31_32 dc_fixpt_sinc(struct fixed31_32 arg) in dc_fixpt_sinc()
272 struct fixed31_32 dc_fixpt_sin(struct fixed31_32 arg) in dc_fixpt_sin()
279 struct fixed31_32 dc_fixpt_cos(struct fixed31_32 arg) in dc_fixpt_cos()
339 struct fixed31_32 dc_fixpt_exp(struct fixed31_32 arg) in dc_fixpt_exp()
[all …]
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()
A Dconversion.h32 struct fixed31_32 arg,
38 struct fixed31_32 *flt,
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
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;
152 struct fixed31_32 r;
153 struct fixed31_32 g;
154 struct fixed31_32 b;
193 struct fixed31_32 r;
194 struct fixed31_32 g;
[all …]
A Dtransform.h142 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_c;
266 const uint16_t *get_filter_3tap_16p(struct fixed31_32 ratio);
267 const uint16_t *get_filter_3tap_64p(struct fixed31_32 ratio);
[all …]
A Dhw_shared.h52 struct fixed31_32 x;
53 struct fixed31_32 y;
54 struct fixed31_32 offset;
55 struct fixed31_32 slope;
70 struct fixed31_32 red;
71 struct fixed31_32 green;
72 struct fixed31_32 blue;
74 struct fixed31_32 delta_red;
75 struct fixed31_32 delta_green;
76 struct fixed31_32 delta_blue;
/linux/drivers/gpu/drm/amd/display/modules/color/
A Dcolor_gamma.c109 static void compute_pq(struct fixed31_32 in_x, struct fixed31_32 *out_y) in compute_pq()
138 static void compute_de_pq(struct fixed31_32 in_x, struct fixed31_32 *out_y) in compute_de_pq()
182 struct fixed31_32 a; in compute_hlg_eotf()
183 struct fixed31_32 b; in compute_hlg_eotf()
184 struct fixed31_32 c; in compute_hlg_eotf()
186 struct fixed31_32 x; in compute_hlg_eotf()
213 struct fixed31_32 a; in compute_hlg_oetf()
214 struct fixed31_32 b; in compute_hlg_oetf()
215 struct fixed31_32 c; in compute_hlg_oetf()
217 struct fixed31_32 x; in compute_hlg_oetf()
[all …]
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;
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()
A Dcolor_table.h43 struct fixed31_32 *mod_color_get_table(enum table_type type);
/linux/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_dwb_scl.c530 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()
737 struct fixed31_32 tmp_h_init_phase_luma = dc_fixpt_from_int(0); in dwb_program_horz_scalar()
738 struct fixed31_32 tmp_h_init_phase_chroma = dc_fixpt_from_int(0); in dwb_program_horz_scalar()
742 struct fixed31_32 tmp_h_ratio_luma = dc_fixpt_from_fraction( in dwb_program_horz_scalar()
816 struct fixed31_32 tmp_v_init_phase_luma = dc_fixpt_from_int(0); in dwb_program_vert_scalar()
817 struct fixed31_32 tmp_v_init_phase_chroma = dc_fixpt_from_int(0); in dwb_program_vert_scalar()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_scl_filters.c1341 const uint16_t *get_filter_3tap_16p(struct fixed31_32 ratio) in get_filter_3tap_16p()
1353 const uint16_t *get_filter_3tap_64p(struct fixed31_32 ratio) in get_filter_3tap_64p()
1365 const uint16_t *get_filter_4tap_16p(struct fixed31_32 ratio) in get_filter_4tap_16p()
1377 const uint16_t *get_filter_4tap_64p(struct fixed31_32 ratio) in get_filter_4tap_64p()
1389 const uint16_t *get_filter_5tap_64p(struct fixed31_32 ratio) in get_filter_5tap_64p()
1401 const uint16_t *get_filter_6tap_64p(struct fixed31_32 ratio) in get_filter_6tap_64p()
1413 const uint16_t *get_filter_7tap_64p(struct fixed31_32 ratio) in get_filter_7tap_64p()
1425 const uint16_t *get_filter_8tap_64p(struct fixed31_32 ratio) in get_filter_8tap_64p()
A Ddce_transform.c282 struct fixed31_32 h_init; in calculate_inits()
283 struct fixed31_32 v_init; in calculate_inits()
315 struct fixed31_32 v_init; in dce60_calculate_inits()
391 static const uint16_t *get_filter_coeffs_16p(int taps, struct fixed31_32 ratio) in get_filter_coeffs_16p()
1129 struct fixed31_32 arr_matrix[GAMUT_MATRIX_SIZE]; in dce_transform_set_gamut_remap()
1142 static uint32_t decide_taps(struct fixed31_32 ratio, uint32_t in_taps, bool chroma) in decide_taps()
A Ddce_clock_source.c650 struct fixed31_32 fb_div; in calculate_ss()
651 struct fixed31_32 ss_amount; in calculate_ss()
652 struct fixed31_32 ss_nslip_amount; in calculate_ss()
653 struct fixed31_32 ss_ds_frac_amount; in calculate_ss()
654 struct fixed31_32 ss_step_size; in calculate_ss()
655 struct fixed31_32 modulation_time; in calculate_ss()
/linux/drivers/gpu/drm/amd/display/dc/calcs/
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()
/linux/drivers/gpu/drm/amd/display/dc/
A Ddc_hw_types.h423 struct fixed31_32 h_scale_ratio;
424 struct fixed31_32 v_scale_ratio;
452 struct fixed31_32 red;
453 struct fixed31_32 green;
454 struct fixed31_32 blue;
463 struct fixed31_32 red[GAMMA_MAX_ENTRIES];
464 struct fixed31_32 green[GAMMA_MAX_ENTRIES];
465 struct fixed31_32 blue[GAMMA_MAX_ENTRIES];
A Ddc_types.h365 struct fixed31_32 contrast;
366 struct fixed31_32 saturation;
367 struct fixed31_32 brightness;
368 struct fixed31_32 hue;
467 struct fixed31_32 temperature_matrix[12];
785 struct fixed31_32 matrix[12];
A Ddc.h847 struct fixed31_32 red[TRANSFER_FUNC_POINTS];
848 struct fixed31_32 green[TRANSFER_FUNC_POINTS];
849 struct fixed31_32 blue[TRANSFER_FUNC_POINTS];
901 struct fixed31_32 hdr_multiplier;
971 struct fixed31_32 coeff_reduction_factor;
972 struct fixed31_32 hdr_mult;
1047 struct fixed31_32 hdr_mult;
1055 const struct fixed31_32 *coeff_reduction_factor;
/linux/drivers/gpu/drm/amd/display/dc/dsc/
A Ddc_dsc.c475 struct fixed31_32 effective_bandwidth_in_kbps; in compute_bpp_x16_from_target_bandwidth()
476 struct fixed31_32 bpp_x16; in compute_bpp_x16_from_target_bandwidth()
971 struct fixed31_32 bpp; in dc_dsc_stream_bandwidth_in_kbps()
972 struct fixed31_32 actual_bandwidth_in_kbps; in dc_dsc_stream_bandwidth_in_kbps()
988 struct fixed31_32 max_dsc_overhead; in dc_dsc_stream_bandwidth_overhead_in_kbps()
989 struct fixed31_32 refresh_rate; in dc_dsc_stream_bandwidth_overhead_in_kbps()
/linux/drivers/gpu/drm/amd/display/dc/inc/
A Dcustom_float.h35 struct fixed31_32 value,
/linux/drivers/gpu/drm/amd/display/dc/core/
A Ddc_link.c3229 struct fixed31_32 mbytes_per_sec; in get_pbn_per_slot()
3241 struct fixed31_32 peak_kbps; in get_pbn_from_bw_in_kbps()
3360 struct fixed31_32 avg_time_slots_per_mtp; in dc_link_update_sst_payload()
3443 struct fixed31_32 avg_time_slots_per_mtp; in dc_link_allocate_mst_payload()
3444 struct fixed31_32 pbn; in dc_link_allocate_mst_payload()
3445 struct fixed31_32 pbn_per_slot; in dc_link_allocate_mst_payload()
3608 struct fixed31_32 avg_time_slots_per_mtp; in dc_link_reduce_mst_payload()
3609 struct fixed31_32 pbn; in dc_link_reduce_mst_payload()
3610 struct fixed31_32 pbn_per_slot; in dc_link_reduce_mst_payload()
3689 struct fixed31_32 pbn; in dc_link_increase_mst_payload()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/virtual/
A Dvirtual_stream_encoder.c51 struct fixed31_32 avg_time_slots_per_mtp) in virtual_stream_encoder_set_throttled_vcp_size()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
A Ddce_clk_mgr.c117 struct fixed31_32 ss_percentage = dc_fixpt_div_int( in dce_adjust_dp_ref_freq_for_ss()
120 struct fixed31_32 adj_dp_ref_clk_khz; in dce_adjust_dp_ref_freq_for_ss()
/linux/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_dpp_dscl.c260 static const uint16_t *dpp1_dscl_get_filter_coeffs_64p(int taps, struct fixed31_32 ratio) in dpp1_dscl_get_filter_coeffs_64p()
647 struct fixed31_32 bot = dc_fixpt_add(data->inits.v, data->ratios.vert); in dpp1_dscl_set_manual_ratio_init()
663 struct fixed31_32 bot = dc_fixpt_add(data->inits.v_c, data->ratios.vert_c); in dpp1_dscl_set_manual_ratio_init()

Completed in 63 milliseconds

123