Searched refs:dmv_qpel_penalty (Results 1 – 6 of 6) sorted by relevance
| /rockchip-linux_mpp/mpp/hal/vpu/h264e/ |
| H A D | hal_h264e_vepu1_v2.c | 515 RK_U8 dmv_qpel_penalty[128] = {0}; in hal_h264e_vepu1_gen_regs_v2() local 519 dmv_qpel_penalty[i] = MPP_MIN(255, exp_golomb_signed(i)); in hal_h264e_vepu1_gen_regs_v2() 529 val = VEPU_REG_DMV_Q_PIXEL_PENALTY_TABLE_BIT(dmv_qpel_penalty[i], 3); in hal_h264e_vepu1_gen_regs_v2() 530 val |= VEPU_REG_DMV_Q_PIXEL_PENALTY_TABLE_BIT(dmv_qpel_penalty[i + 1], 2); in hal_h264e_vepu1_gen_regs_v2() 531 val |= VEPU_REG_DMV_Q_PIXEL_PENALTY_TABLE_BIT(dmv_qpel_penalty[i + 2], 1); in hal_h264e_vepu1_gen_regs_v2() 532 val |= VEPU_REG_DMV_Q_PIXEL_PENALTY_TABLE_BIT(dmv_qpel_penalty[i + 3], 0); in hal_h264e_vepu1_gen_regs_v2()
|
| H A D | hal_h264e_vepu2_v2.c | 578 RK_U8 dmv_qpel_penalty[128] = {0}; in hal_h264e_vepu2_gen_regs_v2() local 582 dmv_qpel_penalty[i] = MPP_MIN(255, exp_golomb_signed(i)); in hal_h264e_vepu2_gen_regs_v2() 593 dmv_qpel_penalty[i], 3); in hal_h264e_vepu2_gen_regs_v2() 595 dmv_qpel_penalty[i + 1], 2); in hal_h264e_vepu2_gen_regs_v2() 597 dmv_qpel_penalty[i + 2], 1); in hal_h264e_vepu2_gen_regs_v2() 599 dmv_qpel_penalty[i + 3], 0); in hal_h264e_vepu2_gen_regs_v2()
|
| /rockchip-linux_mpp/mpp/hal/vpu/vp8e/ |
| H A D | hal_vp8e_vepu1_v2.c | 270 regs->sw128_159[j].qpel_penalty_0 = hw_cfg->dmv_qpel_penalty[j * 4 + 3]; in vp8e_vpu_frame_start() 271 regs->sw128_159[j].qpel_penalty_1 = hw_cfg->dmv_qpel_penalty[j * 4 + 2]; in vp8e_vpu_frame_start() 272 regs->sw128_159[j].qpel_penalty_2 = hw_cfg->dmv_qpel_penalty[j * 4 + 1]; in vp8e_vpu_frame_start() 273 regs->sw128_159[j].qpel_penalty_3 = hw_cfg->dmv_qpel_penalty[j * 4]; in vp8e_vpu_frame_start()
|
| H A D | hal_vp8e_vepu2_v2.c | 272 regs->sw120_183[j + 32].penalty_0 = hw_cfg->dmv_qpel_penalty[j * 4 + 3]; in vp8e_vpu_frame_start() 273 regs->sw120_183[j + 32].penalty_1 = hw_cfg->dmv_qpel_penalty[j * 4 + 2]; in vp8e_vpu_frame_start() 274 regs->sw120_183[j + 32].penalty_2 = hw_cfg->dmv_qpel_penalty[j * 4 + 1]; in vp8e_vpu_frame_start() 275 regs->sw120_183[j + 32].penalty_3 = hw_cfg->dmv_qpel_penalty[j * 4]; in vp8e_vpu_frame_start()
|
| H A D | hal_vp8e_base.h | 246 RK_U8 dmv_qpel_penalty[PENALTY_TABLE_SIZE]; member
|
| H A D | hal_vp8e_base.c | 536 hw_cfg->dmv_qpel_penalty[i] = MPP_MIN(255, (y + x + 1) / 2 * weight_tbl[qp] >> 8); in set_new_frame()
|