ia_css_refcount_is_single
bool ia_css_refcount_is_single(ia_css_ptr ptr);
if (*curr_size == needed_size && ia_css_refcount_is_single(*curr_buf)) {