Lines Matching defs:duration

85 /* If a frame duration is longer than this, it will not be duplicated to compensate AV sync */
123 int64_t duration;
159 double duration; /* estimated duration of the frame */
286 double max_frame_duration; // maximum duration of a frame - above this, we consider the jump a timestamp discontinuity
332 static int64_t duration = AV_NOPTS_VALUE;
433 q->duration += pkt1.pkt->duration;
497 q->duration = 0;
546 q->duration -= pkt1.pkt->duration;
1546 double duration = nextvp->pts - vp->pts;
1547 if (isnan(duration) || duration <= 0 || duration > is->max_frame_duration)
1548 return vp->duration;
1550 return duration;
1587 double last_duration, duration, delay;
1626 duration = vp_duration(is, vp, nextvp);
1627 if(!is->step && (framedrop>0 || (framedrop && get_master_sync_type(is) != AV_SYNC_VIDEO_MASTER)) && time > is->frame_timer + duration){
1732 static int queue_picture(VideoState *is, AVFrame *src_frame, double pts, double duration, int64_t pos, int serial)
1752 vp->duration = duration;
2083 af->duration = av_q2d((AVRational){frame->nb_samples, frame->sample_rate});
2121 double duration;
2202 duration = (frame_rate.num && frame_rate.den ? av_q2d((AVRational){frame_rate.den, frame_rate.num}) : 0);
2204 ret = queue_picture(is, frame, pts, duration, frame->pkt_pos, is->viddec.pkt_serial);
2722 queue->nb_packets > MIN_FRAMES && (!queue->duration || av_q2d(st->time_base) * queue->duration > 1.0);
3033 pkt_in_play_range = duration == AV_NOPTS_VALUE ||
3037 <= ((double)duration / 1000000);
3419 if (seek_by_bytes || cur_stream->ic->duration <= 0) {
3426 tns = cur_stream->ic->duration / 1000000LL;
3436 "Seek to %2.0f%% (%2d:%02d:%02d) of total duration (%2d:%02d:%02d) \n", frac*100,
3438 ts = frac * cur_stream->ic->duration;
3512 duration = parse_time_or_die(opt, arg, 1);
3574 { "t", HAS_ARG, { .func_arg = opt_duration }, "play \"duration\" seconds of audio/video", "duration" },