Lines Matching refs:video_left
233 int video_top, video_left, video_width, video_height; in meson_overlay_setup_scaler_params() local
264 video_left = state->crtc_x; in meson_overlay_setup_scaler_params()
273 video_top, video_left, video_width, video_height); in meson_overlay_setup_scaler_params()
344 start = video_left + video_width / 2 - ((w_in << 17) / ratio_x); in meson_overlay_setup_scaler_params()
347 if (video_left < 0 && start < 0) in meson_overlay_setup_scaler_params()
349 else if (start < video_left) in meson_overlay_setup_scaler_params()
350 hd_start_lines = ((video_left - start) * ratio_x) >> 18; in meson_overlay_setup_scaler_params()
354 if (video_left < 0) in meson_overlay_setup_scaler_params()
356 video_left + video_width - 1, in meson_overlay_setup_scaler_params()
360 video_left + video_width - 1, in meson_overlay_setup_scaler_params()
361 crtc_width - 1) - video_left + 1; in meson_overlay_setup_scaler_params()
367 hsc_startp = max_t(int, start, max_t(int, 0, video_left)); in meson_overlay_setup_scaler_params()
369 video_left + video_width - 1)); in meson_overlay_setup_scaler_params()