Non-inlined equivalent of av_mallocz_array().
Add an element of size elem_size to a dynamic array.
Add the pointer to an element to a dynamic array.
Add an element to a dynamic array.
Allocate a buffer, reusing the given one if large enough.
Allocate and clear a buffer, reusing the given one if large enough.
Reallocate the given buffer if it is not large enough, otherwise do nothing.
Free a memory block which has been allocated with a function of av_malloc() or av_realloc() family.
Free a memory block which has been allocated with a function of av_malloc() or av_realloc() family, and set the pointer pointing to it to NULL.
Allocate a memory block with alignment suitable for all memory accesses (including vectors if available on the CPU).
Allocate a memory block for an array with av_malloc().
Allocate a memory block with alignment suitable for all memory accesses (including vectors if available on the CPU) and zero all the bytes of the block.
Allocate a memory block for an array with av_mallocz().
Set the maximum size that may be allocated in one block.
Overlapping memcpy() implementation.
Duplicate a buffer with av_malloc().
Allocate, reallocate, or free a block of memory.
Allocate, reallocate, or free an array.
Allocate, reallocate, or free a block of memory.
Allocate, reallocate, or free a block of memory through a pointer to a pointer.
Allocate, reallocate, or free an array through a pointer to a pointer.
Multiply two size_t values checking for overflow.
Duplicate a string.
Duplicate a substring of a string.
@file @ingroup lavu_mem Memory handling functions