Lines Matching refs:hd_start_lines
236 unsigned int hd_start_lines, hd_end_lines; in meson_overlay_setup_scaler_params() local
348 hd_start_lines = (-(start) * ratio_x) >> 18; in meson_overlay_setup_scaler_params()
350 hd_start_lines = ((video_left - start) * ratio_x) >> 18; in meson_overlay_setup_scaler_params()
352 hd_start_lines = 0; in meson_overlay_setup_scaler_params()
363 temp = hd_start_lines + (temp_width * ratio_x >> 18); in meson_overlay_setup_scaler_params()
366 priv->viu.vpp_line_in_length = hd_end_lines - hd_start_lines + 1; in meson_overlay_setup_scaler_params()
371 hd_start_lines += crop_top; in meson_overlay_setup_scaler_params()
375 hsc_startp, hsc_endp, hd_start_lines, hd_end_lines); in meson_overlay_setup_scaler_params()
377 if (hd_start_lines > 0 || (hd_end_lines < w_in)) { in meson_overlay_setup_scaler_params()
381 afbc_left = round_down(hd_start_lines, 32); in meson_overlay_setup_scaler_params()
393 priv->viu.vd1_if0_luma_x0 = VD_X_START(hd_start_lines) | in meson_overlay_setup_scaler_params()
395 priv->viu.vd1_if0_chroma_x0 = VD_X_START(hd_start_lines >> 1) | in meson_overlay_setup_scaler_params()
399 VD_H_WIDTH(hd_end_lines - hd_start_lines + 1) | in meson_overlay_setup_scaler_params()
400 VD_V_WIDTH(hd_end_lines/2 - hd_start_lines/2 + 1); in meson_overlay_setup_scaler_params()
420 AFBC_DEC_PIXEL_BGN_H(hd_start_lines - afbc_left) | in meson_overlay_setup_scaler_params()
441 priv->viu.vpp_blend_vd2_h_start_end = VD_H_START(hd_start_lines) | in meson_overlay_setup_scaler_params()
454 priv->viu.vpp_line_in_length = hd_end_lines - hd_start_lines + 1; in meson_overlay_setup_scaler_params()
455 priv->viu.vpp_preblend_h_size = hd_end_lines - hd_start_lines + 1; in meson_overlay_setup_scaler_params()