• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/

Lines Matching refs:current_edit_unit

230     int current_edit_unit;
2227 * Sets mxf->current_edit_unit based on what offset we're currently at.
2240 /* find mxf->current_edit_unit so that the next edit unit starts ahead of current_offset */
2241 while (mxf->current_edit_unit >= 0) {
2242 if (mxf_edit_unit_absolute_offset(mxf, t, mxf->current_edit_unit + 1, NULL, &next_ofs, 0) < 0)
2246 /* large next_ofs didn't change or current_edit_unit wrapped
2257 mxf->current_edit_unit++;
2260 /* not checking mxf->current_edit_unit >= t->nb_ptses here since CBR files may lack IndexEntryArrays */
2261 if (mxf->current_edit_unit < 0)
2282 *sample_count = av_q2d(av_mul_q((AVRational){mxf->current_edit_unit, 1},
2300 *sample_count = (mxf->current_edit_unit / size) * (uint64_t)total;
2301 for (i = 0; i < mxf->current_edit_unit % size; i++) {
2372 mxf->current_edit_unit);
2395 /* mxf->current_edit_unit good - see if we have an
2399 if (mxf->nb_index_tables >= 1 && mxf->current_edit_unit < t->nb_ptses) {
2400 pkt->dts = mxf->current_edit_unit + t->first_dts;
2401 pkt->pts = t->ptses[mxf->current_edit_unit];
2405 pkt->pts = mxf->current_edit_unit;
2441 if (mxf->current_edit_unit >= st->duration)
2444 edit_units = FFMIN(mxf->edit_units_per_packet, st->duration - mxf->current_edit_unit);
2446 if ((ret = mxf_edit_unit_absolute_offset(mxf, t, mxf->current_edit_unit, NULL, &pos, 1)) < 0)
2451 if ((ret = mxf_edit_unit_absolute_offset(mxf, t, mxf->current_edit_unit + edit_units, NULL, &next_pos, 0)) < 0 &&
2471 mxf->current_edit_unit >= 0 && mxf->current_edit_unit < t->nb_ptses) {
2472 pkt->dts = mxf->current_edit_unit + t->first_dts;
2473 pkt->pts = t->ptses[mxf->current_edit_unit];
2480 mxf->current_edit_unit += edit_units;
2593 mxf->current_edit_unit = sample_time;
2615 mxf->current_edit_unit = sample_time;