alloc.c File Reference

Go to the source code of this file.

Functions

void * mpeg2_malloc (unsigned size, mpeg2_alloc_t reason)
void mpeg2_free (void *buf)
void mpeg2_malloc_hooks (void *malloc(unsigned, mpeg2_alloc_t), int free(void *))

Variables

static void *(* malloc_hook )(unsigned size, mpeg2_alloc_t reason) = NULL
static int(* free_hook )(void *buf) = NULL

Function Documentation

void* mpeg2_malloc ( unsigned  size,
mpeg2_alloc_t  reason 
)

Definition at line 32 of file alloc.c.

Referenced by mpeg2_header_picture_finalize(), and mpeg2_init().

void mpeg2_free ( void *  buf  ) 

Definition at line 56 of file alloc.c.

Referenced by mpeg2_close(), and mpeg2_header_state_init().

void mpeg2_malloc_hooks ( void *  mallocunsigned, mpeg2_alloc_t,
int   freevoid * 
)

Definition at line 65 of file alloc.c.

Referenced by MPEG2fixup::MPEG2fixup().


Variable Documentation

void*(* malloc_hook)(unsigned size, mpeg2_alloc_t reason) = NULL [static]

Definition at line 29 of file alloc.c.

Referenced by mpeg2_malloc(), and mpeg2_malloc_hooks().

int(* free_hook)(void *buf) = NULL [static]

Definition at line 30 of file alloc.c.

Referenced by mpeg2_free(), and mpeg2_malloc_hooks().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Wed May 23 06:41:50 2012 for MythTV by  doxygen 1.6.3