Home
last modified time | relevance | path

Searched refs:avio_seek (Results 1 – 25 of 178) sorted by relevance

12345678

/third_party/ffmpeg/libavformat/
Daacdec.c95 avio_seek(s->pb, -2, SEEK_CUR); in adts_aac_resync()
121 avio_seek(s->pb, offset, SEEK_SET); in adts_aac_get_frame_length()
132 avio_seek(s->pb, offset + 1, SEEK_SET); in adts_aac_get_frame_length()
140 avio_seek(s->pb, offset + 3, SEEK_SET); in adts_aac_get_frame_length()
153 avio_seek(s->pb, offset + 5, SEEK_SET); in adts_aac_get_frame_length()
168 avio_seek(s->pb, offset + 6, SEEK_SET); in adts_aac_get_raw_data_block_num()
195 avio_seek(s->pb, 0, SEEK_SET); in adts_aac_get_duration()
197 avio_seek(s->pb, 2, SEEK_SET); in adts_aac_get_duration()
249 avio_seek(s->pb, 0, SEEK_SET); in adts_aac_get_duration()
271 avio_seek(s->pb, cur, SEEK_SET); in adts_aac_read_header()
Dwavenc.c434 avio_seek(pb, 4, SEEK_SET); in wav_write_trailer()
436 avio_seek(pb, file_size, SEEK_SET); in wav_write_trailer()
448 avio_seek(pb, wav->fact_pos, SEEK_SET); in wav_write_trailer()
454 avio_seek(pb, file_size, SEEK_SET); in wav_write_trailer()
460 avio_seek(pb, 0, SEEK_SET); in wav_write_trailer()
465 avio_seek(pb, wav->ds64 - 8, SEEK_SET); in wav_write_trailer()
474 avio_seek(pb, wav->data - 4, SEEK_SET); in wav_write_trailer()
477 avio_seek(pb, file_size, SEEK_SET); in wav_write_trailer()
544 avio_seek(pb, start + 16, SEEK_SET); in end_guid()
546 avio_seek(pb, end, SEEK_SET); in end_guid()
[all …]
Dapngdec.c215 if ((ret = avio_seek(pb, -8, SEEK_CUR)) < 0 || in apng_read_header()
228 if ((ret = avio_seek(pb, -8, SEEK_CUR)) < 0) in apng_read_header()
232 if ((ret = avio_seek(pb, -8, SEEK_CUR)) < 0 || in apng_read_header()
357 if ((ret = avio_seek(pb, -46, SEEK_CUR)) < 0 || in apng_read_packet()
371 if ((ret = avio_seek(pb, -8, SEEK_CUR)) < 0 || in apng_read_packet()
379 if ((ret = avio_seek(pb, -8, SEEK_CUR)) < 0) in apng_read_packet()
390 avio_seek(pb, -8, SEEK_CUR); in apng_read_packet()
393 if ((ret = avio_seek(pb, s->streams[0]->codecpar->extradata_size + 8, SEEK_SET)) < 0) in apng_read_packet()
Ddhav.c242 avio_seek(s->pb, avio_size(s->pb) - 8, SEEK_SET); in get_duration()
247 avio_seek(s->pb, -seek_back, SEEK_CUR); in get_duration()
253 avio_seek(s->pb, -12, SEEK_CUR); in get_duration()
257 avio_seek(s->pb, start_pos, SEEK_SET); in get_duration()
263 avio_seek(s->pb, start_pos, SEEK_SET); in get_duration()
280 avio_seek(s->pb, -5, SEEK_CUR); in dhav_read_header()
283 avio_seek(s->pb, avio_size(s->pb) - 8, SEEK_SET); in dhav_read_header()
291 avio_seek(s->pb, -seek_back, SEEK_CUR); in dhav_read_header()
293 avio_seek(s->pb, dhav->last_good_pos, SEEK_SET); in dhav_read_header()
448 if (avio_seek(s->pb, sti->index_entries[index].pos, SEEK_SET) < 0) in dhav_read_seek()
Dflvenc.c466 avio_seek(pb, metadata_count_pos, SEEK_SET); in write_metadata()
469 avio_seek(pb, flv->metadata_size_pos, SEEK_SET); in write_metadata()
542 avio_seek(pb, -data_size - 10, SEEK_CUR); in flv_write_codec_header()
596 avio_seek(s->pb, flv->metadata_size_pos, SEEK_SET); in shift_data()
599 avio_seek(s->pb, flv->metadata_totalsize_pos + metadata_size, SEEK_SET); in shift_data()
738 avio_seek(pb, flv->videosize_offset, SEEK_SET); in flv_write_trailer()
741 avio_seek(pb, flv->audiosize_offset, SEEK_SET); in flv_write_trailer()
744 avio_seek(pb, flv->lasttimestamp_offset, SEEK_SET); in flv_write_trailer()
747 avio_seek(pb, flv->lastkeyframetimestamp_offset, SEEK_SET); in flv_write_trailer()
750 avio_seek(pb, flv->lastkeyframelocation_offset, SEEK_SET); in flv_write_trailer()
[all …]
Dmp3dec.c302 avio_seek(s->pb, base + 4 + 32, SEEK_SET); in mp3_parse_vbri_tag()
350 avio_seek(s->pb, base + vbrtag_size, SEEK_SET); in mp3_parse_vbr_tags()
397 avio_seek(s->pb, off, SEEK_SET); in mp3_read_header()
411 ret = avio_seek(s->pb, off, SEEK_SET); in mp3_read_header()
420 ret = avio_seek(s->pb, off + i, SEEK_SET); in mp3_read_header()
432 ret = avio_seek(s->pb, off, SEEK_SET); in mp3_read_header()
476 int64_t ret = avio_seek(pb, pos, SEEK_SET); in check()
506 avio_seek(s->pb, FFMAX(target_pos - SEEK_WINDOW, 0), SEEK_SET); in mp3_sync()
507 ret = avio_seek(s->pb, target_pos, SEEK_SET); in mp3_sync()
546 return avio_seek(s->pb, best_pos, SEEK_SET); in mp3_sync()
Dvag.c55 avio_seek(s->pb, 0x1000, SEEK_SET); in vag_read_header()
58 avio_seek(s->pb, 0, SEEK_SET); in vag_read_header()
62 avio_seek(s->pb, st->codecpar->ch_layout.nb_channels > 1 ? 0x80 : 0x30, SEEK_SET); in vag_read_header()
Dtiertexseq.c88 avio_seek(pb, 256, SEEK_SET); in seq_init_frame_buffers()
118 avio_seek(pb, seq->current_frame_offs + data_offs, SEEK_SET); in seq_fill_buffer()
133 avio_seek(pb, seq->current_frame_offs, SEEK_SET); in seq_parse_frame_data()
275 avio_seek(pb, seq->current_frame_offs + seq->current_pal_data_offs, SEEK_SET); in seq_read_packet()
298 avio_seek(pb, seq->current_frame_offs + seq->current_audio_data_offs, SEEK_SET); in seq_read_packet()
Danm.c141 ret = avio_seek(pb, anm->page_table_offset, SEEK_SET); in read_header()
185 avio_seek(pb, anm->page_table_offset + MAX_PAGES*6 + (anm->page<<16), SEEK_SET); in read_packet()
202 avio_seek(pb, anm->page_table_offset + MAX_PAGES*6 + (anm->page<<16) + in read_packet()
205 avio_seek(pb, tmp, SEEK_SET); in read_packet()
Dfilmstripdec.c47 avio_seek(pb, avio_size(pb) - 36, SEEK_SET); in read_header()
77 avio_seek(pb, 0, SEEK_SET); in read_header()
102 …if (avio_seek(s->pb, FFMAX(timestamp, 0) * st->codecpar->width * st->codecpar->height * 4, SEEK_SE… in read_seek()
Daiffenc.c73 avio_seek(pb, pos - 4, SEEK_SET); in put_id3v2_tags()
75 avio_seek(pb, end, SEEK_SET); in put_id3v2_tags()
248 avio_seek(pb, aiff->form, SEEK_SET); in aiff_write_trailer()
252 avio_seek(pb, aiff->frames, SEEK_SET); in aiff_write_trailer()
256 avio_seek(pb, aiff->ssnd, SEEK_SET); in aiff_write_trailer()
Daaxdec.c216 ret = ret64 = avio_seek(pb, a->strings_offset, SEEK_SET); in aax_read_header()
244 ret = ret64 = avio_seek(pb, data_offset, SEEK_SET); in aax_read_header()
279 ret64 = avio_seek(pb, a->segments[0].start, SEEK_SET); in aax_read_header()
285 avio_seek(pb, -4, SEEK_CUR); in aax_read_header()
335 avio_seek(pb, a->segments[a->current_segment].start, SEEK_SET); in aax_read_packet()
341 avio_seek(pb, -4, SEEK_CUR); in aax_read_packet()
Dbintext.c97 avio_seek(pb, start_pos, SEEK_SET); in next_tag_read()
196 avio_seek(pb, 0, SEEK_SET); in bintext_read_header()
249 avio_seek(pb, 9 + st->codecpar->extradata_size, SEEK_SET); in xbin_read_header()
294 avio_seek(pb, 1 + 192 + 4096, SEEK_SET); in adf_read_header()
334 avio_seek(pb, avio_size(pb) - 4096 - 48, SEEK_SET); in idf_read_header()
347 avio_seek(pb, 12, SEEK_SET); in idf_read_header()
Dmca.c123 if ((ret_size = avio_seek(s->pb, data_offset, SEEK_SET)) < 0) in read_header()
160 if ((ret_size = avio_seek(s->pb, coef_offset, SEEK_SET)) < 0) in read_header()
171 if ((ret_size = avio_seek(s->pb, m->data_start, SEEK_SET)) < 0) in read_header()
211 ret = avio_seek(s->pb, m->data_start + timestamp * m->block_size * in read_seek()
Dgifdec.c202 if (avio_seek(pb, 0, SEEK_SET) != 0) in gif_read_header()
302 avio_seek(pb, -ret, SEEK_CUR); in gif_read_packet()
336 if (avio_seek(pb, frame_start, SEEK_SET) != frame_start) in gif_read_packet()
362 avio_seek(pb, frame_start, SEEK_SET); in gif_read_packet()
379 return avio_seek(pb, 0, SEEK_SET); in gif_read_packet()
Ddss.c75 avio_seek(pb, offset, SEEK_SET); in dss_read_metadata_date()
97 avio_seek(pb, offset, SEEK_SET); in dss_read_metadata_string()
140 avio_seek(pb, DSS_HEAD_OFFSET_ACODEC, SEEK_SET); in dss_read_header()
165 if (avio_seek(pb, ctx->dss_header_size, SEEK_SET) != ctx->dss_header_size) in dss_read_header()
335 ret = avio_seek(s->pb, seekto, SEEK_SET); in dss_read_seek()
Dmpc.c116 avio_seek(s->pb, pos, SEEK_SET); in mpc_read_header()
133 avio_seek(s->pb, c->frames[c->curframe].pos, SEEK_SET); in mpc_read_packet()
147 avio_seek(s->pb, pos, SEEK_SET); in mpc_read_packet()
171 avio_seek(s->pb, -4, SEEK_CUR); in mpc_read_packet()
Dmmf.c64 avio_seek(pb, start - 4, SEEK_SET); in end_tag_be()
66 avio_seek(pb, pos, SEEK_SET); in end_tag_be()
161 avio_seek(pb, mmf->atsqpos, SEEK_SET); in mmf_write_trailer()
176 avio_seek(pb, pos, SEEK_SET); in mmf_write_trailer()
Davienc.c215 avio_seek(pb, avist->frames_hdr_strm, SEEK_SET); in avi_write_counters()
226 avio_seek(pb, avi->frames_hdr_all, SEEK_SET); in avi_write_counters()
229 avio_seek(pb, file_size, SEEK_SET); in avi_write_counters()
607 avio_seek(pb, avist->indexes.indx_start - 8, SEEK_SET); in update_odml_entry()
625 avio_seek(pb, pos, SEEK_SET); in update_odml_entry()
807 avio_seek(pb, avist->pal_offset, SEEK_SET); in avi_write_packet()
812 avio_seek(pb, cur_offset, SEEK_SET); in avi_write_packet()
823 avio_seek(pb, avist->strh_flags_offset, SEEK_SET); in avi_write_packet()
825 avio_seek(pb, cur_offset, SEEK_SET); in avi_write_packet()
934 avio_seek(pb, avi->odml_list - 8, SEEK_SET); in avi_write_trailer()
[all …]
Dkvag.c114 return avio_seek(s->pb, KVAG_HEADER_SIZE, SEEK_SET); in kvag_seek()
179 avio_seek(s->pb, 4, SEEK_SET); in kvag_write_trailer()
181 avio_seek(s->pb, file_size, SEEK_SET); in kvag_write_trailer()
Drsoenc.c87 avio_seek(pb, 2, SEEK_SET); in rso_write_trailer()
89 avio_seek(pb, file_size, SEEK_SET); in rso_write_trailer()
Dcinedec.c129 avio_seek(pb, offImageHeader, SEEK_SET); in cine_read_header()
159 avio_seek(pb, offSetup, SEEK_SET); in cine_read_header()
274 avio_seek(pb, offImageOffsets, SEEK_SET); in cine_read_header()
298 ret64 = avio_seek(pb, sti->index_entries[cine->pts].pos, SEEK_SET); in cine_read_packet()
Dmoflex.c163 avio_seek(pb, -2, SEEK_CUR); in moflex_read_sync()
258 avio_seek(s->pb, 0, SEEK_SET); in moflex_read_header()
289 avio_seek(pb, -1, SEEK_CUR); in moflex_read_packet()
348 avio_seek(pb, m->pos + m->size, SEEK_SET); in moflex_read_packet()
Dwvenc.c70 avio_seek(ctx->pb, 12, SEEK_SET); in wv_write_trailer()
72 avio_seek(ctx->pb, pos, SEEK_SET); in wv_write_trailer()
Dasfenc.c273 avio_seek(pb, pos + 16, SEEK_SET); in end_header()
275 avio_seek(pb, pos1, SEEK_SET); in end_header()
546 avio_seek(pb, hpos + 42, SEEK_SET); in asf_write_header1()
548 avio_seek(pb, pos1, SEEK_SET); in asf_write_header1()
634 avio_seek(pb, es_pos, SEEK_SET); in asf_write_header1()
636 avio_seek(pb, cur_pos, SEEK_SET); in asf_write_header1()
720 avio_seek(pb, header_offset - 10 - 30, SEEK_SET); in asf_write_header1()
722 avio_seek(pb, header_offset - 2 - 30, SEEK_SET); in asf_write_header1()
728 avio_seek(pb, header_offset - 14, SEEK_SET); in asf_write_header1()
730 avio_seek(pb, cur_pos, SEEK_SET); in asf_write_header1()
[all …]

12345678