Lines Matching refs:act_height
484 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()
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()
791 yrgb_scl_info.act_height = zme_params->src_height; in set_zme_to_vdpp_reg()
801 cbcr_scl_info.act_height = zme_params->src_height / 2; in set_zme_to_vdpp_reg()
864 zme->common.reg5.yrgb_src_height = yrgb_scl_info.act_height - 1; in set_zme_to_vdpp_reg()
904 zme->common.reg13.cbcr_src_height = cbcr_scl_info.act_height - 1; in set_zme_to_vdpp_reg()