mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 01:02:39 +08:00
feat[mpp_trie]: Add trie context filling feature
1. Add context space reserving on trie shrink. 2. Remove MppTrieNode on trie interface. 3. Fix MppTrie usage on tests. Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: Ie2f568785a78499b394d298c3833dd04c6f9a9bd
This commit is contained in:
@@ -41,7 +41,7 @@ extern "C" {
|
||||
MPP_RET mpp_opt_init(MppOpt *opt);
|
||||
MPP_RET mpp_opt_deinit(MppOpt opt);
|
||||
|
||||
MPP_RET mpp_opt_setup(MppOpt opt, void *ctx, RK_S32 node_cnt, RK_S32 opt_cnt);
|
||||
MPP_RET mpp_opt_setup(MppOpt opt, void *ctx);
|
||||
/* Add NULL info to mark end of options */
|
||||
MPP_RET mpp_opt_add(MppOpt opt, MppOptInfo *info);
|
||||
|
||||
|
Reference in New Issue
Block a user