Lines Matching defs:index_entries
399 MXFIndexEntry *index_entries;
1837 if (!(mxf->index_entries[i].flags & 0x33)) { // I-frame
1845 if (pic_num_in_gop != mxf->index_entries[i].temporal_ref) {
1847 if (pic_num_in_gop == mxf->index_entries[j].temporal_ref)
1857 if ((mxf->index_entries[i].flags & 0x30) == 0x30) { // back and forward prediction
1862 if ((mxf->index_entries[i].flags & 0x20) == 0x20) // only forward
1867 if (!(mxf->index_entries[i].flags & 0x33) && // I-frame
1868 mxf->index_entries[i].flags & 0x40 && !temporal_offset)
1869 mxf->index_entries[i].flags |= 0x80; // random access
1870 avio_w8(pb, mxf->index_entries[i].flags);
1872 avio_wb64(pb, mxf->index_entries[i].offset);
1874 avio_wb32(pb, mxf->index_entries[i].slice_offset);
2875 mxf->index_entries[mxf->edit_units_count].offset = mxf->body_offset;
2876 mxf->index_entries[mxf->edit_units_count].flags = ie->flags;
2877 mxf->index_entries[mxf->edit_units_count].temporal_ref = ie->temporal_ref;
2924 if ((err = av_reallocp_array(&mxf->index_entries, mxf->edit_units_count
2925 + EDIT_UNITS_PER_BODY, sizeof(*mxf->index_entries))) < 0) {
3000 mxf->index_entries[mxf->edit_units_count].offset = mxf->body_offset;
3001 mxf->index_entries[mxf->edit_units_count].flags = ie.flags;
3002 mxf->index_entries[mxf->edit_units_count].temporal_ref = ie.temporal_ref;
3011 mxf->index_entries[mxf->edit_units_count-1].slice_offset =
3012 mxf->body_offset - mxf->index_entries[mxf->edit_units_count-1].offset;
3117 av_freep(&mxf->index_entries);