libcaption
Classes | Macros | Functions
ts.h File Reference
#include "caption.h"
#include "mpeg.h"

Go to the source code of this file.

Classes

struct  ts_t
 

Macros

#define TS_PACKET_SIZE   188
 

Functions

void ts_init (ts_t *ts)
 
int ts_parse_packet (ts_t *ts, const uint8_t *data)
 
static double ts_dts_seconds (ts_t *ts)
 
static double ts_pts_seconds (ts_t *ts)
 
static double ts_cts_seconds (ts_t *ts)
 

Macro Definition Documentation

#define TS_PACKET_SIZE   188
Parameters

Function Documentation

static double ts_cts_seconds ( ts_t ts)
inlinestatic
static double ts_dts_seconds ( ts_t ts)
inlinestatic
void ts_init ( ts_t ts)
int ts_parse_packet ( ts_t ts,
const uint8_t *  data 
)
static double ts_pts_seconds ( ts_t ts)
inlinestatic