Lines Matching refs:hw
201 MppEncHwCfg *hw = &cfg->cfg->hw; in hal_h264e_vepu541_init() local
203 hw->qp_delta_row_i = 0; in hal_h264e_vepu541_init()
204 hw->qp_delta_row = 2; in hal_h264e_vepu541_init()
205 hw->qbias_i = 683; in hal_h264e_vepu541_init()
206 hw->qbias_p = 341; in hal_h264e_vepu541_init()
207 hw->qbias_en = 0; in hal_h264e_vepu541_init()
209 memcpy(hw->aq_thrd_i, h264_aq_tthd_default, sizeof(hw->aq_thrd_i)); in hal_h264e_vepu541_init()
210 memcpy(hw->aq_thrd_p, h264_aq_tthd_default, sizeof(hw->aq_thrd_p)); in hal_h264e_vepu541_init()
211 memcpy(hw->aq_step_i, h264_I_aq_step_default, sizeof(hw->aq_step_i)); in hal_h264e_vepu541_init()
212 memcpy(hw->aq_step_p, h264_P_aq_step_default, sizeof(hw->aq_step_p)); in hal_h264e_vepu541_init()
817 H264eSlice *slice, MppEncHwCfg *hw, in setup_vepu541_rc_base() argument
853 hw->qp_delta_row_i : hw->qp_delta_row; in setup_vepu541_rc_base()
1391 static void setup_vepu541_l2(Vepu541H264eRegL2Set *regs, H264eSlice *slice, MppEncHwCfg *hw, MppEnc… in setup_vepu541_l2() argument
1504 if (hw->qbias_en) { in setup_vepu541_l2()
1505 regs->qnt_bias_comb.qnt_bias_i = hw->qbias_i; in setup_vepu541_l2()
1506 regs->qnt_bias_comb.qnt_bias_p = hw->qbias_p; in setup_vepu541_l2()
1554 regs->aq_tthd[i] = hw->aq_thrd_i[i]; in setup_vepu541_l2()
1555 regs->aq_step[i] = hw->aq_step_i[i] & 0x3f; in setup_vepu541_l2()
1559 regs->aq_tthd[i] = hw->aq_thrd_p[i]; in setup_vepu541_l2()
1560 regs->aq_step[i] = hw->aq_step_p[i] & 0x3f; in setup_vepu541_l2()
1612 setup_vepu541_rc_base(regs, sps, slice, &cfg->hw, task->rc_task); in hal_h264e_vepu541_gen_regs()
1637 setup_vepu541_l2(&ctx->regs_l2_set, slice, &cfg->hw, cfg); in hal_h264e_vepu541_gen_regs()