chore[kmpp_obj]: Add more obj function

1. Add update flag copy function.
2. Add entry copy function.
3. Fix register log.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I4059c63cd3bbcab86144eaad38c0fc30c9ee52a8
This commit is contained in:
Herman Chen 2025-05-29 16:26:11 +08:00
parent 90df438d20
commit 47ba2a350e
3 changed files with 71 additions and 9 deletions

View file

@ -264,7 +264,7 @@ void CONCAT_US(KMPP_OBJ_NAME, register)(void)
(void) __flag_prev;
(void) __flag_record;
mpp_env_get_u32(TO_STR(CONCAT_US(KMPP_OBJ_NAME, debug)), &KMPP_OBJ_DEF_DEUBG(KMPP_OBJ_NAME), 1);
mpp_env_get_u32(TO_STR(CONCAT_US(KMPP_OBJ_NAME, debug)), &KMPP_OBJ_DEF_DEUBG(KMPP_OBJ_NAME), 0);
KMPP_OBJ_DBG_LOG("register enter\n");