Memory handling functions.
More...
Go to the source code of this file.
Macros
Declare a variable that is aligned in memory.
More...
Declare an aligned variable appropriate for use in inline assembly code.
More...
Declare a static constant aligned variable appropriate for use in inline assembly code.
More...
Function attribute denoting a malloc-like function.
More...
#define
av_alloc_size(...) __attribute__((alloc_size(__VA_ARGS__)))
Function attribute used on a function that allocates memory, whose size is given by the specified parameter(s).
More...
Functions
Allocate a memory block with alignment suitable for all memory accesses (including vectors if available on the CPU).
More...
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.
More...
Allocate, reallocate, or free a block of memory.
More...
Allocate, reallocate, or free a block of memory through a pointer to a pointer.
More...
Allocate, reallocate, or free a block of memory.
More...
Reallocate the given buffer if it is not large enough, otherwise do nothing.
More...
Allocate a buffer, reusing the given one if large enough.
More...
Allocate and clear a buffer, reusing the given one if large enough.
More...
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.
More...
Duplicate a substring of a string.
More...
Overlapping memcpy() implementation.
More...
Add the pointer to an element to a dynamic array.
More...
Add an element to a dynamic array.
More...
Add an element of size
elem_size to a dynamic array.
More...
Multiply two
size_t values checking for overflow.
More...
Set the maximum size that may be allocated in one block.
More...
Detailed Description
Memory handling functions.
Definition in file mem.h.