Searched refs:new_size (Results 1 – 3 of 3) sorted by relevance
| /rockchip-linux_mpp/mpp/codec/dec/avs2/ |
| H A D | avs2d_parse.c | 140 RK_U32 new_size = p_header->size + add_size + len; in store_nalu() local 141 RK_U8 * new_buffer = mpp_realloc(p_header->pbuf, RK_U8, new_size); in store_nalu() 142 mpp_log_f("realloc %p, size %d", p_header->pbuf, new_size); in store_nalu() 144 mpp_err_f("Realloc header buffer with size %d failed", new_size); in store_nalu() 148 memset(p_header->pbuf + p_header->size, 0, new_size - p_header->size); in store_nalu() 149 p_header->size = new_size; in store_nalu()
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_trie.c | 148 rk_s32 new_size = old_size * 2; in trie_prepare_buf() local 149 void *ptr = mpp_realloc(p->info_buf, void, new_size); in trie_prepare_buf() 152 mpp_loge_f("failed to realloc new info buffer %d\n", new_size); in trie_prepare_buf() 157 p, p->info_buf, old_size, ptr, new_size); in trie_prepare_buf() 160 p->info_buf_size = new_size; in trie_prepare_buf()
|
| /rockchip-linux_mpp/mpp/codec/dec/h265/ |
| H A D | h265d_parser.c | 1680 RK_S32 new_size = s->nals_allocated + 10; in split_nal_units() local 1681 HEVCNAL *tmp = mpp_malloc(HEVCNAL, new_size); in split_nal_units() 1682 memset((void*)tmp, 0, new_size * sizeof(HEVCNAL)); in split_nal_units() 1683 s->nals_allocated = new_size; in split_nal_units() 1687 int new_size = s->nals_allocated + 10; in split_nal_units() local 1688 HEVCNAL *tmp = mpp_malloc(HEVCNAL, new_size); in split_nal_units() 1689 memset((void*)tmp, 0, new_size * sizeof(HEVCNAL)); in split_nal_units() 1691 mpp_err("return enomm new_size %d", new_size); in split_nal_units() 1695 memcpy((void*)tmp, (void*)s->nals, (new_size - 10)*sizeof(HEVCNAL)); in split_nal_units() 1700 (new_size - s->nals_allocated) * sizeof(*tmp)); in split_nal_units() [all …]
|