memory handling functions More...
#include "attributes.h"#include "avutil.h"Go to the source code of this file.
Defines | |
| #define | DECLARE_ALIGNED(n, t, v) t v |
| #define | DECLARE_ASM_CONST(n, t, v) static const t v |
| #define | av_malloc_attrib |
| #define | av_alloc_size(n) |
Functions | |
| void * | av_malloc (size_t size) av_malloc_attrib av_alloc_size(1) |
| Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if available on the CPU). | |
| void * | av_realloc (void *ptr, size_t size) av_alloc_size(2) |
| Allocate or reallocate a block of memory. | |
| void | av_free (void *ptr) |
| Free a memory block which has been allocated with av_malloc(z)() or av_realloc(). | |
| void * | av_mallocz (size_t size) av_malloc_attrib av_alloc_size(1) |
| Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if available on the CPU) and zero all the bytes of the block. | |
| char * | av_strdup (const char *s) av_malloc_attrib |
| Duplicate the string s. | |
| void | av_freep (void *ptr) |
| Free a memory block which has been allocated with av_malloc(z)() or av_realloc() and set the pointer pointing to it to NULL. | |
memory handling functions
Definition in file mem.h.