Home
last modified time | relevance | path

Searched refs:h_ratio (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_plane.c87 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()
H A Dexynos_drm_scaler.c268 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()
H A Dexynos_drm_drv.h67 unsigned int h_ratio; member
H A Dexynos_mixer.c580 vp_reg_write(ctx, VP_H_RATIO, state->h_ratio); in vp_video_buffer()
644 x_ratio = state->h_ratio == (1 << 15); in mixer_graph_buffer()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calc_auto.c46 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()
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()
77 else if (v->h_ratio[k] < 1.0) { in scaler_settings_calculation()
323 if (v->h_ratio[k] > 1.0) { in mode_support_and_system_configuration()
334 if (v->h_ratio[k] / 2.0 > 1.0) { in mode_support_and_system_configuration()
340 ….0, v->h_ratio[k]), v->h_ratio[k] * v->v_ratio[k] / v->pscl_factor[k], v->vta_pschroma[k] / 6.0 *d… in mode_support_and_system_configuration()
1184 if (v->h_ratio[k] > 1.0) { in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Ddcn_calcs.h200 float h_ratio[number_of_planes_minus_one + 1]; member
/openbmc/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c1707 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()