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

/linux-master/drivers/gpu/drm/exynos/
H A Dexynos_drm_plane.c87 exynos_state->h_ratio = (src_w << 16) / crtc_w;
96 src_x += ((-crtc_x) * exynos_state->h_ratio) >> 16;
109 exynos_state->src.w = (actual_w * exynos_state->h_ratio) >> 16;
217 state->h_ratio == (1 << 15))
H A Dexynos_drm_drv.h56 * @h_ratio: horizontal scaling ratio, 16.16 fixed point
67 unsigned int h_ratio; member in struct:exynos_drm_plane_state
H A Dexynos_drm_scaler.c268 u32 val, h_ratio, v_ratio; local
271 h_ratio = (src_pos->h << 16) / dst_pos->w;
274 h_ratio = (src_pos->w << 16) / dst_pos->w;
278 val = SCALER_H_RATIO_SET(h_ratio);
H A Dexynos_mixer.c580 vp_reg_write(ctx, VP_H_RATIO, state->h_ratio);
644 x_ratio = state->h_ratio == (1 << 15);
/linux-master/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];
50 v->h_ratio[k] = v->viewport_height[k] / v->scaler_rec_out_width[k];
56 v->h_ratio[k] =dcn_bw_max2(v->viewport_width[k] / v->scaler_rec_out_width[k], v->viewport_height[k] / v->scaler_recout_height[k]);
59 v->h_ratio[k] =dcn_bw_max2(v->viewport_height[k] / v->scaler_rec_out_width[k], v->viewport_width[k] / v->scaler_recout_height[k]);
61 v->v_ratio[k] = v->h_ratio[k];
67 v->h_ratio[k] = v->h_ratio[k] * v->under_scan_factor;
74 if (v->h_ratio[k] > 1.0) {
75 v->acceptable_quality_hta_ps =dcn_bw_min2(v->max_hscl_taps, 2.0 *dcn_bw_ceil2(v->h_ratio[k], 1.0));
77 else if (v->h_ratio[
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/inc/
H A Ddcn_calcs.h200 float h_ratio[number_of_planes_minus_one + 1]; member in struct:dcn_bw_internal_vars
/linux-master/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c1707 int w_ratio, h_ratio, scale_factor, cur_ratio, i; local
1710 h_ratio = ctx->out_q.h / r->height;
1712 scale_factor = max(w_ratio, h_ratio);

Completed in 202 milliseconds