• 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:time_base

110     q = st->time_base;
254 if (!st->time_base.num && codec->time_base.num) {
255 av_log(s, AV_LOG_WARNING, "Using AVStream.codec.time_base as a "
257 "AVStream.time_base instead.\n");
258 avpriv_set_pts_info(st, 64, codec->time_base.num, codec->time_base.den);
263 if (!st->time_base.num) {
392 den = (int64_t)st->time_base.num * st->codec->sample_rate;
395 den = (int64_t)st->time_base.num * st->codec->time_base.den;
468 pkt->duration = av_rescale(1, num * (int64_t)st->time_base.den * st->codec->ticks_per_frame, den * (int64_t)st->time_base.num);
528 frac_add(&st->pts, (int64_t)st->time_base.den * frame_size);
532 frac_add(&st->pts, (int64_t)st->time_base.den * st->codec->time_base.num);
553 int64_t offset = av_rescale_q(s->output_ts_offset, AV_TIME_BASE_Q, st->time_base);
567 s->offset_timebase = st->time_base;
574 st->time_base,
698 uint64_t max= av_rescale_q_rnd(s->max_chunk_duration, AV_TIME_BASE_Q, st->time_base, AV_ROUND_UP);
746 int comp = av_compare_ts(next->dts, st2->time_base, pkt->dts,
747 st->time_base);
749 int64_t ts = av_rescale_q(pkt ->dts, st ->time_base, AV_TIME_BASE_Q) - s->audio_preload*(st ->codec->codec_type == AVMEDIA_TYPE_AUDIO);
750 int64_t ts2= av_rescale_q(next->dts, st2->time_base, AV_TIME_BASE_Q) - s->audio_preload*(st2->codec->codec_type == AVMEDIA_TYPE_AUDIO);
752 ts= ( pkt ->dts* st->time_base.num*AV_TIME_BASE - s->audio_preload*(int64_t)(st ->codec->codec_type == AVMEDIA_TYPE_AUDIO)* st->time_base.den)*st2->time_base.den
753 -( next->dts*st2->time_base.num*AV_TIME_BASE - s->audio_preload*(int64_t)(st2->codec->codec_type == AVMEDIA_TYPE_AUDIO)*st2->time_base.den)* st->time_base.den;
792 s->streams[top_pkt->stream_index]->time_base,
803 s->streams[i]->time_base,
970 src->streams[pkt->stream_index]->time_base,
971 dst->streams[dst_stream]->time_base);
974 src->streams[pkt->stream_index]->time_base,
975 dst->streams[dst_stream]->time_base);
978 src->streams[pkt->stream_index]->time_base,
979 dst->streams[dst_stream]->time_base);