libcaption
Loading...
Searching...
No Matches
ts.h File Reference
#include "caption.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

◆ TS_PACKET_SIZE

#define TS_PACKET_SIZE   188
Parameters
Expects188 byte TS packet

Function Documentation

◆ ts_cts_seconds()

static double ts_cts_seconds ( ts_t * ts)
inlinestatic

◆ ts_dts_seconds()

static double ts_dts_seconds ( ts_t * ts)
inlinestatic

◆ ts_init()

void ts_init ( ts_t * ts)

◆ ts_parse_packet()

int ts_parse_packet ( ts_t * ts,
const uint8_t * data )

◆ ts_pts_seconds()

static double ts_pts_seconds ( ts_t * ts)
inlinestatic