Searched refs:dc_fixpt_add (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 78 coordinates_x[index].x = dc_fixpt_add in setup_x_points_distribution() 118 dc_fixpt_add(c1, in compute_pq() 120 dc_fixpt_add(dc_fixpt_one, in compute_pq() 189 x = dc_fixpt_add(x, b); in compute_hlg_eotf() 223 *out_y = dc_fixpt_add(x, c); in compute_hlg_oetf() 335 scratch_1 = dc_fixpt_add(one, args->a3); in translate_from_linear_space() 348 scratch_1 = dc_fixpt_add(one, args->a3); in translate_from_linear_space() 383 dc_fixpt_add( in translate_from_linear_space_long() 392 dc_fixpt_add( in translate_from_linear_space_long() 442 dc_fixpt_add( in translate_to_linear_space() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/basics/ |
D | fixpt31_32.c | 319 res = dc_fixpt_add( in fixed31_32_exp_from_taylor_series() 328 return dc_fixpt_add( in fixed31_32_exp_from_taylor_series() 390 struct fixed31_32 res1 = dc_fixpt_add( in dc_fixpt_log()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 251 static inline struct fixed31_32 dc_fixpt_add(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_add() function 269 return dc_fixpt_add(arg1, dc_fixpt_from_int(arg2)); in dc_fixpt_add_int()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dwb_scl.c | 770 tmp_h_init_phase_chroma = dc_fixpt_add(tmp_h_init_phase_chroma, dc_fixpt_from_fraction(1, 4)); in dwb_program_horz_scalar() 849 tmp_v_init_phase_chroma = dc_fixpt_add(tmp_v_init_phase_chroma, dc_fixpt_from_fraction(1, 4)); in dwb_program_vert_scalar()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_cm_common.c | 474 rgb_plus_1->red = dc_fixpt_add(rgb->red, rgb_minus_1->delta_red); in cm_helper_translate_curve_to_hw_format() 476 rgb_plus_1->green = dc_fixpt_add(rgb->green, rgb_minus_1->delta_green); in cm_helper_translate_curve_to_hw_format() 478 rgb_plus_1->blue = dc_fixpt_add(rgb->blue, rgb_minus_1->delta_blue); in cm_helper_translate_curve_to_hw_format()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_cm_common.c | 274 rgb_plus_1->red = dc_fixpt_add(rgb->red, rgb_minus_1->delta_red); in cm3_helper_translate_curve_to_hw_format() 276 rgb_plus_1->green = dc_fixpt_add(rgb->green, rgb_minus_1->delta_green); in cm3_helper_translate_curve_to_hw_format() 278 rgb_plus_1->blue = dc_fixpt_add(rgb->blue, rgb_minus_1->delta_blue); in cm3_helper_translate_curve_to_hw_format()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 292 dc_fixpt_add( in calculate_inits() 301 dc_fixpt_add( in calculate_inits() 330 dc_fixpt_add( in dce60_calculate_inits()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 909 *init = dc_fixpt_add(*init, dc_fixpt_mul_int(ratio, recout_skip)); in adjust_vp_and_init_for_seamless_clip() 944 *init = dc_fixpt_add(*init, dc_fixpt_mul_int(ratio, recout_skip)); in adjust_vp_and_init_for_seamless_clip() 1034 data->inits.h_c = dc_fixpt_truncate(dc_fixpt_add(data->inits.h_c, dc_fixpt_div_int( in calculate_inits_and_adj_vp() 1040 data->inits.v_c = dc_fixpt_truncate(dc_fixpt_add(data->inits.v_c, dc_fixpt_div_int( in calculate_inits_and_adj_vp() 1085 data->inits.v_bot = dc_fixpt_add(data->inits.v, data->ratios.vert); in calculate_inits_and_adj_vp() 1086 data->inits.v_c_bot = dc_fixpt_add(data->inits.v_c, data->ratios.vert_c); in calculate_inits_and_adj_vp()
|