Home
last modified time | relevance | path

Searched refs:startcode (Results 1 - 13 of 13) sorted by relevance

/third_party/ffmpeg/libavformat/
H A Dmpeg.c237 int len, size, startcode, c, flags, header_len; in mpegps_read_pes_header() local
248 startcode = find_next_start_code(s->pb, &size, &m->header_state); in mpegps_read_pes_header()
250 if (startcode < 0) { in mpegps_read_pes_header()
257 if (startcode == PACK_START_CODE) in mpegps_read_pes_header()
259 if (startcode == SYSTEM_HEADER_START_CODE) in mpegps_read_pes_header()
261 if (startcode == PADDING_STREAM) { in mpegps_read_pes_header()
265 if (startcode == PRIVATE_STREAM_2) { in mpegps_read_pes_header()
343 if (startcode == PROGRAM_STREAM_MAP) { in mpegps_read_pes_header()
349 if (!((startcode >= 0x1c0 && startcode < in mpegps_read_pes_header()
485 int len, startcode, i, es_type, ret; mpegps_read_packet() local
662 int len, startcode; mpegps_read_dts() local
964 int n, to_read, startcode; vobsub_read_packet() local
[all...]
H A Drtpdec_h263.c33 int startcode, vrc, picture_header, ret; in ff_h263_handle_packet() local
43 * - One bit (P, startcode), indicating a picture start, picture segment in ff_h263_handle_packet()
54 startcode = (header & 0x0400) >> 9; in ff_h263_handle_packet()
76 if ((ret = av_new_packet(pkt, len + startcode)) < 0) { in ff_h263_handle_packet()
83 if (startcode) { in ff_h263_handle_packet()
H A Dnutdec.c91 int calculate_checksum, uint64_t startcode) in get_packetheader()
95 startcode = av_be2ne64(startcode); in get_packetheader()
96 startcode = ff_crc04C11DB7_update(0, (uint8_t*) &startcode, 8); in get_packetheader()
98 ffio_init_checksum(bc, ff_crc04C11DB7_update, startcode); in get_packetheader()
136 * Find the given startcode.
137 * @param code the startcode
139 * @return the position of the startcode or -1 if not found
144 uint64_t startcode in find_startcode() local
90 get_packetheader(NUTContext *nut, AVIOContext *bc, int calculate_checksum, uint64_t startcode) get_packetheader() argument
848 uint64_t startcode = find_any_startcode(bc, pos); nut_read_header() local
[all...]
H A Dmpegenc.c644 int size, payload_size, startcode, id, stuffing_size, header_len; in flush_packet() local
777 startcode = PRIVATE_STREAM_1; in flush_packet()
785 startcode = 0x100 + id; in flush_packet()
825 if (startcode == PRIVATE_STREAM_1 && id >= 0xa0) { in flush_packet()
839 avio_wb32(ctx->pb, startcode); in flush_packet()
902 if (startcode == PRIVATE_STREAM_1) { in flush_packet()
H A Dgxf.c90 static const uint8_t startcode[] = {0, 0, 0, 0, 1, 0xbc}; // start with map packet in gxf_probe() local
92 if (!memcmp(p->buf, startcode, sizeof(startcode)) && in gxf_probe()
H A Dnutenc.c351 uint64_t startcode) in put_packet()
359 avio_wb64(bc, startcode); in put_packet()
350 put_packet(NUTContext *nut, AVIOContext *bc, AVIOContext *dyn_bc, uint64_t startcode) put_packet() argument
/third_party/ffmpeg/libavcodec/
H A Dmpeg4_unpack_bframes_bsf.c25 #include "startcode.h"
35 uint32_t startcode; in scan_buffer() local
39 startcode = -1; in scan_buffer()
40 pos = avpriv_find_start_code(pos, end, &startcode); in scan_buffer()
42 if (startcode == USER_DATA_STARTCODE && pos_p) { in scan_buffer()
50 } else if (startcode == VOP_STARTCODE && nb_vop) { in scan_buffer()
53 *pos_vop2 = pos - buf - 4; /* subtract 4 bytes startcode */ in scan_buffer()
69 av_log(ctx, AV_LOG_DEBUG, "Found %d VOP startcode(s) in this packet.\n", nb_vop); in mpeg4_unpack_bframes_filter()
H A Dmpeg4videodec.c2273 uint32_t startcode; in extension_and_user_data() local
2276 startcode = show_bits_long(gb, 32); in extension_and_user_data()
2277 if (startcode == USER_DATA_STARTCODE || startcode == EXT_STARTCODE) { in extension_and_user_data()
2279 if ((id == 2 || id == 4) && startcode == EXT_STARTCODE) { in extension_and_user_data()
3313 unsigned startcode, v; in ff_mpeg4_decode_picture_header() local
3332 startcode = 0xff; in ff_mpeg4_decode_picture_header()
3347 startcode = ((startcode << 8) | v) & 0xffffffff; in ff_mpeg4_decode_picture_header()
3349 if ((startcode in ff_mpeg4_decode_picture_header()
[all...]
H A Dh261dec.c488 * @return <0 if no startcode found
494 uint32_t startcode = 0; in h261_decode_picture_header() local
497 startcode = ((startcode << 1) | get_bits(&s->gb, 1)) & 0x000FFFFF; in h261_decode_picture_header()
499 if (startcode == 0x10) in h261_decode_picture_header()
503 if (startcode != 0x10) { in h261_decode_picture_header()
H A Dituh263dec.c218 /* In MPEG-4 studio mode look for a new slice startcode in ff_h263_resync()
1091 uint32_t startcode; in ff_h263_decode_picture_header() local
1099 startcode= get_bits(&s->gb, 22-8); in ff_h263_decode_picture_header()
1102 startcode = ((startcode << 8) | get_bits(&s->gb, 8)) & 0x003FFFFF; in ff_h263_decode_picture_header()
1104 if(startcode == 0x20) in ff_h263_decode_picture_header()
1108 if (startcode != 0x20) { in ff_h263_decode_picture_header()
H A Dmpegvideo_enc.c2701 static void update_mb_info(MpegEncContext *s, int startcode) in update_mb_info() argument
2709 if (startcode) { in update_mb_info()
H A DMakefile154 OBJS-$(CONFIG_STARTCODE) += startcode.o
/third_party/pcre2/pcre2/src/
H A Dpcre2_study.c85 startcode pointer to start of the whole pattern's code
104 PCRE2_SPTR startcode, BOOL utf, recurse_check *recurses, int *countptr, in find_minlength()
186 d = find_minlength(re, cc, startcode, utf, recurses, countptr, in find_minlength()
207 prev_cap_d = find_minlength(re, cc, startcode, utf, recurses, countptr, in find_minlength()
496 ce = cs = (PCRE2_UCHAR *)PRIV(find_bracket)(startcode, utf, recno); in find_minlength()
521 dd = find_minlength(re, cs, startcode, utf, &this_recurse, in find_minlength()
557 ce = cs = (PCRE2_UCHAR *)PRIV(find_bracket)(startcode, utf, recno); in find_minlength()
580 d = find_minlength(re, cs, startcode, utf, &this_recurse, countptr, in find_minlength()
643 cs = ce = (PCRE2_UCHAR *)startcode + GET(cc, 1); in find_minlength()
664 prev_recurse_d = find_minlength(re, cs, startcode, ut in find_minlength()
103 find_minlength(const pcre2_real_code *re, PCRE2_SPTR code, PCRE2_SPTR startcode, BOOL utf, recurse_check *recurses, int *countptr, int *backref_cache) find_minlength() argument
[all...]

Completed in 23 milliseconds