pespacket.cpp File Reference

Go to the source code of this file.

Functions

static unsigned char * get_188_block ()
static bool is_188_block (unsigned char *ptr)
static void return_188_block (unsigned char *ptr)
static unsigned char * get_4096_block ()
static bool is_4096_block (unsigned char *ptr)
static void return_4096_block (unsigned char *ptr)
unsigned char * pes_alloc (uint size)
void pes_free (unsigned char *ptr)

Variables

static vector< unsigned char * > mem188
static vector< unsigned char * > free188
static map< unsigned char *, boolalloc188
static vector< unsigned char * > mem4096
static vector< unsigned char * > free4096
static map< unsigned char *, boolalloc4096
static QMutex pes_alloc_mutex

Function Documentation

static unsigned char* get_188_block (  )  [static]

Definition at line 224 of file pespacket.cpp.

Referenced by pes_alloc().

static bool is_188_block ( unsigned char *  ptr  )  [static]

Definition at line 242 of file pespacket.cpp.

Referenced by pes_free().

static void return_188_block ( unsigned char *  ptr  )  [static]

Definition at line 247 of file pespacket.cpp.

Referenced by pes_free().

static unsigned char* get_4096_block (  )  [static]

Definition at line 266 of file pespacket.cpp.

Referenced by pes_alloc().

static bool is_4096_block ( unsigned char *  ptr  )  [static]

Definition at line 284 of file pespacket.cpp.

Referenced by pes_free().

static void return_4096_block ( unsigned char *  ptr  )  [static]

Definition at line 289 of file pespacket.cpp.

Referenced by pes_free().

unsigned char* pes_alloc ( uint  size  ) 

Definition at line 328 of file pespacket.cpp.

Referenced by PESPacket::AddTSPacket(), and PESPacket::PESPacket().

void pes_free ( unsigned char *  ptr  ) 

Definition at line 340 of file pespacket.cpp.

Referenced by PESPacket::AddTSPacket(), and PESPacket::~PESPacket().


Variable Documentation

vector<unsigned char*> mem188 [static]

Definition at line 215 of file pespacket.cpp.

Referenced by get_188_block(), and return_188_block().

vector<unsigned char*> free188 [static]

Definition at line 216 of file pespacket.cpp.

Referenced by get_188_block(), and return_188_block().

map<unsigned char*, bool> alloc188 [static]

Definition at line 217 of file pespacket.cpp.

Referenced by get_188_block(), is_188_block(), and return_188_block().

vector<unsigned char*> mem4096 [static]

Definition at line 219 of file pespacket.cpp.

Referenced by get_4096_block(), and return_4096_block().

vector<unsigned char*> free4096 [static]

Definition at line 220 of file pespacket.cpp.

Referenced by get_4096_block(), and return_4096_block().

map<unsigned char*, bool> alloc4096 [static]

Definition at line 221 of file pespacket.cpp.

Referenced by get_4096_block(), is_4096_block(), and return_4096_block().

QMutex pes_alloc_mutex [static]

Definition at line 326 of file pespacket.cpp.

Referenced by pes_alloc(), and pes_free().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sun May 27 06:41:46 2012 for MythTV by  doxygen 1.6.3