Namespaces | |
namespace | JetByteTools |
namespace | JetByteTools::Streaming |
Defines | |
#define | DEBUGGING(_e) |
#define | DEBUGGING_FULL(_e) |
#define | DEBUGGING_DUMPS(_e) |
Functions | |
static BYTE * | InitialisePacket (BYTE *pPacket) |
static BYTE * | SetTransportStreamHeader (BYTE *pPacket, const unsigned short pid, const bool payloadStart, const bool payload, const bool adaption, BYTE &continuity) |
static BYTE * | BuildPAT (BYTE *pPacket, BYTE &continuity) |
static BYTE * | BuildPMT (BYTE *pPacket, BYTE &continuity) |
static BYTE | BuildFlags (const bool discontinuity, const bool randomAccessPoint, const bool esPriority, const bool pcr, const bool opcr, const bool splice, const bool priv, const bool extended) |
static BYTE * | SetAdaptationHeader (BYTE *pPacket, const bool includeFlags, const bool discontinuity, const bool randomAccessPoint, const bool esPriority, const BYTE paddingLength, BYTE &bytesLeft) |
static BYTE * | SetPCRAdaptationHeader (BYTE *pPacket, const bool discontinuity, const bool randomAccessPoint, const bool esPriority, const DWORD pcr, const BYTE paddingLength, BYTE &bytesLeft) |
static BYTE * | SetAdaptationHeader (BYTE *pPacket, BYTE &bytesLeftInThisPacket, const bool needsPCR, const DWORD pcr, const DWORD dataLeft, const bool needsPadding) |
static BYTE * | SetPESHeader (BYTE *pPacket, const DWORD pts, const DWORD dts, BYTE &bytesLeft) |
Variables | |
static const BYTE | s_packetSize = 188 |
static const BYTE | s_tsHeaderSize = 4 |
static const BYTE | s_minPESHeaderLength = 9 |
static const BYTE | s_PESWithPTSDTSLength = s_minPESHeaderLength + 10 |
static const BYTE | s_adaptionHeaderLength = 1 |
static const BYTE | s_adaptionWithPCRLength = 8 |
static const BYTE | s_packetLessHeader = s_packetSize - s_tsHeaderSize |
#define DEBUGGING | ( | _e | ) |
#define DEBUGGING_DUMPS | ( | _e | ) |
#define DEBUGGING_FULL | ( | _e | ) |