mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 01:40:39 +01:00
fix[mpp_cfg_io]: Add more mpp_cfg_io function
1. Move MppCfgStrFmt to rk_mpp_cfg.h 2. Add mpp_cfg_find and mpp_cfg_set_cond 3. Fix memory leak in mpp_cfg_test 4. Add log->cfg function 5. Add cfg->json function 6. Add to / from log / json check to mpp_cfg_test Signed-off-by: xiaoxu.chen <xiaoxu.chen@rock-chips.com> Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I02e80cd21da664019bf0b767b073c14dbbfe0776
This commit is contained in:
parent
4f102251f3
commit
981a15d9c6
4 changed files with 817 additions and 88 deletions
|
|
@ -9,6 +9,13 @@
|
|||
#include "rk_type.h"
|
||||
#include "mpp_err.h"
|
||||
|
||||
typedef enum MppCfgStrFmt_e {
|
||||
MPP_CFG_STR_FMT_LOG,
|
||||
MPP_CFG_STR_FMT_JSON,
|
||||
MPP_CFG_STR_FMT_TOML,
|
||||
MPP_CFG_STR_FMT_BUTT,
|
||||
} MppCfgStrFmt;
|
||||
|
||||
typedef void* MppSysCfg;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue