Searched refs:ratio_y (Results 1 – 1 of 1) sorted by relevance
200 static void meson_overlay_get_vertical_phase(unsigned int ratio_y, int *phase, in meson_overlay_get_vertical_phase() argument207 if (!interlace && ratio_y > (1 << 18)) in meson_overlay_get_vertical_phase()208 offset_out = (1 * ratio_y) >> 10; in meson_overlay_get_vertical_phase()242 unsigned int ratio_x, ratio_y; in meson_overlay_setup_scaler_params() local276 ratio_y = (h_in << 18) / video_height; in meson_overlay_setup_scaler_params()281 DRM_DEBUG("ratio x 0x%x y 0x%x\n", ratio_x, ratio_y); in meson_overlay_setup_scaler_params()283 meson_overlay_get_vertical_phase(ratio_y, &vphase, &vphase_repeat_skip, in meson_overlay_setup_scaler_params()290 start = video_top + video_height / 2 - ((h_in << 17) / ratio_y); in meson_overlay_setup_scaler_params()291 end = (h_in << 18) / ratio_y + start - 1; in meson_overlay_setup_scaler_params()294 vd_start_lines = (-(start) * ratio_y) >> 18; in meson_overlay_setup_scaler_params()[all …]