Searched refs:video_top (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/ |
H A D | meson_overlay.c | 228 int video_top, video_left, video_width, video_height; in meson_overlay_setup_scaler_params() local 258 video_top = state->crtc_y; in meson_overlay_setup_scaler_params() 268 video_top, video_left, video_width, video_height); in meson_overlay_setup_scaler_params() 285 start = video_top + video_height / 2 - ((h_in << 17) / ratio_y); in meson_overlay_setup_scaler_params() 288 if (video_top < 0 && start < 0) in meson_overlay_setup_scaler_params() 290 else if (start < video_top) in meson_overlay_setup_scaler_params() 291 vd_start_lines = ((video_top - start) * ratio_y) >> 18; in meson_overlay_setup_scaler_params() 295 if (video_top < 0) in meson_overlay_setup_scaler_params() 297 video_top + video_height - 1, in meson_overlay_setup_scaler_params() 301 video_top in meson_overlay_setup_scaler_params() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/meson/ |
H A D | meson_overlay.c | 233 int video_top, video_left, video_width, video_height; in meson_overlay_setup_scaler_params() local 263 video_top = state->crtc_y; in meson_overlay_setup_scaler_params() 273 video_top, video_left, video_width, video_height); in meson_overlay_setup_scaler_params() 290 start = video_top + video_height / 2 - ((h_in << 17) / ratio_y); in meson_overlay_setup_scaler_params() 293 if (video_top < 0 && start < 0) in meson_overlay_setup_scaler_params() 295 else if (start < video_top) in meson_overlay_setup_scaler_params() 296 vd_start_lines = ((video_top - start) * ratio_y) >> 18; in meson_overlay_setup_scaler_params() 300 if (video_top < 0) in meson_overlay_setup_scaler_params() 302 video_top + video_height - 1, in meson_overlay_setup_scaler_params() 306 video_top in meson_overlay_setup_scaler_params() [all...] |
Completed in 2 milliseconds