[rk_mpi_cmd]: Add max_reenc_cnt for reencode flow

When max_reenc_cnt is zero the reencode flow is disabled.

Change-Id: Iba600b37bb5ab6e4f720b652d59abfae36f9e52f
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2020-05-14 15:33:46 +08:00
parent 85f9662150
commit 0b4532c6d5
15 changed files with 29 additions and 23 deletions

View File

@@ -312,7 +312,7 @@ MPP_RET test_mpp_setup_legacy(MpiEncTestData *p)
rc_cfg->fps_out_denorm = p->fps_out_den;
rc_cfg->gop = p->gop;
rc_cfg->skip_cnt = 0;
rc_cfg->max_reenc_times = 1;
mpp_log("mpi_enc_test bps %d fps %d gop %d\n",
rc_cfg->bps_target, rc_cfg->fps_out_num, rc_cfg->gop);