Home
last modified time | relevance | path

Searched refs:new_count (Results 1 – 2 of 2) sorted by relevance

/rockchip-linux_mpp/mpp/base/
H A Dmpp_trie.c104 rk_s32 new_count = old_count * 2; in trie_get_node() local
105 MppTrieNode *new_nodes = mpp_realloc(trie->nodes, MppTrieNode, new_count); in trie_get_node()
108 mpp_err_f("failed to realloc new nodes %d\n", new_count); in trie_get_node()
116 trie, trie->nodes, trie->node_count, new_nodes, new_count); in trie_get_node()
119 trie->node_count = new_count; in trie_get_node()
H A Dmpp_buf_slot.c205 RK_S32 new_count; member
896 impl->buf_count = impl->new_count = count; in mpp_buf_slot_setup()
907 impl->new_count = count; in mpp_buf_slot_setup()
950 if (impl->buf_count != impl->new_count) { in mpp_buf_slot_ready()
951 impl->slots = mpp_realloc(impl->slots, MppBufSlotEntry, impl->new_count); in mpp_buf_slot_ready()
953 init_slot_entry(impl, 0, impl->new_count); in mpp_buf_slot_ready()
955 impl->buf_count = impl->new_count; in mpp_buf_slot_ready()