MythTV  master
Classes | Macros | Typedefs
tspacket.h File Reference
#include <algorithm>
#include <array>
#include <chrono>
#include <cstdlib>
#include "libmyth/mythcontext.h"
#include "libmythtv/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 16 of file tspacket.h.


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

Definition at line 17 of file tspacket.h.


#define SYNC_BYTE   0x0047

Definition at line 18 of file tspacket.h.

Typedef Documentation

◆ TSHeaderArray

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

Definition at line 20 of file tspacket.h.