Go to the source code of this file.
|
| static void | put_ts_packet (uint8_t *dst, int pusi, int cc, const uint8_t *payload) |
| |
| static void | add_pes (uint8_t *ts, int *off, int *cc, int *es_counter, int es_len) |
| |
| static void | build_ts_stream (uint8_t *ts) |
| |
| static void | collect (AVPacket *pkt, Output *out) |
| |
| static void | feed (RTPDemuxContext *s, AVPacket *pkt, const uint8_t *ts_stream, int block, Output *out) |
| |
| static int | run (const uint8_t *ts_stream, const int *order, Output *out) |
| |
| static void | dump (const char *label, const Output *o) |
| |
| int | main (void) |
| |
◆ TS_SIZE
◆ TS_PAYLOAD
◆ TS_PER_RTP
| #define TS_PER_RTP 7 /* 12 + 7*188 = 1328-byte RTP packets */ |
◆ RTP_HEADER_SIZE
| #define RTP_HEADER_SIZE 12 |
◆ RTP_PAYLOAD
◆ MP2T_PT
| #define MP2T_PT 33 /* static RTP payload type for MPEG-2 TS*/ |
◆ QUEUE_SIZE
| #define QUEUE_SIZE 2 /* reordering enabled, small jitter buf */ |
◆ ES_PID
◆ PES_STREAM_ID
| #define PES_STREAM_ID 0xe0 /* a video stream id */ |
◆ PES_HDR_SIZE
| #define PES_HDR_SIZE 9 /* 00 00 01 id len(2) flags(2) hdrlen */ |
◆ PES_TS_PACKETS
| #define PES_TS_PACKETS 17 |
◆ PES_ES_LEN
◆ NB_TS_PACKETS
◆ NB_RTP_PACKETS
◆ SEQ_BASE
◆ put_ts_packet()
| static void put_ts_packet |
( |
uint8_t * | dst, |
|
|
int | pusi, |
|
|
int | cc, |
|
|
const uint8_t * | payload ) |
|
static |
◆ add_pes()
| static void add_pes |
( |
uint8_t * | ts, |
|
|
int * | off, |
|
|
int * | cc, |
|
|
int * | es_counter, |
|
|
int | es_len ) |
|
static |
◆ build_ts_stream()
| static void build_ts_stream |
( |
uint8_t * | ts | ) |
|
|
static |
◆ collect()
◆ feed()
◆ run()
| static int run |
( |
const uint8_t * | ts_stream, |
|
|
const int * | order, |
|
|
Output * | out ) |
|
static |
◆ dump()
| static void dump |
( |
const char * | label, |
|
|
const Output * | o ) |
|
static |
◆ main()