Searched refs:h_ratio (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/exynos/ |
D | exynos_drm_plane.c | 87 exynos_state->h_ratio = (src_w << 16) / crtc_w; in exynos_plane_mode_set() 96 src_x += ((-crtc_x) * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set() 109 exynos_state->src.w = (actual_w * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set() 217 state->h_ratio == (1 << 15)) in exynos_drm_plane_check_size()
|
D | exynos_drm_scaler.c | 268 u32 val, h_ratio, v_ratio; in scaler_set_hv_ratio() local 271 h_ratio = (src_pos->h << 16) / dst_pos->w; in scaler_set_hv_ratio() 274 h_ratio = (src_pos->w << 16) / dst_pos->w; in scaler_set_hv_ratio() 278 val = SCALER_H_RATIO_SET(h_ratio); in scaler_set_hv_ratio()
|
D | exynos_drm_drv.h | 67 unsigned int h_ratio; member
|
D | exynos_mixer.c | 581 vp_reg_write(ctx, VP_H_RATIO, state->h_ratio); in vp_video_buffer() 645 x_ratio = state->h_ratio == (1 << 15); in mixer_graph_buffer()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calc_auto.c | 46 v->h_ratio[k] = v->viewport_width[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation() 50 v->h_ratio[k] = v->viewport_height[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation() 56 …v->h_ratio[k] =dcn_bw_max2(v->viewport_width[k] / v->scaler_rec_out_width[k], v->viewport_height[k… in scaler_settings_calculation() 59 …v->h_ratio[k] =dcn_bw_max2(v->viewport_height[k] / v->scaler_rec_out_width[k], v->viewport_width[k… in scaler_settings_calculation() 61 v->v_ratio[k] = v->h_ratio[k]; in scaler_settings_calculation() 67 v->h_ratio[k] = v->h_ratio[k] * v->under_scan_factor; in scaler_settings_calculation() 74 if (v->h_ratio[k] > 1.0) { in scaler_settings_calculation() 75 …v->acceptable_quality_hta_ps =dcn_bw_min2(v->max_hscl_taps, 2.0 *dcn_bw_ceil2(v->h_ratio[k], 1.0)); in scaler_settings_calculation() 77 else if (v->h_ratio[k] < 1.0) { in scaler_settings_calculation() 132 …h_ratio[k] > v->max_hscl_ratio || v->v_ratio[k] > v->max_vscl_ratio || v->h_ratio[k] > v->htaps[k]… in mode_support_and_system_configuration() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | dcn_calcs.h | 200 float h_ratio[number_of_planes_minus_one + 1]; member
|
/linux-6.1.9/drivers/media/platform/samsung/s5p-jpeg/ |
D | jpeg-core.c | 1707 int w_ratio, h_ratio, scale_factor, cur_ratio, i; in exynos3250_jpeg_try_downscale() local 1710 h_ratio = ctx->out_q.h / r->height; in exynos3250_jpeg_try_downscale() 1712 scale_factor = max(w_ratio, h_ratio); in exynos3250_jpeg_try_downscale()
|