Lines Matching refs:startcode

237     int len, size, startcode, c, flags, header_len;
248 startcode = find_next_start_code(s->pb, &size, &m->header_state);
250 if (startcode < 0) {
257 if (startcode == PACK_START_CODE)
259 if (startcode == SYSTEM_HEADER_START_CODE)
261 if (startcode == PADDING_STREAM) {
265 if (startcode == PRIVATE_STREAM_2) {
343 if (startcode == PROGRAM_STREAM_MAP) {
349 if (!((startcode >= 0x1c0 && startcode <= 0x1df) ||
350 (startcode >= 0x1e0 && startcode <= 0x1ef) ||
351 (startcode == 0x1bd) ||
352 (startcode == PRIVATE_STREAM_2) ||
353 (startcode == 0x1fd)))
361 if (startcode != PRIVATE_STREAM_2)
427 startcode = ((startcode & 0xff) << 8) | id_ext;
439 if (startcode == PRIVATE_STREAM_1) {
445 startcode = avio_r8(s->pb);
447 if (startcode == 0x0b) {
449 startcode = 0x80;
464 if (startcode == s->streams[i]->id &&
473 *pstart_code = startcode;
485 int len, startcode, i, es_type, ret;
493 len = mpegps_read_pes_header(s, &dummy_pos, &startcode, &pts, &dts);
497 if (startcode >= 0x80 && startcode <= 0xcf) {
505 if (startcode >= 0xb0 && startcode <= 0xbf) {
509 } else if (startcode >= 0xa0 && startcode <= 0xaf) {
522 if (st->id == startcode)
526 es_type = m->psm_es_type[startcode & 0xff];
555 } else if (startcode >= 0x1e0 && startcode <= 0x1ef) {
566 } else if (startcode == PRIVATE_STREAM_2) {
569 } else if (startcode >= 0x1c0 && startcode <= 0x1df) {
575 } else if (m->imkh_cctv && startcode == 0x1c0 && len > 80) {
583 } else if (startcode >= 0x80 && startcode <= 0x87) {
586 } else if ((startcode >= 0x88 && startcode <= 0x8f) ||
587 (startcode >= 0x98 && startcode <= 0x9f)) {
591 } else if (startcode >= 0xa0 && startcode <= 0xaf) {
598 } else if (startcode >= 0xb0 && startcode <= 0xbf) {
601 } else if (startcode >= 0xc0 && startcode <= 0xcf) {
605 } else if (startcode >= 0x20 && startcode <= 0x3f) {
608 } else if (startcode >= 0xfd55 && startcode <= 0xfd5f) {
622 st->id = startcode;
636 if (startcode >= 0xa0 && startcode <= 0xaf) {
662 int len, startcode;
670 len = mpegps_read_pes_header(s, &pos, &startcode, &pts, &dts);
676 if (startcode == s->streams[stream_index]->id &&
964 int n, to_read, startcode;
969 ret = mpegps_read_pes_header(vobsub->sub_ctx, NULL, &startcode, &pts, &dts);
985 if ((startcode & 0x1f) != s->streams[pkt->stream_index]->id)