Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/meson/
Dmeson_overlay.c228 int video_top, video_left, video_width, video_height; in meson_overlay_setup_scaler_params() local
259 video_left = state->crtc_x; in meson_overlay_setup_scaler_params()
268 video_top, video_left, video_width, video_height); in meson_overlay_setup_scaler_params()
339 start = video_left + video_width / 2 - ((w_in << 17) / ratio_x); in meson_overlay_setup_scaler_params()
342 if (video_left < 0 && start < 0) in meson_overlay_setup_scaler_params()
344 else if (start < video_left) in meson_overlay_setup_scaler_params()
345 hd_start_lines = ((video_left - start) * ratio_x) >> 18; in meson_overlay_setup_scaler_params()
349 if (video_left < 0) in meson_overlay_setup_scaler_params()
351 video_left + video_width - 1, in meson_overlay_setup_scaler_params()
355 video_left + video_width - 1, in meson_overlay_setup_scaler_params()
[all …]