Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Dvf_xfade_opencl.c60 int64_t duration_pts; member
145 …ipf(1.f - ((cl_float)(ctx->pts - ctx->first_pts - ctx->offset_pts) / ctx->duration_pts), 0.f, 1.f); in xfade_frame()
252 ctx->duration_pts = av_rescale_q(ctx->duration, AV_TIME_BASE_Q, outlink->time_base); in xfade_opencl_config_output()
311 if (ctx->xf[0]->pts - (ctx->first_pts + ctx->offset_pts) > ctx->duration_pts) in xfade_opencl_activate()
Dvf_fade.c65 uint64_t start_time_pts, duration_pts; member
427 s->duration_pts = av_rescale_q(s->duration, AV_TIME_BASE_Q, inlink->time_base); in config_input()
470 if (s->duration_pts == 0) { in filter_frame()
479 s->factor = (frame->pts - s->start_time_pts) * UINT16_MAX / s->duration_pts; in filter_frame()
480 if (frame->pts > s->start_time_pts + s->duration_pts) { in filter_frame()
Dvf_xfade.c91 int64_t duration_pts; member
1735 s->duration_pts = av_rescale_q(s->duration, AV_TIME_BASE_Q, outlink->time_base); in config_output()
1826 …ess = av_clipf(1.f - ((float)(s->pts - s->first_pts - s->offset_pts) / s->duration_pts), 0.f, 1.f); in xfade_frame()
1899 if (s->xf[0]->pts - (s->first_pts + s->offset_pts) > s->duration_pts) in xfade_activate()
/third_party/ffmpeg/fftools/
Dffmpeg.c2392 static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output, int64_t *duration_pts, in… in decode_video() argument
2481 *duration_pts = decoded_frame->pkt_duration; in decode_video()
2661 int64_t duration_pts = 0; in process_input_packet() local
2675 ret = decode_video (ist, repeating ? NULL : avpkt, &got_output, &duration_pts, !pkt, in process_input_packet()
2694 if (duration_pts > 0) { in process_input_packet()
2695 ist->next_pts += av_rescale_q(duration_pts, ist->st->time_base, AV_TIME_BASE_Q); in process_input_packet()