Lines Matching refs:index_entries
399 MXFIndexEntry *index_entries; member
1835 if (!(mxf->index_entries[i].flags & 0x33)) { // I-frame in mxf_write_index_table_segment()
1843 if (pic_num_in_gop != mxf->index_entries[i].temporal_ref) { in mxf_write_index_table_segment()
1845 if (pic_num_in_gop == mxf->index_entries[j].temporal_ref) in mxf_write_index_table_segment()
1855 if ((mxf->index_entries[i].flags & 0x30) == 0x30) { // back and forward prediction in mxf_write_index_table_segment()
1860 if ((mxf->index_entries[i].flags & 0x20) == 0x20) // only forward in mxf_write_index_table_segment()
1865 if (!(mxf->index_entries[i].flags & 0x33) && // I-frame in mxf_write_index_table_segment()
1866 mxf->index_entries[i].flags & 0x40 && !temporal_offset) in mxf_write_index_table_segment()
1867 mxf->index_entries[i].flags |= 0x80; // random access in mxf_write_index_table_segment()
1868 avio_w8(pb, mxf->index_entries[i].flags); in mxf_write_index_table_segment()
1870 avio_wb64(pb, mxf->index_entries[i].offset); in mxf_write_index_table_segment()
1872 avio_wb32(pb, mxf->index_entries[i].slice_offset); in mxf_write_index_table_segment()
2850 mxf->index_entries[mxf->edit_units_count].offset = mxf->body_offset; in mxf_write_opatom_packet()
2851 mxf->index_entries[mxf->edit_units_count].flags = ie->flags; in mxf_write_opatom_packet()
2852 mxf->index_entries[mxf->edit_units_count].temporal_ref = ie->temporal_ref; in mxf_write_opatom_packet()
2899 if ((err = av_reallocp_array(&mxf->index_entries, mxf->edit_units_count in mxf_write_packet()
2900 + EDIT_UNITS_PER_BODY, sizeof(*mxf->index_entries))) < 0) { in mxf_write_packet()
2975 mxf->index_entries[mxf->edit_units_count].offset = mxf->body_offset; in mxf_write_packet()
2976 mxf->index_entries[mxf->edit_units_count].flags = ie.flags; in mxf_write_packet()
2977 mxf->index_entries[mxf->edit_units_count].temporal_ref = ie.temporal_ref; in mxf_write_packet()
2986 mxf->index_entries[mxf->edit_units_count-1].slice_offset = in mxf_write_packet()
2987 mxf->body_offset - mxf->index_entries[mxf->edit_units_count-1].offset; in mxf_write_packet()
3092 av_freep(&mxf->index_entries); in mxf_deinit()