Lines Matching refs:hd_start_lines
151 unsigned int hd_start_lines, hd_end_lines; in meson_overlay_setup_scaler_params() local
252 hd_start_lines = (-(start) * ratio_x) >> 18; in meson_overlay_setup_scaler_params()
254 hd_start_lines = ((video_left - start) * ratio_x) >> 18; in meson_overlay_setup_scaler_params()
256 hd_start_lines = 0; in meson_overlay_setup_scaler_params()
267 temp = hd_start_lines + (temp_width * ratio_x >> 18); in meson_overlay_setup_scaler_params()
270 priv->viu.vpp_line_in_length = hd_end_lines - hd_start_lines + 1; in meson_overlay_setup_scaler_params()
275 hd_start_lines += crop_top; in meson_overlay_setup_scaler_params()
279 hsc_startp, hsc_endp, hd_start_lines, hd_end_lines); in meson_overlay_setup_scaler_params()
287 priv->viu.vd1_if0_luma_x0 = VD_X_START(hd_start_lines) | in meson_overlay_setup_scaler_params()
289 priv->viu.vd1_if0_chroma_x0 = VD_X_START(hd_start_lines >> 1) | in meson_overlay_setup_scaler_params()
293 VD_H_WIDTH(hd_end_lines - hd_start_lines + 1) | in meson_overlay_setup_scaler_params()
294 VD_V_WIDTH(hd_end_lines/2 - hd_start_lines/2 + 1); in meson_overlay_setup_scaler_params()
306 priv->viu.vpp_blend_vd2_h_start_end = VD_H_START(hd_start_lines) | in meson_overlay_setup_scaler_params()
319 priv->viu.vpp_line_in_length = hd_end_lines - hd_start_lines + 1; in meson_overlay_setup_scaler_params()
320 priv->viu.vpp_preblend_h_size = hd_end_lines - hd_start_lines + 1; in meson_overlay_setup_scaler_params()