Home
last modified time | relevance | path

Searched refs:skip_bytes (Results 1 - 14 of 14) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Djpeg2000_parser.c40 uint32_t skip_bytes; // skip bytes inside codestream data member
59 m->skip_bytes = 0; in reset_context()
107 if (m->skip_bytes) { in find_frame_end()
109 if (m->skip_bytes > 8) { in find_frame_end()
112 int skip = FFMIN(FFMIN((int64_t)m->skip_bytes - 8, buf_size - i - 9), INT_MAX); in find_frame_end()
114 m->skip_bytes -= skip; in find_frame_end()
119 m->skip_bytes--; in find_frame_end()
124 m->skip_bytes = (state64 & 0xFFFFFFFF) - 9 > 0? in find_frame_end()
169 m->skip_bytes = (state64 & 0xFFFF)-1; in find_frame_end()
172 if (i + m->skip_bytes in find_frame_end()
[all...]
H A Dcri_parser.c37 int skip_bytes; member
64 if (bpc->skip_bytes > 0) { in cri_parse()
65 bpc->skip_bytes--; in cri_parse()
66 if (bpc->skip_bytes == 0) in cri_parse()
73 if (bpc->skip_bytes == 0 && bpc->read_bytes >= 8) { in cri_parse()
74 bpc->skip_bytes = av_bswap32(state & 0xFFFFFFFF); in cri_parse()
80 if (bpc->chunk == 0x01000000 && bpc->skip_bytes == 4 && in cri_parse()
H A Dcabac_functions.h202 #ifndef skip_bytes
203 static av_unused const uint8_t* skip_bytes(CABACContext *c, int n) { in skip_bytes() function
H A Dshorten.c440 int skip_bytes; in read_header() local
463 skip_bytes = get_uint(s, NSKIPSIZE); in read_header()
464 if ((unsigned)skip_bytes > FFMAX(get_bits_left(&s->gb), 0)/8) { in read_header()
465 av_log(s->avctx, AV_LOG_ERROR, "invalid skip_bytes: %d\n", skip_bytes); in read_header()
469 for (i = 0; i < skip_bytes; i++) in read_header()
H A Dhevc_cabac.c474 return skip_bytes(&lc->cc, 0) == NULL ? AVERROR_INVALIDDATA : 0; in cabac_reinit()
H A Dhevcdec.c1459 const uint8_t *pcm = skip_bytes(&lc->cc, (length + 7) >> 3); in hls_pcm_sample()
/third_party/ffmpeg/libavformat/
H A Dmms.c121 uint64_t skip_bytes = 88; in ff_mms_asf_header_parser() local
123 if (end - p < skip_bytes + 4) { in ff_mms_asf_header_parser()
128 skip_bytes += 4 + AV_RL16(p + skip_bytes + 2); in ff_mms_asf_header_parser()
131 if (end - p < skip_bytes + 22) { in ff_mms_asf_header_parser()
136 skip_bytes += 22 + AV_RL32(p + skip_bytes + 18); in ff_mms_asf_header_parser()
138 if (end - p < skip_bytes) { in ff_mms_asf_header_parser()
143 if (chunksize - skip_bytes > 24) in ff_mms_asf_header_parser()
144 chunksize = skip_bytes; in ff_mms_asf_header_parser()
[all...]
H A Drtmpproto.c101 int skip_bytes; ///< number of bytes to skip from the input FLV stream in the next write call member
2879 rt->skip_bytes = 13; in rtmp_open()
2967 if (rt->skip_bytes) { in rtmp_write()
2968 int skip = FFMIN(rt->skip_bytes, size_temp); in rtmp_write()
2971 rt->skip_bytes -= skip; in rtmp_write()
3023 rt->skip_bytes = 4; in rtmp_write()
/third_party/python/Lib/zoneinfo/
H A D_common.py40 skip_bytes = (
49 fobj.seek(skip_bytes, 1)
110 skip_bytes = header.isutcnt + header.isstdcnt + header.leapcnt * 12
111 fobj.seek(skip_bytes, 1)
/third_party/ffmpeg/tests/
H A Dtiny_psnr.c133 static int run_psnr(FILE *f[2], int len, int shift, int skip_bytes) in run_psnr() argument
171 fseek(f[0], skip_bytes, SEEK_CUR); in run_psnr()
172 fseek(f[1], skip_bytes, SEEK_CUR); in run_psnr()
270 int skip_bytes = argc < 6 ? 0 : atoi(argv[5]); in main() local
312 int psnr = run_psnr(f, len, shift, skip_bytes); in main()
/third_party/python/Lib/
H A D_pyio.py2373 skip_bytes = int(self._b2cratio * chars_to_skip)
2375 assert skip_bytes <= len(next_input)
2376 while skip_bytes > 0:
2379 n = len(decoder.decode(next_input[:skip_bytes]))
2388 skip_bytes -= len(b)
2392 skip_bytes -= skip_back
2395 skip_bytes = 0
2399 start_pos = position + skip_bytes
2413 for i in range(skip_bytes, len(next_input)):
/third_party/python/Modules/_io/
H A Dtextio.c2625 Py_ssize_t skip_bytes, skip_back; in _io_TextIOWrapper_tell_impl() local
2733 skip_bytes = (Py_ssize_t) (self->b2cratio * chars_to_skip); in _io_TextIOWrapper_tell_impl()
2737 while (skip_bytes > 0) { in _io_TextIOWrapper_tell_impl()
2741 DECODER_DECODE(input, skip_bytes, chars_decoded); in _io_TextIOWrapper_tell_impl()
2751 skip_bytes -= dec_buffer_len; in _io_TextIOWrapper_tell_impl()
2756 skip_bytes -= skip_back; in _io_TextIOWrapper_tell_impl()
2760 if (skip_bytes <= 0) { in _io_TextIOWrapper_tell_impl()
2761 skip_bytes = 0; in _io_TextIOWrapper_tell_impl()
2767 cookie.start_pos += skip_bytes; in _io_TextIOWrapper_tell_impl()
2781 input += skip_bytes; in _io_TextIOWrapper_tell_impl()
[all...]
/third_party/pulseaudio/src/modules/bluetooth/
H A Dmodule-bluez5-device.c1582 uint64_t skip_bytes; in thread_func() local
1587 skip_bytes = bytes_to_send - 2 * u->write_block_size; in thread_func()
1588 skip_usec = pa_bytes_to_usec(skip_bytes, &u->encoder_sample_spec); in thread_func()
1592 (unsigned long long) skip_bytes); in thread_func()
1594 while (skip_bytes > 0) { in thread_func()
1597 if (skip_bytes > max_render_size) in thread_func()
1600 bytes_to_render = skip_bytes; in thread_func()
1605 skip_bytes -= bytes_to_render; in thread_func()
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.c7185 size_t skip_bytes = d->skip; in upb_pbdecoder_resume() local
7187 CHECK_RETURN(skip(d, skip_bytes)); in upb_pbdecoder_resume()

Completed in 47 milliseconds