Lines Matching defs:pid
49 int pid;
160 b = s->pid >> 8;
164 *q++ = s->pid;
241 int pid; /* stream associated pid */
279 put16(&q, 0xe000 | service->pmt.pid);
558 put16(&q, 0xe000 | ts_st->pid);
1015 service->pmt.pid = ts->pmt_start_pid + ts->nb_services;
1090 service->pcr_pid = ts_st->pid;
1092 av_log(s, AV_LOG_VERBOSE, "service %i using PCR in pid=%i, pcr_period=%"PRId64"ms\n",
1145 ts->pat.pid = PAT_PID;
1153 ts->sdt.pid = SDT_PID;
1159 ts->nit.pid = NIT_PID;
1185 /* MPEG pid values < 16 are reserved. Applications which set st->id in
1186 * this range are assigned a calculated pid. */
1191 ts_st->pid = ts->m2ts_video_pid++;
1194 ts_st->pid = ts->m2ts_audio_pid++;
1199 ts_st->pid = ts->m2ts_pgssub_pid++;
1202 ts_st->pid = ts->m2ts_textsub_pid++;
1211 ts_st->pid < 16) {
1216 ts_st->pid = ts->start_pid + i;
1219 ts_st->pid = st->id;
1221 if (ts_st->pid >= 0x1FFF) {
1227 if (ts->services[j]->pmt.pid > LAST_OTHER_PID) {
1229 "Invalid PMT PID %d, must be less than %d\n", ts->services[j]->pmt.pid, LAST_OTHER_PID + 1);
1232 if (ts_st->pid == ts->services[j]->pmt.pid) {
1233 av_log(s, AV_LOG_ERROR, "PID %d cannot be both elementary and PMT PID\n", ts_st->pid);
1239 if (ts_st_prev->pid == ts_st->pid) {
1240 av_log(s, AV_LOG_ERROR, "Duplicate stream id %d\n", ts_st->pid);
1385 *q++ = ts_st->pid >> 8;
1386 *q++ = ts_st->pid;
1574 val = ts_st->pid >> 8;
1580 *q++ = ts_st->pid;
2287 { "mpegts_pmt_start_pid", "Set the first pid of the PMT.",
2289 { "mpegts_start_pid", "Set the first pid.",