Lines Matching refs:hw
512 MppEncHwCfg *hw = &ctx->cfg->hw; in vepu541_h265_set_l2_regs() local
571 regs->aq_tthd[i] = hw->aq_thrd_i[i]; in vepu541_h265_set_l2_regs()
572 regs->aq_step[i] = hw->aq_step_i[i] & 0x3f; in vepu541_h265_set_l2_regs()
576 regs->aq_tthd[i] = hw->aq_thrd_p[i]; in vepu541_h265_set_l2_regs()
577 regs->aq_step[i] = hw->aq_step_p[i] & 0x3f; in vepu541_h265_set_l2_regs()
581 if (hw->qbias_en) { in vepu541_h265_set_l2_regs()
582 regs->rdo_quant.quant_f_bias_I = hw->qbias_i; in vepu541_h265_set_l2_regs()
583 regs->rdo_quant.quant_f_bias_P = hw->qbias_p; in vepu541_h265_set_l2_regs()
639 MppEncHwCfg *hw = &cfg->cfg->hw; in hal_h265e_v541_init() local
641 hw->qp_delta_row_i = 0; in hal_h265e_v541_init()
642 hw->qp_delta_row = 1; in hal_h265e_v541_init()
643 hw->qbias_i = 171; in hal_h265e_v541_init()
644 hw->qbias_p = 85; in hal_h265e_v541_init()
645 hw->qbias_en = 0; in hal_h265e_v541_init()
647 memcpy(hw->aq_thrd_i, aq_thd_default, sizeof(hw->aq_thrd_i)); in hal_h265e_v541_init()
648 memcpy(hw->aq_thrd_p, aq_thd_default, sizeof(hw->aq_thrd_p)); in hal_h265e_v541_init()
649 memcpy(hw->aq_step_i, aq_qp_dealt_default, sizeof(hw->aq_step_i)); in hal_h265e_v541_init()
650 memcpy(hw->aq_step_p, aq_qp_dealt_default, sizeof(hw->aq_step_p)); in hal_h265e_v541_init()
978 MppEncHwCfg *hw = &cfg->hw; in vepu541_h265_set_rc_regs() local
1011 hw->qp_delta_row_i : hw->qp_delta_row; in vepu541_h265_set_rc_regs()