FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
MpegTSContext Struct Reference

Data Fields

const AVClassclass
 
AVFormatContextstream
 
int raw_packet_size
 raw packet size, including FEC if present
 
int pos47
 
int auto_guess
 if true, all pids are analyzed to find streams
 
int mpeg2ts_compute_pcr
 compute exact PCR for each transport stream packet
 
int64_t cur_pcr
 used to estimate the exact PCR
 
int pcr_incr
 used to estimate the exact PCR
 
int stop_parse
 stop parsing loop
 
AVPacketpkt
 packet containing Audio/Video data
 
int64_t last_pos
 to detect seek
 
unsigned int nb_prg
 structure to keep track of Program->pids mapping
 
struct Programprg
 
int8_t crc_validity [NB_PID_MAX]
 
MpegTSFilterpids [NB_PID_MAX]
 filters for various streams specified by PMT + for the PAT and PMT
 
int current_pid
 

Detailed Description

Definition at line 93 of file mpegts.c.

Field Documentation

const AVClass* MpegTSContext::class

Definition at line 94 of file mpegts.c.

AVFormatContext* MpegTSContext::stream
int MpegTSContext::raw_packet_size

raw packet size, including FEC if present

Definition at line 98 of file mpegts.c.

Referenced by ff_mpegts_parse_open(), handle_packet(), handle_packets(), mpegts_get_dts(), mpegts_get_pcr(), mpegts_raw_read_packet(), and mpegts_read_header().

int MpegTSContext::pos47

Definition at line 100 of file mpegts.c.

Referenced by handle_packet(), mpegts_get_dts(), and mpegts_get_pcr().

int MpegTSContext::auto_guess

if true, all pids are analyzed to find streams

Definition at line 103 of file mpegts.c.

Referenced by ff_mpegts_parse_open(), handle_packet(), and mpegts_read_header().

int MpegTSContext::mpeg2ts_compute_pcr

compute exact PCR for each transport stream packet

Definition at line 106 of file mpegts.c.

Referenced by mpegts_raw_read_packet().

int64_t MpegTSContext::cur_pcr

used to estimate the exact PCR

Definition at line 108 of file mpegts.c.

Referenced by mpegts_raw_read_packet(), and mpegts_read_header().

int MpegTSContext::pcr_incr

used to estimate the exact PCR

Definition at line 109 of file mpegts.c.

Referenced by mpegts_raw_read_packet(), and mpegts_read_header().

int MpegTSContext::stop_parse

stop parsing loop

Definition at line 113 of file mpegts.c.

Referenced by ff_mpegts_parse_packet(), handle_packets(), mpegts_push_data(), and pmt_cb().

AVPacket* MpegTSContext::pkt

packet containing Audio/Video data

Definition at line 115 of file mpegts.c.

Referenced by ff_mpegts_parse_packet(), mpegts_push_data(), and mpegts_read_packet().

int64_t MpegTSContext::last_pos

to detect seek

Definition at line 117 of file mpegts.c.

Referenced by handle_packets().

unsigned int MpegTSContext::nb_prg

structure to keep track of Program->pids mapping

Definition at line 123 of file mpegts.c.

Referenced by add_pat_entry(), add_pid_to_pmt(), clear_program(), clear_programs(), discard_pid(), and pat_cb().

struct Program* MpegTSContext::prg
int8_t MpegTSContext::crc_validity[NB_PID_MAX]

Definition at line 126 of file mpegts.c.

Referenced by write_section_data().

MpegTSFilter* MpegTSContext::pids[NB_PID_MAX]
int MpegTSContext::current_pid

Definition at line 130 of file mpegts.c.

Referenced by handle_packet(), pat_cb(), and pmt_cb().


The documentation for this struct was generated from the following file: