mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-29 11:42:05 +08:00
feat[mpp_enc_cfg]: Separate init function
Add mpp_enc_cfg_init_k for kernel encoder config init. Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I4ebdc179b27115d72a2efa213405cbb4dca564d0
This commit is contained in:
@@ -15,14 +15,13 @@ typedef void* MppEncCfg;
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* legacy interface */
|
||||
/* userspace encoder config init */
|
||||
MPP_RET mpp_enc_cfg_init(MppEncCfg *cfg);
|
||||
/* kernel encoder config init */
|
||||
MPP_RET mpp_enc_cfg_init_k(MppEncCfg *cfg);
|
||||
/* common config deinit */
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user