MpegTSContext Struct Reference

List of all members.


Detailed Description

Definition at line 135 of file mpegts.c.


Public Attributes

AVFormatContextstream
int raw_packet_size
 raw packet size, including FEC if present
int auto_guess
 if true, all pids are analyzed to find streams
int set_service_ret
int mpeg2ts_raw
 force raw MPEG2 transport stream output, if possible
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 pcr_pid
 used to estimate the exact PCR
int scanning
 if set, stop_parse is set when PAT/PMT is found
int stop_parse
 stop parsing loop
int pmt_scan_state
 set to PMT_NOT_IN_PAT in pat_cb when scanning is true and the MPEG program number "req_sid" is not found in PAT; set to PMT_FOUND when a PMT with a the "req_sid" program number is found.
AVPacketpkt
 packet containing Audio/Video data
MpegTSFiltersdt_filter
int nb_services
 number of PMTs in the last PAT seen
MpegTSService ** services
 list of PMTs in the last PAT seen
SetServiceCallbackset_service_cb
void * set_service_opaque
MpegTSFilterpat_filter
 filter for the PAT
MpegTSFilterpmt_filter
 filter for the PMT for the MPEG program number specified by req_sid
int req_sid
 MPEG program number of stream we want to decode.
MpegTSFilterpids [NB_PID_MAX]
 filters for various streams specified by PMT + for the PAT and PMT
int pid_cnt
 number of streams in the last PMT seen
int pmt_pids [PMT_PIDS_MAX]
 list of streams in the last PMT seen

Member Data Documentation

raw packet size, including FEC if present

Definition at line 139 of file mpegts.c.

Referenced by handle_packets(), mpegts_get_pcr(), mpegts_parse_open(), mpegts_raw_read_packet(), mpegts_read_header(), and read_seek().

if true, all pids are analyzed to find streams

Definition at line 141 of file mpegts.c.

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

Definition at line 143 of file mpegts.c.

Referenced by set_service_cb().

force raw MPEG2 transport stream output, if possible

Definition at line 147 of file mpegts.c.

Referenced by mpegts_read_header(), and mpegts_read_packet().

compute exact PCR for each transport stream packet

Definition at line 149 of file mpegts.c.

Referenced by mpegts_raw_read_packet(), and mpegts_read_header().

used to estimate the exact PCR

Definition at line 151 of file mpegts.c.

Referenced by mpegts_raw_read_packet(), and mpegts_read_header().

used to estimate the exact PCR

Definition at line 152 of file mpegts.c.

Referenced by mpegts_raw_read_packet(), and mpegts_read_header().

used to estimate the exact PCR

Definition at line 153 of file mpegts.c.

Referenced by mpegts_get_pcr(), mpegts_parse_pcrpid(), and mpegts_read_header().

if set, stop_parse is set when PAT/PMT is found

Definition at line 158 of file mpegts.c.

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

set to PMT_NOT_IN_PAT in pat_cb when scanning is true and the MPEG program number "req_sid" is not found in PAT; set to PMT_FOUND when a PMT with a the "req_sid" program number is found.

Definition at line 165 of file mpegts.c.

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

packet containing Audio/Video data

Definition at line 168 of file mpegts.c.

Referenced by mpegts_parse_packet(), mpegts_push_data(), mpegts_push_section(), and mpegts_read_packet().

Definition at line 175 of file mpegts.c.

Referenced by mpegts_scan_sdt(), and sdt_cb().

number of PMTs in the last PAT seen

Definition at line 179 of file mpegts.c.

Referenced by is_pat_same(), mpegts_read_close(), mpegts_read_header(), new_service(), and pat_cb().

list of PMTs in the last PAT seen

Definition at line 181 of file mpegts.c.

Referenced by is_pat_same(), mpegts_read_close(), mpegts_read_header(), new_service(), and pat_cb().

Definition at line 185 of file mpegts.c.

Definition at line 186 of file mpegts.c.

filter for the PAT

Definition at line 190 of file mpegts.c.

Referenced by handle_packet(), mpegts_close_filter(), mpegts_read_header(), mpegts_scan_pat(), and pat_scan_cb().

filter for the PMT for the MPEG program number specified by req_sid

Definition at line 192 of file mpegts.c.

Referenced by mpegts_close_filter(), mpegts_read_header(), and pat_cb().

MPEG program number of stream we want to decode.

Definition at line 194 of file mpegts.c.

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

number of streams in the last PMT seen

Definition at line 200 of file mpegts.c.

Referenced by is_pmt_same(), mpegts_add_stream(), mpegts_cleanup_streams(), mpegts_remove_stream(), and pmt_cb().

int MpegTSContext::pmt_pids[PMT_PIDS_MAX]

list of streams in the last PMT seen

Definition at line 202 of file mpegts.c.

Referenced by is_pmt_same(), mpegts_add_stream(), mpegts_cleanup_streams(), mpegts_remove_stream(), and pmt_cb().


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

Generated on Sat Dec 18 05:16:06 2010 for MythTV by  doxygen 1.5.5