MythTV  master
Classes | Macros | Typedefs
tspacket.h File Reference
#include <algorithm>
#include <chrono>
#include <cstdlib>
#include "mythcontext.h"
#include "mythtvexp.h"
Include dependency graph for tspacket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  TSHeader
 Used to access header of a TSPacket. More...
class  TSPacket
 Used to access the data of a Transport Stream packet. More...


#define VIDEO_PID(bp)   ((bp)+1)
#define AUDIO_PID(bp)   ((bp)+4)
#define SYNC_BYTE   0x0047


using TSHeaderArray = std::array< uint8_t, 4 >

Macro Definition Documentation


#define VIDEO_PID (   bp)    ((bp)+1)

Definition at line 14 of file tspacket.h.


#define AUDIO_PID (   bp)    ((bp)+4)

Definition at line 15 of file tspacket.h.


#define SYNC_BYTE   0x0047

Definition at line 16 of file tspacket.h.

Typedef Documentation

◆ TSHeaderArray

using TSHeaderArray = std::array<uint8_t,4>

Definition at line 18 of file tspacket.h.