Home
last modified time | relevance | path

Searched refs:edit_unit_byte_count (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavformat/
Dmxfenc.c411 int edit_unit_byte_count; ///< fixed edit unit byte count member
903 avio_wb64(pb, mxf->body_offset / mxf->edit_unit_byte_count); in mxf_write_common_fields()
1439 avio_wb64(pb, mxf->body_offset / mxf->edit_unit_byte_count); in mxf_write_generic_sound_common()
1751 if (!mxf->edit_units_count && !mxf->edit_unit_byte_count) in mxf_write_index_table_segment()
1774 if (mxf->edit_unit_byte_count) in mxf_write_index_table_segment()
1781 avio_wb32(pb, mxf->edit_unit_byte_count); in mxf_write_index_table_segment()
1793 avio_w8(pb, !mxf->edit_unit_byte_count); // only one slice for CBR in mxf_write_index_table_segment()
1810 if (mxf->edit_unit_byte_count) { in mxf_write_index_table_segment()
1826 if (!mxf->edit_unit_byte_count) { in mxf_write_index_table_segment()
1908 if (!mxf->edit_unit_byte_count && mxf->edit_units_count) in mxf_write_partition()
[all …]
Dmxfdec.c226 int edit_unit_byte_count; member
1126 segment->edit_unit_byte_count = avio_rb32(pb); in mxf_read_index_table_segment()
1127 av_log(NULL, AV_LOG_TRACE, "EditUnitByteCount %d\n", segment->edit_unit_byte_count); in mxf_read_index_table_segment()
1536 if (s->edit_unit_byte_count || s->nb_index_entries) in mxf_get_sorted_table_segments()
1675 if (s->edit_unit_byte_count) in mxf_edit_unit_absolute_offset()
1676 offset_temp += s->edit_unit_byte_count * index; in mxf_edit_unit_absolute_offset()
1696 offset_temp += s->edit_unit_byte_count * s->index_duration; in mxf_edit_unit_absolute_offset()
3204 t->segments[0]->edit_unit_byte_count >= 32) in mxf_compute_edit_units_per_packet()
3223 int edit_unit_byte_count = 0; in mxf_handle_missing_index_segment() local
3253edit_unit_byte_count = (av_get_bits_per_sample(st->codecpar->codec_id) * st->codecpar->channels) >… in mxf_handle_missing_index_segment()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/mxf/
Dmxftypes.c1128 segment->edit_unit_byte_count = GST_READ_UINT32_BE (tag_data); in mxf_index_table_segment_parse()
1130 segment->edit_unit_byte_count); in mxf_index_table_segment_parse()
1290 if (segment->edit_unit_byte_count == 0 && segment->n_index_entries == 0) { in mxf_index_table_segment_parse()
1297 if (segment->edit_unit_byte_count) in mxf_index_table_segment_parse()
1299 segment->index_start_position * segment->edit_unit_byte_count; in mxf_index_table_segment_parse()
1382 gst_byte_writer_put_uint32_be_unchecked (&bw, segment->edit_unit_byte_count); in mxf_index_table_segment_to_buffer()
Dmxftypes.h161 guint32 edit_unit_byte_count; member
Dmxfdemux.c2252 if (segment->edit_unit_byte_count && !segment->n_index_entries) { in find_edit_entry()
2307 if (segment->edit_unit_byte_count && !segment->n_index_entries) { in find_edit_entry()
2309 stream_offset = position * segment->edit_unit_byte_count; in find_edit_entry()
2323 entry->size = segment->edit_unit_byte_count * entry->duration; in find_edit_entry()
2325 entry->size = segment->edit_unit_byte_count; in find_edit_entry()
2521 if (index_segment->edit_unit_byte_count) { in find_entry_for_offset()
2522 cp_offset = offset % index_segment->edit_unit_byte_count; in find_entry_for_offset()
2523 position = offset / index_segment->edit_unit_byte_count; in find_entry_for_offset()
2538 retentry->size = index_segment->edit_unit_byte_count * retentry->duration; in find_entry_for_offset()
2540 retentry->size = index_segment->edit_unit_byte_count; in find_entry_for_offset()
Dmxfmux.c1301 s.edit_unit_byte_count = 0; in gst_mxf_mux_handle_buffer()
1356 s.edit_unit_byte_count = 0; in gst_mxf_mux_handle_buffer()