[vepu541_rc]: Reduce P frame qp range

Reduce P frame qp range from 2 to 1 to get more stable video quality.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I58f13e2ad2dc6ff04dd010e990f012a26b88d157
This commit is contained in:
Herman Chen 2021-02-02 08:50:06 +08:00
parent 774f1ffbc5
commit a5cafbabdf
2 changed files with 2 additions and 2 deletions

View file

@ -191,7 +191,7 @@ static MPP_RET hal_h264e_vepu541_init(void *hal, MppEncHalCfg *cfg)
MppEncHwCfg *hw = &cfg->cfg->hw;
hw->qp_delta_row_i = 0;
hw->qp_delta_row = 2;
hw->qp_delta_row = 1;
memcpy(hw->aq_thrd_i, h264_aq_tthd_default, sizeof(hw->aq_thrd_i));
memcpy(hw->aq_thrd_p, h264_aq_tthd_default, sizeof(hw->aq_thrd_p));

View file

@ -661,7 +661,7 @@ MPP_RET hal_h265e_v541_init(void *hal, MppEncHalCfg *cfg)
MppEncHwCfg *hw = &cfg->cfg->hw;
hw->qp_delta_row_i = 0;
hw->qp_delta_row = 2;
hw->qp_delta_row = 1;
memcpy(hw->aq_thrd_i, aq_thd_default, sizeof(hw->aq_thrd_i));
memcpy(hw->aq_thrd_p, aq_thd_default, sizeof(hw->aq_thrd_p));