Home
last modified time | relevance | path

Searched refs:pcr_pid (Results 1 – 21 of 21) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/hls/
Dgsthlsdemux-util.c119 guint slen, pcr_pid; in handle_pmt() local
137 pcr_pid = GST_READ_UINT16_BE (data) & 0x1fff; in handle_pmt()
138 if (pcr_pid != 0x1fff) { in handle_pmt()
139 GST_DEBUG ("pcr_pid now: %04x", pcr_pid); in handle_pmt()
140 r->pcr_pid = pcr_pid; in handle_pmt()
189 r->pmt_pid = r->pcr_pid = -1; in gst_hlsdemux_tsreader_init()
251 && ((hdr >> 8) & 0x1fff) == r->pcr_pid) { in gst_hlsdemux_tsreader_find_pcrs_mpegts()
252 GST_LOG ("Found packet for PID %04x (PCR)", r->pcr_pid); in gst_hlsdemux_tsreader_find_pcrs_mpegts()
Dgsthlsdemux.h86 gint pcr_pid; member
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/
Dmpegtspacketizer.h360 guint64 offset, guint16 pcr_pid);
363 GstClockTime ts, guint16 pcr_pid);
366 GstClockTime pts, guint16 pcr_pid);
369 guint16 pcr_pid);
372 GstClockTime offset, guint16 pcr_pid);
Dmpegtsparse.c197 parse->user_pcr_pid = parse->pcr_pid = -1; in mpegts_parse_init()
251 parse->pcr_pid = parse->user_pcr_pid; in mpegts_parse_reset()
271 parse->pcr_pid = parse->user_pcr_pid = g_value_get_int (value); in mpegts_parse_set_property()
292 g_value_set_int (value, parse->pcr_pid); in mpegts_parse_get_property()
705 if (parse->pcr_pid == -1) in mpegts_parse_inspect_packet()
706 parse->pcr_pid = packet->pid; in mpegts_parse_inspect_packet()
708 if (parse->pcr_pid == packet->pid) { in mpegts_parse_inspect_packet()
710 PCRTIME_TO_GSTTIME (packet->pcr), parse->pcr_pid); in mpegts_parse_inspect_packet()
949 parse->pcr_pid = -1; in mpegts_parse_program_stopped()
Dmpegtsbase.c395 program->pcr_pid = G_MAXUINT16; in mpegts_base_new_program()
733 if (oldprogram->pcr_pid != new_pmt->pcr_pid) { in mpegts_base_is_same_program()
735 new_pmt->pcr_pid, oldprogram->pcr_pid); in mpegts_base_is_same_program()
755 if (stream->pid == oldprogram->pcr_pid) in mpegts_base_is_same_program()
868 mpegts_base_program_remove_stream (base, program, program->pcr_pid); in mpegts_base_deactivate_program()
869 if (!mpegts_pid_in_active_programs (base, program->pcr_pid)) in mpegts_base_deactivate_program()
870 MPEGTS_BIT_UNSET (base->is_pes, program->pcr_pid); in mpegts_base_deactivate_program()
900 program->pcr_pid = pmt->pcr_pid; in mpegts_base_activate_program()
931 mpegts_base_program_add_stream (base, program, pmt->pcr_pid, -1, NULL); in mpegts_base_activate_program()
932 MPEGTS_BIT_SET (base->is_pes, pmt->pcr_pid); in mpegts_base_activate_program()
Dmpegtsparse.h60 gint pcr_pid; member
Dmpegtspacketizer.c126 guint16 pcr_pid) in mpegts_packetizer_get_current_time() argument
128 MpegTSPCR *pcrtable = get_pcr_table (packetizer, pcr_pid); in mpegts_packetizer_get_current_time()
134 pcr_pid); in mpegts_packetizer_get_current_time()
2212 GstClockTime pts, guint16 pcr_pid) in mpegts_packetizer_pts_to_ts() argument
2218 pcrtable = get_pcr_table (packetizer, pcr_pid); in mpegts_packetizer_pts_to_ts()
2220 if (!GST_CLOCK_TIME_IS_VALID (pcrtable->base_time) && pcr_pid == 0x1fff && in mpegts_packetizer_pts_to_ts()
2243 if (G_UNLIKELY (pcr_pid != 0x1fff && in mpegts_packetizer_pts_to_ts()
2340 GST_TIME_ARGS (pts), pcr_pid); in mpegts_packetizer_pts_to_ts()
2347 GstClockTime ts, guint16 pcr_pid) in mpegts_packetizer_ts_to_offset() argument
2360 pcrtable = get_pcr_table (packetizer, pcr_pid); in mpegts_packetizer_ts_to_offset()
[all …]
Dtsdemux.c518 demux->program->pcr_pid); in gst_ts_demux_get_duration()
869 start - SEEK_TIMESTAMP_OFFSET), demux->program->pcr_pid); in gst_ts_demux_do_seek()
1818 stream->pending_ts = program->pcr_pid < 0x1fff; in gst_ts_demux_stream_added()
2113 MPEGTIME_TO_GSTTIME (pts), demux->program->pcr_pid); in gst_ts_demux_record_pts()
2147 MPEGTIME_TO_GSTTIME (dts), demux->program->pcr_pid); in gst_ts_demux_record_dts()
2232 MPEGTIME_TO_GSTTIME (lastval), demux->program->pcr_pid); in check_pending_buffers()
2248 offset, demux->program->pcr_pid); in check_pending_buffers()
2265 MPEGTIME_TO_GSTTIME (pend->pts), demux->program->pcr_pid); in check_pending_buffers()
2269 MPEGTIME_TO_GSTTIME (pend->dts), demux->program->pcr_pid); in check_pending_buffers()
2284 MPEGTIME_TO_GSTTIME (stream->raw_pts), demux->program->pcr_pid); in check_pending_buffers()
[all …]
Dmpegtsbase.h75 guint16 pcr_pid; member
/third_party/ffmpeg/libavformat/
Dmpegts.c238 int pcr_pid; /**< if -1 then all packets containing PCR are considered */ member
354 int old_pcr_pid = program->pcr_pid, in update_av_program_info()
356 program->pcr_pid = pid; in update_av_program_info()
1302 if (p->pcr_pid != -1 && p->discard != AVDISCARD_ALL) { in mpegts_push_data()
1303 MpegTSFilter *f = pes->ts->pids[p->pcr_pid]; in mpegts_push_data()
1399 static PESContext *add_pes_stream(MpegTSContext *ts, int pid, int pcr_pid) in add_pes_stream() argument
1411 pes->pcr_pid = pcr_pid; in add_pes_stream()
1749 if (prg && prg->pcr_pid != -1 && prg->discard != AVDISCARD_ALL) { in scte_data_cb()
1750 MpegTSFilter *f = ts->pids[prg->pcr_pid]; in scte_data_cb()
2282 int program_info_length, pcr_pid, pid, stream_type; in pmt_cb() local
[all …]
Dmpegtsenc.c59 int pcr_pid; member
433 put16(&q, 0xe000 | service->pcr_pid); in mpegts_write_pmt()
854 service->pcr_pid = 0x1fff; in mpegts_add_service()
927 service->pcr_pid = ts_st->pid; in select_pcr_streams()
930 service->sid, service->pcr_pid, av_rescale(ts_st->pcr_period, 1000, PCR_TIME_BASE)); in select_pcr_streams()
Davformat.h1269 int pcr_pid; member
/third_party/gstreamer/gstplugins_bad/sys/dvb/
Ddvbbasebin.c120 guint16 pcr_pid; member
221 program->pcr_pid = G_MAXUINT16; in dvb_base_bin_add_program()
978 old_pcr_pid = program->pcr_pid; in dvb_base_bin_activate_program()
979 program->pcr_pid = program->pmt->pcr_pid; in dvb_base_bin_activate_program()
980 if (old_pcr_pid != G_MAXUINT16 && old_pcr_pid != program->pcr_pid) { in dvb_base_bin_activate_program()
985 stream = dvb_base_bin_get_stream (dvbbasebin, program->pcr_pid); in dvb_base_bin_activate_program()
987 stream = dvb_base_bin_add_stream (dvbbasebin, program->pcr_pid); in dvb_base_bin_activate_program()
1011 stream = dvb_base_bin_get_stream (dvbbasebin, program->pcr_pid); in dvb_base_bin_deactivate_program()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/
Dgstmpegtssection.h373 guint16 pcr_pid; member
Dgstmpegtssection.c668 pmt->pcr_pid = GST_READ_UINT16_BE (data) & 0x1FFF; in _parse_pmt()
859 GST_WRITE_UINT16_BE (data, pmt->pcr_pid | 0xE000); in _packetize_pmt()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dmpegtsmux.c162 gint pmt_pid = -1, el_pid = -1, pcr_pid = -1, packets = 0; in check_tsmux_pad() local
308 pcr_pid = y & 0x1FFF; in check_tsmux_pad()
341 fail_unless (pcr_pid == el_pid); in check_tsmux_pad()
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dmpegts.c145 pmt->pcr_pid = 0x1FFF; in GST_START_TEST()
169 fail_unless (pmt->pcr_pid == 0x1FFF); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/tsmux/
Dtsmux.c1266 pmt->pcr_pid = 0x1FFF; in tsmux_write_pmt()
1268 pmt->pcr_pid = tsmux_stream_get_pid (program->pcr_stream); in tsmux_write_pmt()
/third_party/gstreamer/gstplugins_bad/tests/examples/mpegts/
Dts-parser.c794 g_printf (" pcr_pid : 0x%04x\n", pmt->pcr_pid); in dump_pmt()
/third_party/ffmpeg/fftools/
Dffprobe.c2739 print_int("pcr_pid", program->pcr_pid); in show_program()
/third_party/gstreamer/gstplugins_bad/
DChangeLog30578 tsdemux: handle pcr_pid == 0x1fff