mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 09:06:50 +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:
@@ -696,7 +696,7 @@ RK_S32 mpi_dec_test_cmd_init(MpiDecTestCmd* cmd, int argc, char **argv)
|
||||
|
||||
mpp_opt_init(&opts);
|
||||
/* should change node count when option increases */
|
||||
mpp_opt_setup(opts, cmd, 35, dec_opt_cnt);
|
||||
mpp_opt_setup(opts, cmd);
|
||||
|
||||
for (i = 0; i < dec_opt_cnt; i++)
|
||||
mpp_opt_add(opts, &dec_opts[i]);
|
||||
|
Reference in New Issue
Block a user