Home
last modified time | relevance | path

Searched refs:horz (Results 1 – 18 of 18) sorted by relevance

/linux-6.3-rc2/include/drm/
A Ddrm_rect.h169 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale() argument
171 r->x1 /= horz; in drm_rect_downscale()
173 r->x2 /= horz; in drm_rect_downscale()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn201/
A Ddcn201_dpp.c206 if (scl_data->ratios.horz.value == (8ll << 32)) in dpp201_get_optimal_number_of_taps()
207 scl_data->ratios.horz.value--; in dpp201_get_optimal_number_of_taps()
216 if (dc_fixpt_ceil(scl_data->ratios.horz) > 4) in dpp201_get_optimal_number_of_taps()
248 if (IDENTITY_RATIO(scl_data->ratios.horz)) in dpp201_get_optimal_number_of_taps()
/linux-6.3-rc2/drivers/media/platform/ti/omap3isp/
A Dispresizer.c318 rgval |= ((ratio->horz - 1) << ISPRSZ_CNT_HRSZ_SHIFT) in resizer_set_ratio()
325 if (ratio->horz > MID_RESIZE_VALUE) in resizer_set_ratio()
879 ratio->horz = ((input->width - 7) * 256 + 255 - 16 - 32 * sph) in resizer_calc_ratios()
881 if (ratio->horz > MID_RESIZE_VALUE) in resizer_calc_ratios()
882 ratio->horz = ((input->width - 7) * 256 + 255 - 32 - 64 * sph) in resizer_calc_ratios()
884 ratio->horz = clamp_t(unsigned int, ratio->horz, in resizer_calc_ratios()
887 if (ratio->horz <= MID_RESIZE_VALUE) { in resizer_calc_ratios()
888 upscaled_width = (output->width - 1) * ratio->horz in resizer_calc_ratios()
892 upscaled_width = (output->width - 1) * ratio->horz in resizer_calc_ratios()
918 if (res->ratio.horz >= RESIZE_DIVISOR) in resizer_set_crop_params()
A Dispresizer.h60 u32 horz; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dtransform.h142 struct fixed31_32 horz; member
149 int horz; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_dpp_dscl.c139 if (data->ratios.horz.value == one in dpp1_dscl_get_dscl_mode()
152 if (data->ratios.horz.value == one && data->ratios.vert.value == one) in dpp1_dscl_get_dscl_mode()
291 uint32_t h_2tap_sharp_factor = scl_data->sharpness.horz; in dpp1_dscl_set_scl_filter()
321 scl_data->taps.h_taps, scl_data->ratios.horz); in dpp1_dscl_set_scl_filter()
521 SCL_H_SCALE_RATIO, dc_fixpt_u3d19(data->ratios.horz) << 5); in dpp1_dscl_set_manual_ratio_init()
A Ddcn10_dpp.c132 scl_data->ratios.horz.value != dc_fixpt_one.value && in dpp1_get_optimal_number_of_taps()
144 if (scl_data->ratios.horz.value == (4ll << 32)) in dpp1_get_optimal_number_of_taps()
145 scl_data->ratios.horz.value--; in dpp1_get_optimal_number_of_taps()
175 if (IDENTITY_RATIO(scl_data->ratios.horz)) in dpp1_get_optimal_number_of_taps()
A Ddcn10_hw_sequencer.c3426 .h_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.horz, in dcn10_set_cursor_position()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_transform.c286 dc_fixpt_u2d19(data->ratios.horz) << 5; in calculate_inits()
293 data->ratios.horz, in calculate_inits()
318 dc_fixpt_u2d19(data->ratios.horz) << 5; in dce60_calculate_inits()
440 coeffs_h = get_filter_coeffs_16p(data->taps.h_taps, data->ratios.horz); in dce_transform_set_scaler()
525 coeffs_h = get_filter_coeffs_16p(data->taps.h_taps, data->ratios.horz); in dce60_transform_set_scaler()
1195 scl_data->taps.h_taps = decide_taps(scl_data->ratios.horz, in_taps->h_taps, false); in dce_transform_get_optimal_number_of_taps()
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/mdp5/
A Dmdp5_plane.c638 uint32_t src, uint32_t dst, bool horz) in get_scale_config() argument
650 sub = horz ? info->hsub : info->vsub; in get_scale_config()
656 if (horz) in get_scale_config()
671 bool horz) in calc_pixel_ext() argument
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_transform_v.c375 dc_fixpt_u2d19(data->ratios.horz) << 5; in calculate_inits()
560 coeffs_h = get_filter_coeffs_64p(data->taps.h_taps, data->ratios.horz); in dce110_xfmv_set_scaler()
A Ddce110_hw_sequencer.c2877 .h_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.horz, in dce110_set_cursor_position()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/
A Ddc_resource.c791 data->viewport.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz, data->recout.width)); in calculate_viewport_size()
895 pipe_ctx->plane_res.scl_data.ratios.horz = dc_fixpt_from_fraction( in calculate_scaling_ratios()
903 pipe_ctx->plane_res.scl_data.ratios.horz.value *= 2; in calculate_scaling_ratios()
909 pipe_ctx->plane_res.scl_data.ratios.horz.value = div64_s64( in calculate_scaling_ratios()
910 pipe_ctx->plane_res.scl_data.ratios.horz.value * in_w, out_w); in calculate_scaling_ratios()
912 pipe_ctx->plane_res.scl_data.ratios.horz_c = pipe_ctx->plane_res.scl_data.ratios.horz; in calculate_scaling_ratios()
920 pipe_ctx->plane_res.scl_data.ratios.horz = dc_fixpt_truncate( in calculate_scaling_ratios()
921 pipe_ctx->plane_res.scl_data.ratios.horz, 19); in calculate_scaling_ratios()
1048 data->ratios.horz, in calculate_inits_and_viewports()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_dpp.c403 if (dc_fixpt_ceil(scl_data->ratios.horz) > 1) in dpp3_get_optimal_number_of_taps()
404 scl_data->taps.h_taps = min(2 * dc_fixpt_ceil(scl_data->ratios.horz), 8); in dpp3_get_optimal_number_of_taps()
470 if (IDENTITY_RATIO(scl_data->ratios.horz)) in dpp3_get_optimal_number_of_taps()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/calcs/
A Ddcn_calcs.c399 input->scale_ratio_depth.hscl_ratio = pipe->plane_res.scl_data.ratios.horz.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
977 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value in dcn_validate_bandwidth()
982 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value in dcn_validate_bandwidth()
A Ddce_calcs.c2832 …ale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.horz.value); in populate_initial_data()
2889 pipe[i].bottom_pipe->plane_res.scl_data.ratios.horz.value); in populate_initial_data()
2935 …ale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.horz.value); in populate_initial_data()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_resource.c1529 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1543 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1548 sd->ratios.horz, sd->h_active - sd->recout.x)); in dcn20_split_stream_for_odm()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn20/
A Ddcn20_fpu.c1557 pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio = (double) scl->ratios.horz.value / (1ULL<<32); in dcn20_populate_dml_pipes_from_context()
1563 || scl->ratios.horz.value != dc_fixpt_one.value in dcn20_populate_dml_pipes_from_context()

Completed in 90 milliseconds