MythTV
master
|
#include "libmythbase/mythlogging.h"
#include "libmythbase/sizetliteral.h"
#include "pespacket.h"
#include "mpegtables.h"
#include "libmythbase/mythconfig.h"
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libavutil/crc.h"
#include "libavutil/bswap.h"
#include <vector>
#include <map>
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 std::vector< unsigned char * > | mem188 |
static std::vector< unsigned char * > | free188 |
static std::map< unsigned char *, bool > | alloc188 |
static std::vector< unsigned char * > | mem4096 |
static std::vector< unsigned char * > | free4096 |
static std::map< unsigned char *, bool > | alloc4096 |
static constexpr size_t | BLOCKS188 { 512 } |
static constexpr size_t | BLOCKS4096 { 128 } |
static QMutex | pes_alloc_mutex |
|
static |
Definition at line 265 of file pespacket.cpp.
Referenced by pes_alloc().
|
static |
Definition at line 282 of file pespacket.cpp.
Referenced by pes_free().
|
static |
Definition at line 287 of file pespacket.cpp.
Referenced by pes_free().
|
static |
Definition at line 306 of file pespacket.cpp.
Referenced by pes_alloc().
|
static |
Definition at line 323 of file pespacket.cpp.
Referenced by pes_free().
|
static |
Definition at line 328 of file pespacket.cpp.
Referenced by pes_free().
unsigned char* pes_alloc | ( | uint | size | ) |
Definition at line 368 of file pespacket.cpp.
Referenced by PESPacket::AddTSPacket(), PESPacket::PESPacket(), PSIPTable::PSIPTable(), and DVBStreamHandler::RunSR().
void pes_free | ( | unsigned char * | ptr | ) |
Definition at line 380 of file pespacket.cpp.
Referenced by PESPacket::AddTSPacket(), DVBStreamHandler::RunSR(), and PESPacket::~PESPacket().
|
static |
Definition at line 256 of file pespacket.cpp.
Referenced by get_188_block(), and return_188_block().
|
static |
Definition at line 257 of file pespacket.cpp.
Referenced by get_188_block(), and return_188_block().
|
static |
Definition at line 258 of file pespacket.cpp.
Referenced by get_188_block(), is_188_block(), and return_188_block().
|
static |
Definition at line 260 of file pespacket.cpp.
Referenced by get_4096_block(), and return_4096_block().
|
static |
Definition at line 261 of file pespacket.cpp.
Referenced by get_4096_block(), and return_4096_block().
|
static |
Definition at line 262 of file pespacket.cpp.
Referenced by get_4096_block(), is_4096_block(), and return_4096_block().
|
staticconstexpr |
Definition at line 264 of file pespacket.cpp.
Referenced by get_188_block().
|
staticconstexpr |
Definition at line 305 of file pespacket.cpp.
Referenced by get_4096_block().
|
static |
Definition at line 366 of file pespacket.cpp.
Referenced by pes_alloc(), and pes_free().