Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu1_v2.c484 RK_U32 diff_mv_penalty[3] = {0}; in hal_h264e_vepu1_gen_regs_v2() local
485 diff_mv_penalty[0] = h264_diff_mv_penalty4p[hw_mbrc->qp_init]; in hal_h264e_vepu1_gen_regs_v2()
486 diff_mv_penalty[1] = h264_diff_mv_penalty[hw_mbrc->qp_init]; in hal_h264e_vepu1_gen_regs_v2()
487 diff_mv_penalty[2] = h264_diff_mv_penalty[hw_mbrc->qp_init]; in hal_h264e_vepu1_gen_regs_v2()
489 val = VEPU_REG_1MV_PENALTY(diff_mv_penalty[1]) in hal_h264e_vepu1_gen_regs_v2()
490 | VEPU_REG_QMV_PENALTY(diff_mv_penalty[2]) in hal_h264e_vepu1_gen_regs_v2()
491 | VEPU_REG_4MV_PENALTY(diff_mv_penalty[0]); in hal_h264e_vepu1_gen_regs_v2()
H A Dhal_h264e_vepu2_v2.c536 RK_U32 diff_mv_penalty[3] = {0}; in hal_h264e_vepu2_gen_regs_v2() local
537 diff_mv_penalty[0] = h264_diff_mv_penalty4p[hw_mbrc->qp_init]; in hal_h264e_vepu2_gen_regs_v2()
538 diff_mv_penalty[1] = h264_diff_mv_penalty[hw_mbrc->qp_init]; in hal_h264e_vepu2_gen_regs_v2()
539 diff_mv_penalty[2] = h264_diff_mv_penalty[hw_mbrc->qp_init]; in hal_h264e_vepu2_gen_regs_v2()
541 val = VEPU_REG_1MV_PENALTY(diff_mv_penalty[1]) in hal_h264e_vepu2_gen_regs_v2()
542 | VEPU_REG_QMV_PENALTY(diff_mv_penalty[2]) in hal_h264e_vepu2_gen_regs_v2()
543 | VEPU_REG_4MV_PENALTY(diff_mv_penalty[0]); in hal_h264e_vepu2_gen_regs_v2()
/OK3568_Linux_fs/external/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.c509 if (hw_cfg->diff_mv_penalty[0] == -1) in set_new_frame()
510 hw_cfg->diff_mv_penalty[0] = 64 / 2; in set_new_frame()
511 if (hw_cfg->diff_mv_penalty[1] == -1) in set_new_frame()
512 hw_cfg->diff_mv_penalty[1] = 60 / 2 * 32; in set_new_frame()
513 if (hw_cfg->diff_mv_penalty[2] == -1) in set_new_frame()
514 hw_cfg->diff_mv_penalty[2] = 8; in set_new_frame()
1328 hw_cfg->diff_mv_penalty[0] = -1; in alloc_buffer()
1329 hw_cfg->diff_mv_penalty[1] = -1; in alloc_buffer()
1330 hw_cfg->diff_mv_penalty[2] = -1; in alloc_buffer()
H A Dhal_vp8e_base.h258 RK_S32 diff_mv_penalty[3]; member