Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/rockchip/
Drockchip_drm_vop2.c710 uint16_t cbcr_src_h = src_h; in vop2_setup_scale() local
769 cbcr_src_h /= info->vsub; in vop2_setup_scale()
774 if (cbcr_src_h >= (4 * dst_h)) { in vop2_setup_scale()
776 cbcr_src_h >>= 2; in vop2_setup_scale()
777 } else if (cbcr_src_h >= (2 * dst_h)) { in vop2_setup_scale()
779 cbcr_src_h >>= 1; in vop2_setup_scale()
783 ver_scl_mode = scl_get_scl_mode(cbcr_src_h, dst_h); in vop2_setup_scale()
788 val = vop2_scale_factor(cbcr_src_h, dst_h); in vop2_setup_scale()
Drockchip_drm_vop.c390 uint16_t cbcr_src_h = src_h / info->vsub; in scl_vop_cal_scl_fac() local
413 scl_cal_scale2(cbcr_src_h, dst_h)); in scl_vop_cal_scl_fac()
423 cbcr_ver_scl_mode = scl_get_scl_mode(cbcr_src_h, dst_h); in scl_vop_cal_scl_fac()
471 val = scl_vop_cal_scale(cbcr_ver_scl_mode, cbcr_src_h, in scl_vop_cal_scl_fac()