Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/meson/
Dmeson_overlay.c233 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()
[all …]