|
Libav
|
default memory allocator for libavutil More...
#include "config.h"#include <limits.h>#include <stdint.h>#include <stdlib.h>#include <string.h>#include "avutil.h"#include "common.h"#include "intreadwrite.h"#include "mem.h"Go to the source code of this file.
Functions | |
| void * | av_malloc (size_t size) |
| Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if available on the CPU). More... | |
| void * | av_realloc (void *ptr, size_t size) |
| Allocate or reallocate a block of memory. More... | |
| int | av_reallocp (void *ptr, size_t size) |
| Allocate or reallocate a block of memory. More... | |
| void * | av_realloc_array (void *ptr, size_t nmemb, size_t size) |
| int | av_reallocp_array (void *ptr, size_t nmemb, size_t size) |
| void | av_free (void *ptr) |
| Free a memory block which has been allocated with av_malloc(z)() or av_realloc(). More... | |
| void | av_freep (void *arg) |
| Free a memory block which has been allocated with av_malloc(z)() or av_realloc() and set the pointer pointing to it to NULL. More... | |
| void * | av_mallocz (size_t size) |
| 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. More... | |
| char * | av_strdup (const char *s) |
| Duplicate the string s. More... | |
| char * | av_strndup (const char *s, size_t len) |
| Duplicate a substring of the string s. More... | |
| static void | fill16 (uint8_t *dst, int len) |
| static void | fill24 (uint8_t *dst, int len) |
| static void | fill32 (uint8_t *dst, int len) |
| void | av_memcpy_backptr (uint8_t *dst, int back, int cnt) |
| deliberately overlapping memcpy implementation More... | |
| void * | av_fast_realloc (void *ptr, unsigned int *size, size_t min_size) |
| Reallocate the given block if it is not large enough, otherwise do nothing. More... | |
| void | av_fast_malloc (void *ptr, unsigned int *size, size_t min_size) |
| Allocate a buffer, reusing the given one if large enough. More... | |
default memory allocator for libavutil
Definition in file mem.c.
Definition at line 245 of file mem.c.
Referenced by av_memcpy_backptr().
Definition at line 263 of file mem.c.
Referenced by av_memcpy_backptr().
Definition at line 303 of file mem.c.
Referenced by av_memcpy_backptr().
1.8.8