Home
last modified time | relevance | path

Searched refs:diff_mv_penalty (Results 1 – 6 of 6) sorted by relevance

/rockchip-linux_mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu1_v2.c486 RK_U32 diff_mv_penalty[3] = {0}; in hal_h264e_vepu1_gen_regs_v2() local
487 diff_mv_penalty[0] = h264_diff_mv_penalty4p[hw_mbrc->qp_init]; in hal_h264e_vepu1_gen_regs_v2()
488 diff_mv_penalty[1] = h264_diff_mv_penalty[hw_mbrc->qp_init]; in hal_h264e_vepu1_gen_regs_v2()
489 diff_mv_penalty[2] = h264_diff_mv_penalty[hw_mbrc->qp_init]; in hal_h264e_vepu1_gen_regs_v2()
491 val = VEPU_REG_1MV_PENALTY(diff_mv_penalty[1]) in hal_h264e_vepu1_gen_regs_v2()
492 | VEPU_REG_QMV_PENALTY(diff_mv_penalty[2]) in hal_h264e_vepu1_gen_regs_v2()
493 | VEPU_REG_4MV_PENALTY(diff_mv_penalty[0]); in hal_h264e_vepu1_gen_regs_v2()
H A Dhal_h264e_vepu2_v2.c538 RK_U32 diff_mv_penalty[3] = {0}; in hal_h264e_vepu2_gen_regs_v2() local
539 diff_mv_penalty[0] = h264_diff_mv_penalty4p[hw_mbrc->qp_init]; in hal_h264e_vepu2_gen_regs_v2()
540 diff_mv_penalty[1] = h264_diff_mv_penalty[hw_mbrc->qp_init]; in hal_h264e_vepu2_gen_regs_v2()
541 diff_mv_penalty[2] = h264_diff_mv_penalty[hw_mbrc->qp_init]; in hal_h264e_vepu2_gen_regs_v2()
543 val = VEPU_REG_1MV_PENALTY(diff_mv_penalty[1]) in hal_h264e_vepu2_gen_regs_v2()
544 | VEPU_REG_QMV_PENALTY(diff_mv_penalty[2]) in hal_h264e_vepu2_gen_regs_v2()
545 | VEPU_REG_4MV_PENALTY(diff_mv_penalty[0]); in hal_h264e_vepu2_gen_regs_v2()
/rockchip-linux_mpp/mpp/hal/vpu/vp8e/
H A Dhal_vp8e_vepu1_v2.c163 regs->sw19.dmv_penalty4p = hw_cfg->diff_mv_penalty[0]; in vp8e_vpu_frame_start()
164 regs->sw19.dmv_penalty1p = hw_cfg->diff_mv_penalty[1]; in vp8e_vpu_frame_start()
165 regs->sw19.dmv_penaltyqp = hw_cfg->diff_mv_penalty[2]; in vp8e_vpu_frame_start()
434 hw_cfg->diff_mv_penalty[0] = -1; in vp8e_update_hw_cfg()
435 hw_cfg->diff_mv_penalty[1] = -1; in vp8e_update_hw_cfg()
436 hw_cfg->diff_mv_penalty[2] = -1; in vp8e_update_hw_cfg()
H A Dhal_vp8e_vepu2_v2.c166 regs->sw99.dmv_penalty_4p = hw_cfg->diff_mv_penalty[0]; in vp8e_vpu_frame_start()
167 regs->sw99.dmv_penalty_1p = hw_cfg->diff_mv_penalty[1]; in vp8e_vpu_frame_start()
168 regs->sw99.dmv_penalty_qp = hw_cfg->diff_mv_penalty[2]; in vp8e_vpu_frame_start()
438 hw_cfg->diff_mv_penalty[0] = -1; in vp8e_update_hw_cfg()
439 hw_cfg->diff_mv_penalty[1] = -1; in vp8e_update_hw_cfg()
440 hw_cfg->diff_mv_penalty[2] = -1; in vp8e_update_hw_cfg()
H A Dhal_vp8e_base.c513 if (hw_cfg->diff_mv_penalty[0] == -1) in set_new_frame()
514 hw_cfg->diff_mv_penalty[0] = 64 / 2; in set_new_frame()
515 if (hw_cfg->diff_mv_penalty[1] == -1) in set_new_frame()
516 hw_cfg->diff_mv_penalty[1] = 60 / 2 * 32; in set_new_frame()
517 if (hw_cfg->diff_mv_penalty[2] == -1) in set_new_frame()
518 hw_cfg->diff_mv_penalty[2] = 8; in set_new_frame()
1334 hw_cfg->diff_mv_penalty[0] = -1; in alloc_buffer()
1335 hw_cfg->diff_mv_penalty[1] = -1; in alloc_buffer()
1336 hw_cfg->diff_mv_penalty[2] = -1; in alloc_buffer()
H A Dhal_vp8e_base.h258 RK_S32 diff_mv_penalty[3]; member