mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 01:10:39 +01:00
fix[mpp_cfg]: Fix function define on C++ field
Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: Id66c928e5e7393fe289457326ca83490255db152
This commit is contained in:
parent
54d72a64c5
commit
817a5434da
1 changed files with 12 additions and 12 deletions
|
|
@ -40,6 +40,18 @@ typedef struct MppCfgInfo_t {
|
|||
RK_S32 data_size;
|
||||
} MppCfgInfo;
|
||||
|
||||
/* header size 128 byte */
|
||||
typedef struct MppCfgInfoHead_t {
|
||||
char version[116];
|
||||
RK_S32 info_size;
|
||||
RK_S32 info_count;
|
||||
RK_S32 node_count;
|
||||
} MppCfgInfoHead;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
MPP_RET mpp_cfg_set_s32(MppCfgInfo *info, void *cfg, RK_S32 val);
|
||||
MPP_RET mpp_cfg_get_s32(MppCfgInfo *info, void *cfg, RK_S32 *val);
|
||||
MPP_RET mpp_cfg_set_u32(MppCfgInfo *info, void *cfg, RK_U32 val);
|
||||
|
|
@ -66,18 +78,6 @@ MPP_RET mpp_cfg_get_ptr(MppCfgInfo *info, void *cfg, void **val);
|
|||
#define MPP_CFG_SET_Ptr(info, cfg, val) (mpp_cfg_set_ptr)(info, cfg, val)
|
||||
#define MPP_CFG_GET_Ptr(info, cfg, val) (mpp_cfg_get_ptr)(info, cfg, (void **)(val))
|
||||
|
||||
/* header size 128 byte */
|
||||
typedef struct MppCfgInfoHead_t {
|
||||
char version[116];
|
||||
RK_S32 info_size;
|
||||
RK_S32 info_count;
|
||||
RK_S32 node_count;
|
||||
} MppCfgInfoHead;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
const char *strof_cfg_type(CfgType type);
|
||||
|
||||
#define CHECK_CFG_INFO(node, name, type) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue