Go to the source code of this file.
|
static int | check_pes (const uint8_t *p, const uint8_t *end) |
|
static int | check_pack_header (const uint8_t *buf) |
|
static int | mpegps_probe (AVProbeData *p) |
|
static int | mpegps_read_header (AVFormatContext *s) |
|
static int64_t | get_pts (AVIOContext *pb, int c) |
|
static int | find_next_start_code (AVIOContext *pb, int *size_ptr, int32_t *header_state) |
|
static long | mpegps_psm_parse (MpegDemuxContext *m, AVIOContext *pb) |
| Extract stream types from a program stream map According to ISO/IEC 13818-1 ('MPEG-2 Systems') table 2-35. More...
|
|
static int | mpegps_read_pes_header (AVFormatContext *s, int64_t *ppos, int *pstart_code, int64_t *ppts, int64_t *pdts) |
|
static int | mpegps_read_packet (AVFormatContext *s, AVPacket *pkt) |
|
static int64_t | mpegps_read_dts (AVFormatContext *s, int stream_index, int64_t *ppos, int64_t pos_limit) |
|
◆ MAX_SYNC_SIZE
#define MAX_SYNC_SIZE 100000 |
◆ check_pes()
◆ check_pack_header()
static int check_pack_header |
( |
const uint8_t * |
buf | ) |
|
|
static |
◆ mpegps_probe()
◆ mpegps_read_header()
◆ get_pts()
◆ find_next_start_code()
◆ mpegps_psm_parse()
Extract stream types from a program stream map According to ISO/IEC 13818-1 ('MPEG-2 Systems') table 2-35.
- Returns
- number of bytes occupied by PSM in the bitstream
Definition at line 205 of file mpeg.c.
Referenced by mpegps_read_pes_header().
◆ mpegps_read_pes_header()
static int mpegps_read_pes_header |
( |
AVFormatContext * |
s, |
|
|
int64_t * |
ppos, |
|
|
int * |
pstart_code, |
|
|
int64_t * |
ppts, |
|
|
int64_t * |
pdts |
|
) |
| |
|
static |
◆ mpegps_read_packet()
◆ mpegps_read_dts()
static int64_t mpegps_read_dts |
( |
AVFormatContext * |
s, |
|
|
int |
stream_index, |
|
|
int64_t * |
ppos, |
|
|
int64_t |
pos_limit |
|
) |
| |
|
static |
◆ ff_mpegps_demuxer
Initial value:= {
.name = "mpeg",
}
static int mpegps_read_header(AVFormatContext *s)
static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index, int64_t *ppos, int64_t pos_limit)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_header(FFV1Context *f)
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int mpegps_read_packet(AVFormatContext *s, AVPacket *pkt)
static int mpegps_probe(AVProbeData *p)
Definition at line 687 of file mpeg.c.