42#define TS_PID_PAT 0x0000
45#define TS_PID_NULL 0x1fff
48#define TS_PID_MAX 0x2000
51#define TS_PID_NONE 0xffff
124 const uint8_t *packet);
Standard headers and helper macros used all over the library.
const TsPidInfo_t * ts_demux_get_pid_info(const TsDemux_t *demux, uint16_t pid)
void ts_demux_free(TsDemux_t *demux)
const char * ts_demux_describe_pid(const TsDemux_t *demux, uint16_t pid, char *buf, size_t len)
void ts_demux_flush(TsDemux_t *demux)
struct TsDemux_s TsDemux_t
void ts_demux_set_pes_callback(TsDemux_t *demux, uint16_t pid, TsDemuxPesCallback_t callback, void *userdata)
uint16_t ts_demux_get_caption_pid(const TsDemux_t *demux)
const char * ts_component_tag_name(int16_t component_tag)
const char * ts_stream_type_name(uint8_t stream_type)
const char * ts_system_pid_name(uint16_t pid)
void(* TsDemuxPesCallback_t)(const uint8_t *pes, size_t len, void *userdata)
TsDemux_t * ts_demux_new(void)
void ts_demux_push(TsDemux_t *demux, const uint8_t *packet)
Reading MPEG-TS files, packet by packet.