fix[mpi_enc_test]: Remove redundant code about smart encoding

Change-Id: I3a0876bd9476590b0e25d1c18f76a793fd4c86ab
Signed-off-by: Tingjin Huang <timkingh.huang@rock-chips.com>
This commit is contained in:
Tingjin Huang
2024-08-29 11:14:50 +08:00
committed by Herman Chen
parent 8f1b70dd79
commit 2988a0c499

View File

@@ -573,26 +573,6 @@ MPP_RET test_mpp_enc_cfg_setup(MpiEncMultiCtxInfo *info)
if (ref)
mpp_enc_ref_cfg_deinit(&ref);
{
RcApiBrief rcApiBrief;
ret = mpi->control(ctx, MPP_ENC_GET_RC_API_CURRENT, &rcApiBrief);
if (ret) {
mpp_err("mpi control enc get rc api failed ret %d\n", ret);
goto RET;
}
if (MPP_ENC_RC_MODE_SMTRC == info->cmd->rc_mode)
rcApiBrief.name = "smart";
else
rcApiBrief.name = "default";
ret = mpi->control(ctx, MPP_ENC_SET_RC_API_CURRENT, &rcApiBrief);
if (ret) {
mpp_err("mpi control enc set rc api failed ret %d\n", ret);
goto RET;
}
}
/* optional */
{
RK_U32 sei_mode;