Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Dmxfdec.c1660 …it_absolute_offset(MXFContext *mxf, MXFIndexTable *index_table, int64_t edit_unit, AVRational edit… in mxf_edit_unit_absolute_offset() argument
1665 edit_unit = av_rescale_q(edit_unit, index_table->segments[0]->index_edit_rate, edit_rate); in mxf_edit_unit_absolute_offset()
1670edit_unit = FFMAX(edit_unit, s->index_start_position); /* clamp if trying to seek before start */ in mxf_edit_unit_absolute_offset()
1672 if (edit_unit < s->index_start_position + s->index_duration) { in mxf_edit_unit_absolute_offset()
1673 int64_t index = edit_unit - s->index_start_position; in mxf_edit_unit_absolute_offset()
1691 *edit_unit_out = av_rescale_q(edit_unit, edit_rate, s->index_edit_rate); in mxf_edit_unit_absolute_offset()
1701 …RROR, "failed to map EditUnit %"PRId64" in IndexSID %i to an offset\n", edit_unit, index_table->in… in mxf_edit_unit_absolute_offset()
3486 int64_t edit_unit) in mxf_compute_sample_count() argument
3494 return edit_unit; in mxf_compute_sample_count()
3497 return av_rescale_q(edit_unit, sample_rate, track->edit_rate); in mxf_compute_sample_count()
[all …]