Home
last modified time | relevance | path

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

/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu580_tune.c126 RK_U32 scene_motion_flag = tune->ap_motion_flag * 2 + tune->curr_scene_motion_flag; in vepu580_h264e_tune_reg_patch() local
129 if (scene_motion_flag > 3) { in vepu580_h264e_tune_reg_patch()
130 mpp_err_f("scene_motion_flag is a wrong value %d\n", scene_motion_flag); in vepu580_h264e_tune_reg_patch()
167 regs->reg_rdo.rdo_intra_atf_wgt0.atf_rdo_intra_wgt00 = intra_atf_wgt[scene_motion_flag][0]; in vepu580_h264e_tune_reg_patch()
168 regs->reg_rdo.rdo_intra_atf_wgt0.atf_rdo_intra_wgt01 = intra_atf_wgt[scene_motion_flag][1]; in vepu580_h264e_tune_reg_patch()
169 regs->reg_rdo.rdo_intra_atf_wgt0.atf_rdo_intra_wgt02 = intra_atf_wgt[scene_motion_flag][2]; in vepu580_h264e_tune_reg_patch()
170 regs->reg_rdo.rdo_intra_atf_wgt1.atf_rdo_intra_wgt10 = intra_atf_wgt[scene_motion_flag][3]; in vepu580_h264e_tune_reg_patch()
171 regs->reg_rdo.rdo_intra_atf_wgt1.atf_rdo_intra_wgt11 = intra_atf_wgt[scene_motion_flag][4]; in vepu580_h264e_tune_reg_patch()
172 regs->reg_rdo.rdo_intra_atf_wgt1.atf_rdo_intra_wgt12 = intra_atf_wgt[scene_motion_flag][5]; in vepu580_h264e_tune_reg_patch()
173 regs->reg_rdo.rdo_intra_atf_wgt2.atf_rdo_intra_wgt20 = intra_atf_wgt[scene_motion_flag][6]; in vepu580_h264e_tune_reg_patch()
[all …]
/rockchip-linux_mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu580_tune.c388 RK_U32 scene_motion_flag = tune->ap_motion_flag * 2 + tune->curr_scene_motion_flag; in vepu580_h265e_tune_reg_patch() local
391 RK_U32 pre_intra_idx = vmaf_opt ? 3 : scene_motion_flag; in vepu580_h265e_tune_reg_patch()
393 if (scene_motion_flag > 3) { in vepu580_h265e_tune_reg_patch()
394 mpp_err_f("scene_motion_flag is a wrong value %d\n", scene_motion_flag); in vepu580_h265e_tune_reg_patch()
405 vepu580_h265e_tune_atf(ctx, scene_motion_flag); in vepu580_h265e_tune_reg_patch()
407 reg_rdo->preintra_b32_cst_wgt.pre_intra32_cst_wgt00 = pre_intra_b32_cost[scene_motion_flag][0]; in vepu580_h265e_tune_reg_patch()
408 reg_rdo->preintra_b32_cst_wgt.pre_intra32_cst_wgt01 = pre_intra_b32_cost[scene_motion_flag][1]; in vepu580_h265e_tune_reg_patch()
409 reg_rdo->preintra_b16_cst_wgt.pre_intra16_cst_wgt00 = pre_intra_b16_cost[scene_motion_flag][0]; in vepu580_h265e_tune_reg_patch()
410 reg_rdo->preintra_b16_cst_wgt.pre_intra16_cst_wgt01 = pre_intra_b16_cost[scene_motion_flag][1]; in vepu580_h265e_tune_reg_patch()
420 reg_wgt->cime_sqi_multi0.cime_multi0 = cime_multi[scene_motion_flag][0]; in vepu580_h265e_tune_reg_patch()
[all …]