Lines Matching refs:seekhead
136 mkv_seekhead seekhead; member
360 mkv_seekhead *seekhead = &mkv->seekhead; in mkv_add_seekhead_entry() local
362 av_assert1(seekhead->num_entries < MAX_SEEKHEAD_ENTRIES); in mkv_add_seekhead_entry()
364 seekhead->entries[seekhead->num_entries].elementid = elementid; in mkv_add_seekhead_entry()
365 seekhead->entries[seekhead->num_entries++].segmentpos = filepos - mkv->segment_offset; in mkv_add_seekhead_entry()
472 mkv->seekhead.filepos = avio_tell(pb); in mkv_start_seekhead()
476 mkv->seekhead.reserved_size = MAX_SEEKHEAD_ENTRIES * MAX_SEEKENTRY_SIZE + 14; in mkv_start_seekhead()
477 put_ebml_void(pb, mkv->seekhead.reserved_size); in mkv_start_seekhead()
494 mkv_seekhead *seekhead = &mkv->seekhead; in mkv_write_seekhead() local
498 if ((ret64 = avio_seek(pb, seekhead->filepos, SEEK_SET)) < 0) in mkv_write_seekhead()
505 for (i = 0; i < seekhead->num_entries; i++) { in mkv_write_seekhead()
506 mkv_seekhead_entry *entry = &seekhead->entries[i]; in mkv_write_seekhead()
522 remaining = seekhead->filepos + seekhead->reserved_size - avio_tell(pb); in mkv_write_seekhead()