Lines Matching defs:partitions
290 MXFPartition *partitions;
495 pack_ofs = mxf->partitions[m].pack_ofs;
504 return mxf->partitions[a].body_sid;
726 tmp_part = av_realloc_array(mxf->partitions, mxf->partitions_count + 1, sizeof(*mxf->partitions));
729 mxf->partitions = tmp_part;
733 * this makes the entries in mxf->partitions sorted by offset */
734 memmove(&mxf->partitions[mxf->last_forward_partition+1],
735 &mxf->partitions[mxf->last_forward_partition],
736 (mxf->partitions_count - mxf->last_forward_partition)*sizeof(*mxf->partitions));
737 partition = mxf->current_partition = &mxf->partitions[mxf->last_forward_partition];
740 partition = mxf->current_partition = &mxf->partitions[mxf->partitions_count];
805 mxf->partitions + mxf->last_forward_partition - 2;
1805 while (m < b && mxf->partitions[m].body_sid != body_sid)
1808 if (m < b && mxf->partitions[m].body_offset <= offset)
1815 last_p = &mxf->partitions[a];
1837 MXFPartition *p = &mxf->partitions[x];
3340 return 0; /* we've parsed all partitions */
3449 MXFPartition *p = &mxf->partitions[x];
3469 p->essence_length = mxf->partitions[x+1].pack_ofs - mxf->run_in - p->essence_offset;
3476 x+1, mxf->partitions[x+1].pack_ofs - mxf->run_in);
3551 if (mxf->partitions[i].body_sid != track->body_sid)
3554 p = &mxf->partitions[i];
4055 av_freep(&mxf->partitions);