Home
last modified time | relevance | path

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

/rockchip-linux_mpp/mpp/vproc/vdpp/
H A Dvdpp_common.c482 RK_U16 dsp_width = p_scl_info->dsp_width; in calc_scl_factor() local
512 if (act_width >= dsp_width * 14) { in calc_scl_factor()
516 } else if (act_width >= dsp_width * 7) { in calc_scl_factor()
522 if (act_width > dsp_width) { in calc_scl_factor()
525 xscl_factor = GET_SCALE_FACTOR_DN(act_width, dsp_width); in calc_scl_factor()
526 } else if (act_width < dsp_width) { in calc_scl_factor()
529 xscl_factor = GET_SCALE_FACTOR_UP(act_width, dsp_width); in calc_scl_factor()
573 f_xscl_factor_t = (1 << 16) * act_width / dsp_width; in calc_scl_factor()
576 f_xscl_factor_t = (1 << 12) * act_width / dsp_width; in calc_scl_factor()
792 yrgb_scl_info.dsp_width = zme_params->dst_width; in set_zme_to_vdpp_reg()
[all …]
H A Dvdpp_common.h189 RK_U16 dsp_width; member