From 44073b603581639f17b262a2a7d47a58a85a00a6 Mon Sep 17 00:00:00 2001 From: "sayon.chen" Date: Fri, 27 Aug 2021 11:49:23 +0800 Subject: [PATCH] [hal_hevc_vepu541]: Adjust I frame bias cfg Change-Id: If215c15ee452f0853b359484a36893d83dfb8bb1 Signed-off-by: sayon.chen --- mpp/hal/rkenc/h265e/hal_h265e_vepu541.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mpp/hal/rkenc/h265e/hal_h265e_vepu541.c b/mpp/hal/rkenc/h265e/hal_h265e_vepu541.c index a0bb7f45..f7c46fed 100644 --- a/mpp/hal/rkenc/h265e/hal_h265e_vepu541.c +++ b/mpp/hal/rkenc/h265e/hal_h265e_vepu541.c @@ -596,6 +596,9 @@ static void vepu541_h265_set_l2_regs(H265eV541HalContext *ctx, H265eV54xL2RegSet thd[i] = hw->aq_thrd_i[i]; step[i] = hw->aq_step_i[i] & 0x3f; } + + regs->rdo_quant.quant_f_bias_I = 171; + regs->rdo_quant.quant_f_bias_P = 85; } else { RK_U8 *thd = (RK_U8 *)®s->aq_thd0; RK_S8 *step = (RK_S8 *)®s->aq_qp_dlt0;