Lines Matching refs:hw

356         MppEncHwCfg *hw = &cfg->cfg->hw;  in hal_h264e_vepu510_init()  local
358 hw->qp_delta_row_i = 1; in hal_h264e_vepu510_init()
359 hw->qp_delta_row = 2; in hal_h264e_vepu510_init()
360 hw->extra_buf = 1; in hal_h264e_vepu510_init()
361 hw->qbias_i = 683; in hal_h264e_vepu510_init()
362 hw->qbias_p = 341; in hal_h264e_vepu510_init()
363 hw->qbias_en = 0; in hal_h264e_vepu510_init()
365 memcpy(hw->aq_thrd_i, h264_aq_tthd_default, sizeof(hw->aq_thrd_i)); in hal_h264e_vepu510_init()
366 memcpy(hw->aq_thrd_p, h264_aq_tthd_default, sizeof(hw->aq_thrd_p)); in hal_h264e_vepu510_init()
367 memcpy(hw->aq_step_i, h264_I_aq_step_default, sizeof(hw->aq_step_i)); in hal_h264e_vepu510_init()
368 memcpy(hw->aq_step_p, h264_P_aq_step_default, sizeof(hw->aq_step_p)); in hal_h264e_vepu510_init()
370 for (i = 0; i < MPP_ARRAY_ELEMS(hw->mode_bias); i++) in hal_h264e_vepu510_init()
371 hw->mode_bias[i] = 8; in hal_h264e_vepu510_init()
373 hw->skip_sad = 8; in hal_h264e_vepu510_init()
374 hw->skip_bias = 8; in hal_h264e_vepu510_init()
1163 MppEncHwCfg *hw = &cfg->hw; in setup_vepu510_rc_base() local
1232 hw->qp_delta_row_i : hw->qp_delta_row; in setup_vepu510_rc_base()
1719 setup_vepu510_l2(HalH264eVepu510Ctx *ctx, MppEncHwCfg *hw) in setup_vepu510_l2() argument
1735 if (hw->qbias_en) { in setup_vepu510_l2()
1736 regs->reg_param.qnt_bias_comb.qnt_f_bias_i = hw->qbias_i; in setup_vepu510_l2()
1737 regs->reg_param.qnt_bias_comb.qnt_f_bias_p = hw->qbias_p; in setup_vepu510_l2()
1812 MppEncHwCfg *hw = &cfg->hw; in setup_vepu510_aq() local
1818 aq_thd = (RK_S32 *)&hw->aq_thrd_i[0]; in setup_vepu510_aq()
1819 aq_step = &hw->aq_step_i[0]; in setup_vepu510_aq()
1821 aq_thd = (RK_S32 *)&hw->aq_thrd_p[0]; in setup_vepu510_aq()
1822 aq_step = &hw->aq_step_p[0]; in setup_vepu510_aq()
2208 setup_vepu510_l2(ctx, &cfg->hw); in hal_h264e_vepu510_gen_regs()