Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/meson/
Dmeson_overlay.c244 unsigned int w_in, h_in; in meson_overlay_setup_scaler_params() local
258 w_in = fixed16_to_int(state->src_w); in meson_overlay_setup_scaler_params()
271 w_in, h_in, crop_top, crop_left); in meson_overlay_setup_scaler_params()
275 ratio_x = (w_in << 18) / video_width; in meson_overlay_setup_scaler_params()
278 if (ratio_x * video_width < (w_in << 18)) in meson_overlay_setup_scaler_params()
344 start = video_left + video_width / 2 - ((w_in << 17) / ratio_x); in meson_overlay_setup_scaler_params()
345 end = (w_in << 18) / ratio_x + start - 1; in meson_overlay_setup_scaler_params()
364 hd_end_lines = (temp <= (w_in - 1)) ? temp : (w_in - 1); in meson_overlay_setup_scaler_params()
377 if (hd_start_lines > 0 || (hd_end_lines < w_in)) { in meson_overlay_setup_scaler_params()
379 afbc_right = round_up(w_in, 32); in meson_overlay_setup_scaler_params()