Lines Matching refs:min_size
478 void *av_fast_realloc(void *ptr, unsigned int *size, size_t min_size) in av_fast_realloc() argument
480 if (min_size <= *size) in av_fast_realloc()
483 if (min_size > max_alloc_size) { in av_fast_realloc()
488 min_size = FFMIN(max_alloc_size, FFMAX(min_size + min_size / 16 + 32, min_size)); in av_fast_realloc()
490 ptr = av_realloc(ptr, min_size); in av_fast_realloc()
495 min_size = 0; in av_fast_realloc()
497 *size = min_size; in av_fast_realloc()
502 void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size) in av_fast_malloc() argument
504 ff_fast_malloc(ptr, size, min_size, 0); in av_fast_malloc()
507 void av_fast_mallocz(void *ptr, unsigned int *size, size_t min_size) in av_fast_mallocz() argument
509 ff_fast_malloc(ptr, size, min_size, 1); in av_fast_mallocz()