memory handling functions More...
Go to the source code of this file.
Macros | |
#define | AVUTIL_MEM_H |
#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(...) |
#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(...) |
Functions | |
void * | av_malloc (size_t size) av_malloc_attrib 1(1) |
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if available on the CPU). More... | |
static void * | av_malloc_array (size_t nmemb, size_t size) |
void * | av_realloc (void *ptr, size_t size) 1(2) |
Allocate or reallocate a block of memory. More... | |
void | av_free (void *ptr) |
Free a memory block which has been allocated with av_malloc(z)() or av_realloc(). More... | |
void * | av_mallocz (size_t size) av_malloc_attrib 1(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. More... | |
static void * | av_mallocz_array (size_t nmemb, size_t size) |
char * | av_strdup (const char *s) av_malloc_attrib |
Duplicate the string s. More... | |
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. More... | |
void | av_memcpy_backptr (uint8_t *dst, int back, int cnt) |
deliberately overlapping memcpy implementation More... | |
memory handling functions
Definition in file mem.h.
#define av_alloc_size | ( | ... | ) |
#define av_malloc_attrib |
#define AVUTIL_MEM_H |
Referenced by biweight_h264_W_altivec(), dct_unquantize_h263_altivec(), ff_gmc1_altivec(), ff_h264_filter_mb(), ff_simple_idct_vis(), ff_yuv2packedX_altivec(), ff_yuv2rgb_init_tables_altivec(), filter_mb_dir(), h264_idct_dc_add_internal(), hScale_altivec_real(), intra_predict(), pred_pskip_motion(), weight_h264_W_altivec(), write16x4(), yadif_filter_line(), and yuv2planeX_16_altivec().