Lines Matching refs:mdat_size
4866 int64_t mdat_size) in mov_write_moof_tag() argument
4878 mov_write_sidx_tags(pb, mov, tracks, moof_size + 8 + mdat_size); in mov_write_moof_tag()
4886 if ((ret = mov_add_tfra_entries(pb, mov, tracks, moof_size + 8 + mdat_size)) < 0) in mov_write_moof_tag()
5307 int64_t mdat_size = 0; in mov_flush_fragment() local
5406 mov->mdat_size = 0; in mov_flush_fragment()
5429 mdat_size = avio_tell(mov->mdat_buf); in mov_flush_fragment()
5437 track->data_offset = mdat_size; in mov_flush_fragment()
5449 mdat_size += avio_tell(track->mdat_buf); in mov_flush_fragment()
5454 if (!mdat_size) in mov_flush_fragment()
5473 mdat_size = avio_tell(track->mdat_buf); in mov_flush_fragment()
5482 mov_write_moof_tag(s->pb, mov, moof_tracks, mdat_size); in mov_flush_fragment()
5485 avio_wb32(s->pb, mdat_size + 8); in mov_flush_fragment()
5510 mov->mdat_size = 0; in mov_flush_fragment()
5886 mov->mdat_size += size; in ff_mov_write_packet()
5963 (mov->max_fragment_size && mov->mdat_size + size >= mov->max_fragment_size) || in mov_write_single_packet()
7099 if (mov->mdat_size + 8 <= UINT32_MAX) { in mov_write_trailer()
7101 avio_wb32(pb, mov->mdat_size + 8); in mov_write_trailer()
7109 avio_wb64(pb, mov->mdat_size + 16); in mov_write_trailer()