Home
last modified time | relevance | path

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

/rockchip-linux_mpp/mpp/vproc/vdpp/
H A Dvdpp_common.c485 RK_U16 dsp_height = p_scl_info->dsp_height; in calc_scl_factor() local
537 if (act_height > dsp_height * 4) { in calc_scl_factor()
541 } else if (act_height > dsp_height * 2) { in calc_scl_factor()
552 if (act_height >= dsp_height * 6) { in calc_scl_factor()
558 if (act_height > dsp_height) { in calc_scl_factor()
561 yscl_factor = GET_SCALE_FACTOR_DN(act_height, dsp_height); in calc_scl_factor()
562 } else if (act_height < dsp_height) { in calc_scl_factor()
565 yscl_factor = GET_SCALE_FACTOR_UP(act_height, dsp_height); in calc_scl_factor()
581 f_yscl_factor_t = (1 << 16) * act_height / dsp_height; in calc_scl_factor()
584 f_yscl_factor_t = (1 << 12) * act_height / dsp_height; in calc_scl_factor()
[all …]
H A Dvdpp_common.h192 RK_U16 dsp_height; member