Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/meson/
Dmeson_overlay.c148 int video_top, video_left, video_width, video_height; in meson_overlay_setup_scaler_params() local
175 video_top = state->crtc_y; in meson_overlay_setup_scaler_params()
185 video_top, video_left, video_width, video_height); in meson_overlay_setup_scaler_params()
202 start = video_top + video_height / 2 - ((h_in << 17) / ratio_y); in meson_overlay_setup_scaler_params()
205 if (video_top < 0 && start < 0) in meson_overlay_setup_scaler_params()
207 else if (start < video_top) in meson_overlay_setup_scaler_params()
208 vd_start_lines = ((video_top - start) * ratio_y) >> 18; in meson_overlay_setup_scaler_params()
212 if (video_top < 0) in meson_overlay_setup_scaler_params()
214 video_top + video_height - 1, in meson_overlay_setup_scaler_params()
218 video_top + video_height - 1, in meson_overlay_setup_scaler_params()
[all …]