mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 01:20:40 +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
|
|
@ -15,9 +15,14 @@ typedef void* MppEncCfg;
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* legacy interface */
|
||||
MPP_RET mpp_enc_cfg_init(MppEncCfg *cfg);
|
||||
MPP_RET mpp_enc_cfg_deinit(MppEncCfg cfg);
|
||||
|
||||
/* new interface */
|
||||
RK_S32 mpp_enc_cfg_get(MppEncCfg *cfg, const char *name, void *val);
|
||||
RK_S32 mpp_enc_cfg_put(MppEncCfg cfg);
|
||||
|
||||
MPP_RET mpp_enc_cfg_set_s32(MppEncCfg cfg, const char *name, RK_S32 val);
|
||||
MPP_RET mpp_enc_cfg_set_u32(MppEncCfg cfg, const char *name, RK_U32 val);
|
||||
MPP_RET mpp_enc_cfg_set_s64(MppEncCfg cfg, const char *name, RK_S64 val);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue