Searched refs:ratio_y (Results 1 – 1 of 1) sorted by relevance
195 static void meson_overlay_get_vertical_phase(unsigned int ratio_y, int *phase, in meson_overlay_get_vertical_phase() argument202 if (!interlace && ratio_y > (1 << 18)) in meson_overlay_get_vertical_phase()203 offset_out = (1 * ratio_y) >> 10; in meson_overlay_get_vertical_phase()237 unsigned int ratio_x, ratio_y; in meson_overlay_setup_scaler_params() local271 ratio_y = (h_in << 18) / video_height; in meson_overlay_setup_scaler_params()276 DRM_DEBUG("ratio x 0x%x y 0x%x\n", ratio_x, ratio_y); in meson_overlay_setup_scaler_params()278 meson_overlay_get_vertical_phase(ratio_y, &vphase, &vphase_repeat_skip, in meson_overlay_setup_scaler_params()285 start = video_top + video_height / 2 - ((h_in << 17) / ratio_y); in meson_overlay_setup_scaler_params()286 end = (h_in << 18) / ratio_y + start - 1; in meson_overlay_setup_scaler_params()289 vd_start_lines = (-(start) * ratio_y) >> 18; in meson_overlay_setup_scaler_params()[all …]