/third_party/ffmpeg/libavformat/ |
D | brstm.c | 136 pos = avio_tell(s->pb); in read_header() 149 for (i = 0; avio_tell(s->pb) < header_size in read_header() 177 avio_skip(s->pb, info_offset - avio_tell(s->pb)); in read_header() 178 pos = avio_tell(s->pb); in read_header() 195 avio_skip(s->pb, pos + h1offset + 8 - avio_tell(s->pb)); in read_header() 266 avio_skip(s->pb, pos + toffset - avio_tell(s->pb)); in read_header() 275 avio_skip(s->pb, pos + toffset - avio_tell(s->pb) - 8LL * (st->codecpar->channels + 1)); in read_header() 285 avio_skip(s->pb, pos + toffset - avio_tell(s->pb)); in read_header() 289 avio_skip(s->pb, pos + 16LL + b->offsets[ch].offset - avio_tell(s->pb)); in read_header() 301 if (size < (avio_tell(s->pb) - pos)) { in read_header() [all …]
|
D | flvenc.c | 285 flv->metadata_size_pos = avio_tell(pb); in write_metadata() 298 metadata_count_pos = avio_tell(pb); in write_metadata() 309 flv->duration_offset = avio_tell(pb); in write_metadata() 390 flv->filesize_offset = avio_tell(pb); in write_metadata() 419 flv->datasize_offset = avio_tell(pb); in write_metadata() 425 flv->videosize_offset = avio_tell(pb); in write_metadata() 431 flv->audiosize_offset = avio_tell(pb); in write_metadata() 437 flv->lasttimestamp_offset = avio_tell(pb); in write_metadata() 443 flv->lastkeyframetimestamp_offset = avio_tell(pb); in write_metadata() 449 flv->lastkeyframelocation_offset = avio_tell(pb); in write_metadata() [all …]
|
D | rtpdec_qt.c | 129 while (avio_tell(&pb) + 4 < pos + data_len) { in qt_rtp_parse_packet() 132 if (avio_tell(&pb) + tlv_len > pos + data_len) in qt_rtp_parse_packet() 169 avio_skip(&pb, ((avio_tell(&pb) + 3) & ~3) - avio_tell(&pb)); in qt_rtp_parse_packet() 178 alen = len - avio_tell(&pb); in qt_rtp_parse_packet() 200 memcpy(qt->pkt->data + qt->pkt->size, buf + avio_tell(&pb), alen); in qt_rtp_parse_packet() 223 memcpy(pkt->data, buf + avio_tell(&pb), qt->bytes_per_frame); in qt_rtp_parse_packet() 235 buf + avio_tell(&pb) + qt->bytes_per_frame, in qt_rtp_parse_packet()
|
D | mpc8.c | 127 pos = avio_tell(pb); in mpc8_get_chunk_header() 130 pos -= avio_tell(pb); in mpc8_get_chunk_header() 214 pos = avio_tell(pb); in mpc8_handle_chunk() 235 c->header_pos = avio_tell(pb); in mpc8_read_header() 242 pos = avio_tell(pb); in mpc8_read_header() 256 pos = avio_tell(pb); in mpc8_read_header() 281 size -= avio_tell(pb) - pos; in mpc8_read_header() 286 int64_t pos = avio_tell(s->pb); in mpc8_read_header() 301 pos = avio_tell(s->pb); in mpc8_read_packet()
|
D | gxfenc.c | 147 size = avio_tell(pb) - pos; in updatePacketSize() 150 size = avio_tell(pb) - pos; in updatePacketSize() 152 curpos = avio_tell(pb); in updatePacketSize() 163 curpos = avio_tell(pb); in updateSize() 257 pos = avio_tell(pb); in gxf_write_track_description() 316 pos = avio_tell(pb); in gxf_write_material_data_section() 366 pos = avio_tell(pb); in gxf_write_track_description_section() 380 int64_t pos = avio_tell(pb); in gxf_write_map_packet() 412 int64_t pos = avio_tell(pb); in gxf_write_flt_packet() 503 int64_t pos = avio_tell(pb); in gxf_write_umf_track_description() [all …]
|
D | dxa.c | 102 c->vidpos = avio_tell(pb) + size; in dxa_read_header() 115 while(avio_tell(pb) < c->vidpos && !avio_feof(pb)){ in dxa_read_header() 125 c->wavpos = avio_tell(pb); in dxa_read_header() 144 c->vidpos = avio_tell(pb); in dxa_read_header() 169 c->wavpos = avio_tell(s->pb); in dxa_read_packet() 188 c->vidpos = avio_tell(s->pb); in dxa_read_packet() 218 c->vidpos = avio_tell(s->pb); in dxa_read_packet()
|
D | aiffenc.c | 58 pos = avio_tell(pb); in put_id3v2_tags() 69 end = avio_tell(pb); in put_id3v2_tags() 132 aiff->form = avio_tell(pb); in aiff_write_header() 163 aiff->frames = avio_tell(pb); in aiff_write_header() 195 aiff->ssnd = avio_tell(pb); /* Sound chunk size */ in aiff_write_header() 240 end_size = file_size = avio_tell(pb); in aiff_write_trailer() 264 file_size = avio_tell(pb); in aiff_write_trailer()
|
D | aiffdec.c | 264 position = avio_tell(pb); in aiff_read_header() 273 if (position + size > avio_tell(pb)) in aiff_read_header() 274 avio_skip(pb, position + size - avio_tell(pb)); in aiff_read_header() 294 aiff->data_end = avio_tell(pb) + size; in aiff_read_header() 297 offset += avio_tell(pb); /* Compute absolute data offset */ in aiff_read_header() 338 aiff->data_end = avio_tell(pb) + size; in aiff_read_header() 339 offset = avio_tell(pb) + 8; in aiff_read_header() 395 max_size = aiff->data_end - avio_tell(s->pb); in aiff_read_packet()
|
D | wavdec.c | 90 int64_t pos = avio_tell(s->pb); in set_spdif() 356 wav->unaligned = avio_tell(s->pb) & 1; in wav_read_header() 413 next_tag_ofs = avio_tell(pb) + size; in wav_read_header() 445 next_tag_ofs = wav->data_end = avio_tell(pb) + data_size; in wav_read_header() 456 data_ofs = avio_tell(pb); in wav_read_header() 498 wav->smv_data_ofs = avio_tell(pb) + (size - 5) * 3; in wav_read_header() 526 while (avio_tell(pb) < next_tag_ofs && in wav_read_header() 539 avio_skip(pb, avio_tell(pb) & 1); in wav_read_header() 721 uint64_t old_pos = avio_tell(s->pb); in wav_read_packet() 750 left = wav->data_end - avio_tell(s->pb); in wav_read_packet() [all …]
|
D | iff.c | 220 while (avio_tell(pb) + 12 <= eof && !avio_feof(pb)) { in parse_dsd_diin() 223 uint64_t orig_pos = avio_tell(pb); in parse_dsd_diin() 243 avio_skip(pb, size - (avio_tell(pb) - orig_pos) + (size & 1)); in parse_dsd_diin() 257 while (avio_tell(pb) + 12 <= eof && !avio_feof(pb)) { in parse_dsd_prop() 260 uint64_t orig_pos = avio_tell(pb); in parse_dsd_prop() 329 if (size < avio_tell(pb) - orig_pos) { in parse_dsd_prop() 348 avio_skip(pb, size - (avio_tell(pb) - orig_pos) + (size & 1)); in parse_dsd_prop() 363 chunk_pos = avio_tell(pb); in read_dst_frame() 369 data_pos = avio_tell(pb); in read_dst_frame() 377 iff->body_pos = avio_tell(pb) - (iff->is_64bit ? 12 : 8); in read_dst_frame() [all …]
|
D | rtpdec_asf.c | 146 rt->asf_pb_pos = avio_tell(&pb); in ff_wms_parse_sdp_a_line() 214 while (avio_tell(pb) + 4 < len) { in asfrtp_parse_packet() 215 int start_off = avio_tell(pb); in asfrtp_parse_packet() 225 off = avio_tell(pb); in asfrtp_parse_packet() 234 if (asf->pktbuf && len_off != avio_tell(asf->pktbuf)) { in asfrtp_parse_packet() 281 rt->asf_pb_pos = avio_tell(pb); in asfrtp_parse_packet()
|
D | mmf.c | 60 pos = avio_tell(pb); in end_tag_be() 108 mmf->atrpos = avio_tell(pb); in mmf_write_header() 118 mmf->atsqpos = avio_tell(pb); in mmf_write_header() 154 pos = avio_tell(pb); in mmf_write_trailer() 255 mmf->data_end = avio_tell(pb) + size; in mmf_read_header() 283 left = mmf->data_end - avio_tell(s->pb); in mmf_read_packet()
|
D | movenccenc.c | 284 int64_t curpos = avio_tell(pb); in update_size() 295 int64_t pos = avio_tell(pb); in mov_cenc_write_senc_tag() 301 *auxiliary_info_offset = avio_tell(pb); in mov_cenc_write_senc_tag() 308 int64_t pos = avio_tell(pb); in mov_cenc_write_saio_tag() 327 int64_t pos = avio_tell(pb); in mov_cenc_write_saiz_tag() 350 int64_t pos = avio_tell(pb); in mov_cenc_write_schi_tag() 366 int64_t pos = avio_tell(pb); in ff_mov_cenc_write_sinf_tag()
|
D | wtvenc.c | 141 wctx->last_chunk_pos = avio_tell(pb) - wctx->timeline_start_pos; in write_chunk_header() 174 int64_t chunk_len = avio_tell(pb) - (wctx->last_chunk_pos + wctx->timeline_start_pos); in finish_chunk_noindex() 288 hdr_pos_start = avio_tell(pb); in write_stream_codec_info() 295 hdr_size = avio_tell(pb) - hdr_pos_start; in write_stream_codec_info() 403 pad = (1 << WTV_SECTOR_BITS) - avio_tell(pb); in write_header() 406 wctx->timeline_start_pos = avio_tell(pb); in write_header() 554 len_pos = avio_tell(pb); in write_root_table() 578 size = avio_tell(pb) - sector_pos; in write_root_table() 600 int64_t fat = avio_tell(s->pb); in write_fat_sector() 606 int64_t fat1 = avio_tell(s->pb); in write_fat_sector() [all …]
|
D | cafdec.c | 117 strt = avio_tell(pb); in read_kuki_chunk() 119 skip = size - (avio_tell(pb) - strt); in read_kuki_chunk() 197 ccount = avio_tell(pb); in read_pakt_chunk() 223 if (avio_tell(pb) - ccount > size) { in read_pakt_chunk() 227 avio_skip(pb, ccount + size - avio_tell(pb)); in read_pakt_chunk() 284 pos = avio_tell(pb); in read_header() 291 caf->data_start = avio_tell(pb); in read_header() 334 avio_skip(pb, FFMAX(0, pos + size - avio_tell(pb))); in read_header() 384 left = (caf->data_start + caf->data_size) - avio_tell(pb); in read_packet()
|
D | rmdec.c | 140 int64_t startpos = avio_tell(pb); in rm_read_audio_stream_info() 145 if ((startpos + header_size) >= avio_tell(pb) + 2) { in rm_read_audio_stream_info() 151 if ((startpos + header_size) > avio_tell(pb)) in rm_read_audio_stream_info() 152 avio_skip(pb, header_size + startpos - avio_tell(pb)); in rm_read_audio_stream_info() 335 codec_pos = avio_tell(pb); in ff_rm_read_mdpr_codecdata() 400 …if ((ret = rm_read_extradata(s, pb, st->codecpar, codec_data_size - (avio_tell(pb) - codec_pos))) … in ff_rm_read_mdpr_codecdata() 417 size = avio_tell(pb) - codec_pos; in ff_rm_read_mdpr_codecdata() 453 str_id, avio_tell(pb)); in rm_read_index() 455 } else if ((avio_size(pb) - avio_tell(pb)) / 14 < n_pkts) { in rm_read_index() 459 str_id, avio_size(pb), avio_tell(pb), in rm_read_index() [all …]
|
D | nutdec.c | 145 return avio_tell(bc) - 8; in find_startcode() 178 pos -= avio_tell(bc); in skip_reserved() 202 end = length + avio_tell(bc); in decode_main_header() 312 if (end > avio_tell(bc) + 4) { in decode_main_header() 339 if (nut->version > 3 && end > avio_tell(bc) + 4) { in decode_main_header() 381 end += avio_tell(bc); in decode_stream_header() 512 end += avio_tell(bc); in decode_info_header() 626 nut->last_syncpoint_pos = avio_tell(bc) - 8; in decode_syncpoint() 629 end += avio_tell(bc); in decode_syncpoint() 700 end += avio_tell(bc); in find_and_decode_index() [all …]
|
D | dhav.c | 181 start = avio_tell(s->pb) - 4; in read_chunk() 206 end = avio_tell(s->pb); in read_chunk() 233 int64_t start_pos = avio_tell(s->pb); in get_duration() 273 dhav->last_good_pos = avio_tell(s->pb); in dhav_read_header() 277 dhav->last_good_pos = avio_tell(s->pb); in dhav_read_header() 286 dhav->last_good_pos = avio_tell(s->pb); in dhav_read_header() 294 dhav->last_good_pos = avio_tell(s->pb); in dhav_read_header() 449 dhav->last_good_pos = avio_tell(s->pb); in dhav_read_seek()
|
D | tta.c | 59 start_offset = avio_tell(s->pb); in tta_read_header() 107 framepos = avio_tell(s->pb); in tta_read_header() 112 if (ff_alloc_extradata(st->codecpar, avio_tell(s->pb) - start_offset)) in tta_read_header() 142 int64_t pos = avio_tell(s->pb); in tta_read_header()
|
D | avienc.c | 136 idx->cluster[cl][id].pos = avio_tell(pb) - avi->movi_list; in avi_add_ientry() 207 file_size = avio_tell(pb); in avi_write_counters() 342 avi->frames_hdr_all = avio_tell(pb); /* remember this offset to fill later */ in avi_write_header() 395 avist->strh_flags_offset = avio_tell(pb); in avi_write_header() 418 avist->frames_hdr_strm = avio_tell(pb); in avi_write_header() 457 avist->pal_offset = avio_tell(pb) + 40; in avi_write_header() 608 pos = avio_tell(pb); in update_odml_entry() 648 pos = avio_tell(pb); in avi_write_ix() 651 av_assert1(avio_tell(pb) - pos == size); in avi_write_ix() 665 ix = avio_tell(pb); in avi_write_ix() [all …]
|
D | asfdec_o.c | 169 if (size < INT64_MAX - offset && avio_tell(pb) != offset + size) in align_position() 956 asf->first_packet_offset = avio_tell(pb); in asf_read_data() 1086 asf->sub_header_offset = avio_tell(pb); in asf_read_subpayload() 1106 if (asf->nb_mult_left && (avio_tell(pb) >= in asf_read_subpayload() 1111 if (avio_tell(pb) >= asf->packet_offset + asf->packet_size - asf->pad_len) { in asf_read_subpayload() 1115 if (avio_tell(pb) != asf->packet_offset + asf->packet_size) { in asf_read_subpayload() 1120 avio_tell(pb), asf->packet_offset + asf->packet_size); in asf_read_subpayload() 1187 pay_len, asf->packet_size, avio_tell(pb)); in asf_read_multiple_payload() 1233 offset = avio_tell(pb); in asf_read_single_payload() 1243 avio_tell(pb)); in asf_read_single_payload() [all …]
|
D | movenc.c | 137 int64_t curpos = avio_tell(pb); in update_size() 173 int64_t pos = avio_tell(pb); in mov_write_stco_tag() 198 int64_t pos = avio_tell(pb); in mov_write_stsz_tag() 234 int64_t pos = avio_tell(pb); in mov_write_stsc_tag() 238 entryPos = avio_tell(pb); in mov_write_stsc_tag() 249 curpos = avio_tell(pb); in mov_write_stsc_tag() 262 int64_t pos = avio_tell(pb); in mov_write_stss_tag() 266 entryPos = avio_tell(pb); in mov_write_stss_tag() 274 curpos = avio_tell(pb); in mov_write_stss_tag() 286 int64_t pos = avio_tell(pb); in mov_write_sdtp_tag() [all …]
|
D | nistspheredec.c | 57 if (avio_tell(s->pb) >= header_size) in nist_read_header() 85 if (avio_tell(s->pb) > header_size) in nist_read_header() 88 avio_skip(s->pb, header_size - avio_tell(s->pb)); in nist_read_header()
|
D | voc_packet.c | 40 avio_tell(pb), in ff_voc_get_packet() 58 if (filesize - avio_tell(pb) > INT_MAX) in ff_voc_get_packet() 60 voc->remaining_size = filesize - avio_tell(pb); in ff_voc_get_packet()
|
D | vividas.c | 309 off = avio_tell(pb); in track_header() 333 off = avio_tell(pb); in track_header() 349 off = avio_tell(pb); in track_header() 369 off = avio_tell(pb); in track_header() 383 if (avio_tell(pb) < off) { in track_header() 550 header_end = avio_tell(pb); in viv_read_header() 571 int64_t here = avio_tell(pb); in viv_read_header() 618 viv->sb_offset = avio_tell(pb); in viv_read_header() 677 off = avio_tell(pb); in viv_read_packet() 714 viv->audio_subpackets[viv->n_audio_subpackets].start = (int)(off - avio_tell(pb)); in viv_read_packet()
|