mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
feat[base]: Use enc cfg obj
Sync with kmpp-develop commit: feat[kmpp]: Use enc cfg obj Add MppEncCfgImpl to compatible with MppEncCfgSet and kmpp_obj path. Signed-off-by: xiaoxu.chen <xiaoxu.chen@rock-chips.com> Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: Id4e262d1053c03cd93d620828405f060f0f8517c
This commit is contained in:
parent
f317f8c50f
commit
9aef0ff7a7
6 changed files with 206 additions and 51 deletions
|
|
@ -1140,9 +1140,9 @@ void *enc_test(void *arg)
|
|||
goto MPP_TEST_OUT;
|
||||
}
|
||||
|
||||
ret = mpp_enc_cfg_init(&p->cfg);
|
||||
ret = mpp_enc_cfg_get(&p->cfg, cmd->kmpp_en ? "KmppVencStCfg" : "MppEncCfg", NULL);
|
||||
if (ret) {
|
||||
mpp_err_f("mpp_enc_cfg_init failed ret %d\n", ret);
|
||||
mpp_err_f("mpp_enc_cfg_get failed ret %d\n", ret);
|
||||
goto MPP_TEST_OUT;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue