Searched refs:add_size (Results 1 – 2 of 2) sorted by relevance
104 static MPP_RET realloc_buffer(RK_U8 **buf, RK_U32 *max_size, RK_U32 add_size) in realloc_buffer() argument113 add_size = MPP_ALIGN(add_size, 16); in realloc_buffer()115 (*buf) = mpp_realloc((*buf), RK_U8, ((*max_size) + add_size)); in realloc_buffer()117 H264D_ERR("[realloc_buffer] ERROR: max_size=%d, add_size=%d \n", (*max_size), add_size); in realloc_buffer()121 (*max_size) += add_size; in realloc_buffer()325 RK_U32 add_size = sizeof(H264dNaluHead_t); in add_empty_nalu() local327 if ((p_strm->head_offset + add_size) >= p_strm->head_max_size) { in add_empty_nalu()334 p_strm->head_offset += add_size; in add_empty_nalu()392 RK_U32 add_size = head_size + sizeof(H264dNaluHead_t); in store_cur_nalu() local403 if ((p_strm->head_offset + add_size) >= p_strm->head_max_size) { in store_cur_nalu()[all …]
127 RK_U32 add_size = SZ_1K; in store_nalu() local132 add_size = SZ_512K; in store_nalu()135 add_size = SZ_1K; in store_nalu()140 RK_U32 new_size = p_header->size + add_size + len; in store_nalu()