Home
last modified time | relevance | path

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

/rockchip-linux_mpp/mpp/vproc/vdpp/
H A Dvdpp_common.c484 RK_U16 act_height = p_scl_info->act_height; in calc_scl_factor() local
537 if (act_height > dsp_height * 4) { in calc_scl_factor()
540 act_height = act_height / 4; in calc_scl_factor()
541 } else if (act_height > dsp_height * 2) { in calc_scl_factor()
544 act_height = act_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()
[all …]
H A Dvdpp_common.h191 RK_U16 act_height; member