Lines Matching refs:dsp_height
485 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()
793 yrgb_scl_info.dsp_height = zme_params->dst_height; in set_zme_to_vdpp_reg()
809 cbcr_scl_info.dsp_height = zme_params->dst_height; in set_zme_to_vdpp_reg()
812 cbcr_scl_info.dsp_height = zme_params->dst_c_height; in set_zme_to_vdpp_reg()
817 cbcr_scl_info.dsp_height = zme_params->dst_height / 2; in set_zme_to_vdpp_reg()
820 cbcr_scl_info.dsp_height = zme_params->dst_c_height / 2; in set_zme_to_vdpp_reg()
868 zme->common.reg6.yrgb_dst_height = yrgb_scl_info.dsp_height - 1; in set_zme_to_vdpp_reg()
908 zme->common.reg14.cbcr_dst_height = cbcr_scl_info.dsp_height - 1; in set_zme_to_vdpp_reg()