Lines Matching refs:body_sid
96 int body_sid; member
179 int body_sid; member
228 int body_sid; member
258 int body_sid; member
269 int body_sid; member
441 static int mxf_get_stream_index(AVFormatContext *s, KLVPacket *klv, int body_sid) in mxf_get_stream_index() argument
448 …if (track && (!body_sid || !track->body_sid || track->body_sid == body_sid) && !memcmp(klv->key + … in mxf_get_stream_index()
475 return mxf->partitions[a].body_sid; in find_body_sid_by_absolute_offset()
598 int body_sid; in mxf_decrypt_triplet() local
620 body_sid = find_body_sid_by_absolute_offset(mxf, klv->offset); in mxf_decrypt_triplet()
621 index = mxf_get_stream_index(s, klv, body_sid); in mxf_decrypt_triplet()
742 partition->body_sid = avio_rb32(pb); in mxf_read_partition_pack()
792 partition->index_sid, partition->body_sid); in mxf_read_partition_pack()
1085 essence_data->body_sid = avio_rb32(pb); in mxf_read_essence_container_data()
1134 segment->body_sid = avio_rb32(pb); in mxf_read_index_table_segment()
1135 av_log(NULL, AV_LOG_TRACE, "BodySID %d\n", segment->body_sid); in mxf_read_index_table_segment()
1565 s->body_sid > last_body_sid || in mxf_get_sorted_table_segments()
1566 s->body_sid == last_body_sid && s->index_sid > last_index_sid || in mxf_get_sorted_table_segments()
1567 …s->body_sid == last_body_sid && s->index_sid == last_index_sid && s->index_start_position > last_i… in mxf_get_sorted_table_segments()
1569 s->body_sid < best_body_sid || in mxf_get_sorted_table_segments()
1570 s->body_sid == best_body_sid && s->index_sid < best_index_sid || in mxf_get_sorted_table_segments()
1571 …s->body_sid == best_body_sid && s->index_sid == best_index_sid && s->index_start_position < best_… in mxf_get_sorted_table_segments()
1572 …s->body_sid == best_body_sid && s->index_sid == best_index_sid && s->index_start_position == best_… in mxf_get_sorted_table_segments()
1574 best_body_sid = s->body_sid; in mxf_get_sorted_table_segments()
1599 static int mxf_absolute_bodysid_offset(MXFContext *mxf, int body_sid, int64_t offset, int64_t *offs… in mxf_absolute_bodysid_offset() argument
1613 while (m < b && mxf->partitions[m].body_sid != body_sid) in mxf_absolute_bodysid_offset()
1634 offset, body_sid); in mxf_absolute_bodysid_offset()
1642 static int64_t mxf_essence_container_end(MXFContext *mxf, int body_sid) in mxf_essence_container_end() argument
1647 if (p->body_sid != body_sid) in mxf_essence_container_end()
1693 …return mxf_absolute_bodysid_offset(mxf, index_table->body_sid, offset_temp, offset_out, partition_… in mxf_edit_unit_absolute_offset()
1845 else if (sorted_segments[i-1]->body_sid != sorted_segments[i]->body_sid) { in mxf_compute_index_tables()
1890 t->body_sid = sorted_segments[i]->body_sid; in mxf_compute_index_tables()
2381 source_track->body_sid = essence_data->body_sid; in mxf_parse_structural_metadata()
2705 if (track1 && track1->body_sid) { in mxf_parse_structural_metadata()
2708 … if (track2 && track1->body_sid == track2->body_sid && track1->wrapping != track2->wrapping) { in mxf_parse_structural_metadata()
2715 … "with different wrapping\n", i, j, track1->body_sid); in mxf_parse_structural_metadata()
3114 static MXFWrappingScheme mxf_get_wrapping_by_body_sid(AVFormatContext *s, int body_sid) in mxf_get_wrapping_by_body_sid() argument
3118 if (track && track->body_sid == body_sid && track->wrapping != UnknownWrapped) in mxf_get_wrapping_by_body_sid()
3136 if (!p->body_sid) in mxf_compute_essence_containers()
3143 wrapping = (mxf->op == OPAtom) ? ClipWrapped : mxf_get_wrapping_by_body_sid(s, p->body_sid); in mxf_compute_essence_containers()
3233 if (s->body_sid == track->body_sid) in mxf_handle_missing_index_segment()
3241 if (mxf->partitions[i].body_sid != track->body_sid) in mxf_handle_missing_index_segment()
3272 track->index_sid = track->body_sid; in mxf_handle_missing_index_segment()
3281 segment->body_sid = p->body_sid; in mxf_handle_missing_index_segment()
3528 (next_ofs = mxf_essence_container_end(mxf, t->body_sid)) <= 0) { in mxf_set_current_edit_unit()
3640 int body_sid = find_body_sid_by_absolute_offset(mxf, klv.offset); in mxf_read_packet() local
3641 int index = mxf_get_stream_index(s, &klv, body_sid); in mxf_read_packet()