mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-07 18:11:02 +08:00
[hal_vepu580]: Disable split on pass1 process
The pass1 work flow MUST NOT output in slice lowdelay mode. Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I26a6b7b90cec88829997ccee061cada6068bc462
This commit is contained in:
@@ -695,8 +695,13 @@ static MPP_RET vepu580_h264e_save_pass1_patch(HalVepu580RegSet *regs, HalH264eVe
|
||||
regs->reg_base.rfpw_h_addr = mpp_buffer_get_fd(ctx->buf_pass1);
|
||||
regs->reg_base.rfpw_b_addr = regs->reg_base.rfpw_h_addr;
|
||||
regs->reg_base.enc_pic.rec_fbc_dis = 1;
|
||||
|
||||
mpp_dev_multi_offset_update(ctx->offsets, 164, width_align * height_align);
|
||||
|
||||
/* NOTE: disable split to avoid lowdelay slice output */
|
||||
regs->reg_base.sli_splt.sli_splt = 0;
|
||||
regs->reg_base.enc_pic.slen_fifo = 0;
|
||||
|
||||
return MPP_OK;
|
||||
}
|
||||
|
||||
|
@@ -2202,6 +2202,10 @@ static MPP_RET vepu580_h265e_save_pass1_patch(H265eV580RegSet *regs, H265eV580Ha
|
||||
|
||||
mpp_dev_multi_offset_update(ctx->reg_cfg, 164, width_align * height);
|
||||
|
||||
/* NOTE: disable split to avoid lowdelay slice output */
|
||||
regs->reg_base.reg0216_sli_splt.sli_splt = 0;
|
||||
regs->reg_base.reg0192_enc_pic.slen_fifo = 0;
|
||||
|
||||
return MPP_OK;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user