/third_party/ffmpeg/libavfilter/ |
D | vf_dejudder.c | 126 int64_t next_pts = frame->pts; in filter_frame() local 129 if (next_pts == AV_NOPTS_VALUE) in filter_frame() 134 s->new_pts = next_pts * 2 * s->cycle; in filter_frame() 136 if (next_pts < judbuff[s->i2]) { in filter_frame() 137 offset = next_pts + judbuff[s->i3] - judbuff[s->i4] - judbuff[s->i1]; in filter_frame() 142 + (s->cycle + 1) * (next_pts - judbuff[s->i4]); in filter_frame() 145 judbuff[s->i2] = next_pts; in filter_frame() 155 av_log(ctx, AV_LOG_DEBUG, "next=%"PRId64", new=%"PRId64"\n", next_pts, frame->pts); in filter_frame()
|
D | vf_fps.c | 89 int64_t next_pts; ///< pts of the next frame to output member 124 s->next_pts = AV_NOPTS_VALUE; in init() 208 s->next_pts = s->out_pts_off; in config_props() 259 if (s->next_pts == AV_NOPTS_VALUE) { in write_frame() 261 s->next_pts = s->frames[0]->pts; in write_frame() 262 av_log(ctx, AV_LOG_VERBOSE, "Set first pts to %"PRId64"\n", s->next_pts); in write_frame() 278 if ((s->frames_count == 2 && s->frames[1]->pts <= s->next_pts) || in write_frame() 279 (s->status && s->status_pts <= s->next_pts)) { in write_frame() 293 frame->pts = s->next_pts++; in write_frame() 361 ff_outlink_set_status(outlink, s->status, s->next_pts); in activate()
|
D | af_apad.c | 39 int64_t next_pts; member 66 s->next_pts = AV_NOPTS_VALUE; in init() 86 …s->next_pts = frame->pts + av_rescale_q(frame->nb_samples, (AVRational){1, inlink->sample_rate}, i… in filter_frame() 127 outsamplesref->pts = s->next_pts; in request_frame() 128 if (s->next_pts != AV_NOPTS_VALUE) in request_frame() 129 … s->next_pts += av_rescale_q(n_out, (AVRational){1, outlink->sample_rate}, outlink->time_base); in request_frame()
|
D | af_resample.c | 44 int64_t next_pts; member 169 s->next_pts = AV_NOPTS_VALUE; in config_output() 217 frame->pts = s->next_pts; in request_frame() 255 if (s->resampling && s->next_pts == AV_NOPTS_VALUE) { in filter_frame() 259 s->next_pts = 0; in filter_frame() 261 s->next_pts = av_rescale_q(in->pts, inlink->time_base, in filter_frame() 287 out->pts = s->next_pts; in filter_frame() 289 s->next_pts = out->pts + out->nb_samples; in filter_frame()
|
D | af_aecho.c | 41 int64_t next_pts; member 149 s->next_pts = AV_NOPTS_VALUE; in init() 264 …s->next_pts = frame->pts + av_rescale_q(frame->nb_samples, (AVRational){1, inlink->sample_rate}, i… in filter_frame() 291 frame->pts = s->next_pts; in request_frame() 292 if (s->next_pts != AV_NOPTS_VALUE) in request_frame() 293 …s->next_pts += av_rescale_q(nb_samples, (AVRational){1, outlink->sample_rate}, outlink->time_base); in request_frame() 321 ff_outlink_set_status(outlink, AVERROR_EOF, s->next_pts); in activate()
|
D | af_adelay.c | 47 int64_t next_pts; member 347 out_frame->pts = s->next_pts; in filter_frame() 348 …s->next_pts += av_rescale_q(frame->nb_samples, (AVRational){1, outlink->sample_rate}, outlink->tim… in filter_frame() 377 frame->pts = s->next_pts; in activate() 378 if (s->next_pts != AV_NOPTS_VALUE) in activate() 379 …s->next_pts += av_rescale_q(nb_samples, (AVRational){1, outlink->sample_rate}, outlink->time_base); in activate() 409 frame->pts = s->next_pts; in activate() 414 ff_outlink_set_status(outlink, AVERROR_EOF, s->next_pts); in activate()
|
D | af_amix.c | 178 int64_t next_pts; /**< calculated pts for next output frame */ member 254 s->next_pts = AV_NOPTS_VALUE; in config_output() 320 s->next_pts = frame_list_next_pts(s->frame_list); in output_frame() 331 ff_outlink_set_status(outlink, AVERROR_EOF, s->next_pts); in output_frame() 382 out_buf->pts = s->next_pts; in output_frame() 383 if (s->next_pts != AV_NOPTS_VALUE) in output_frame() 384 s->next_pts += nb_samples; in output_frame() 492 ff_outlink_set_status(outlink, AVERROR_EOF, s->next_pts); in activate()
|
D | af_chorus.c | 60 int64_t next_pts; member 152 s->next_pts = AV_NOPTS_VALUE; in init() 256 …s->next_pts = frame->pts + av_rescale_q(frame->nb_samples, (AVRational){1, inlink->sample_rate}, i… in filter_frame() 286 frame->pts = s->next_pts; in request_frame() 287 if (s->next_pts != AV_NOPTS_VALUE) in request_frame() 288 …s->next_pts += av_rescale_q(nb_samples, (AVRational){1, outlink->sample_rate}, outlink->time_base); in request_frame()
|
D | yadif_common.c | 55 int64_t next_pts = yadif->next->pts; in return_frame() local 57 if (next_pts != AV_NOPTS_VALUE && cur_pts != AV_NOPTS_VALUE) { in return_frame() 58 yadif->out->pts = cur_pts + next_pts; in return_frame()
|
D | af_silenceremove.c | 99 int64_t next_pts; member 437 s->next_pts = AV_NOPTS_VALUE; in config_input() 607 if (s->next_pts == AV_NOPTS_VALUE) in filter_frame() 608 s->next_pts = in->pts; in filter_frame() 882 out->pts = s->next_pts; in filter_frame() 883 s->next_pts += av_rescale_q(out->nb_samples, in filter_frame() 914 frame->pts = s->next_pts; in request_frame() 915 s->next_pts += av_rescale_q(frame->nb_samples, in request_frame()
|
D | trim.c | 68 int64_t next_pts; member 238 pts = s->next_pts; in atrim_filter_frame() 239 s->next_pts = pts + frame->nb_samples; in atrim_filter_frame()
|
D | af_aresample.c | 42 int64_t next_pts; member 50 aresample->next_pts = AV_NOPTS_VALUE; in preinit() 207 aresample->next_pts = in filter_frame()
|
D | f_graphmonitor.c | 51 int64_t next_pts; member 430 s->next_pts = pts; in activate() 433 if (s->pts < s->next_pts && ff_outlink_frame_wanted(outlink)) in activate() 453 s->next_pts = AV_NOPTS_VALUE; in config_output()
|
D | avf_showcqt.h | 59 int64_t next_pts; member
|
D | vf_w3fdif.c | 496 int64_t next_pts = s->next->pts; in filter() local 498 if (next_pts != AV_NOPTS_VALUE && cur_pts != AV_NOPTS_VALUE) { in filter() 499 out->pts = cur_pts + next_pts; in filter()
|
D | af_firequalizer.c | 89 int64_t next_pts; member 737 s->next_pts = 0; in config_input() 842 s->next_pts = AV_NOPTS_VALUE; in filter_frame() 844 …s->next_pts = frame->pts + av_rescale_q(frame->nb_samples, av_make_q(1, inlink->sample_rate), inli… in filter_frame() 866 frame->pts = s->next_pts; in request_frame()
|
D | avf_showcqt.c | 1189 out->pts = s->next_pts; in plot_cqt() 1190 s->next_pts += PTS_STEP; in plot_cqt() 1464 s->next_pts = 0; in config_output() 1538 s->next_pts = pts + PTS_STEP; in filter_frame()
|
/third_party/ffmpeg/doc/examples/ |
D | muxing.c | 59 int64_t next_pts; member 318 if (av_compare_ts(ost->next_pts, ost->enc->time_base, in get_audio_frame() 330 frame->pts = ost->next_pts; in get_audio_frame() 331 ost->next_pts += frame->nb_samples; in get_audio_frame() 480 if (av_compare_ts(ost->next_pts, c->time_base, in get_video_frame() 504 fill_yuv_image(ost->tmp_frame, ost->next_pts, c->width, c->height); in get_video_frame() 509 fill_yuv_image(ost->frame, ost->next_pts, c->width, c->height); in get_video_frame() 512 ost->frame->pts = ost->next_pts++; in get_video_frame() 624 (!encode_audio || av_compare_ts(video_st.next_pts, video_st.enc->time_base, in main() 625 audio_st.next_pts, audio_st.enc->time_base) <= 0)) { in main()
|
/third_party/ffmpeg/libavcodec/ |
D | a64multienc.c | 62 int64_t next_pts; member 256 c->next_pts = AV_NOPTS_VALUE; in a64multi_encode_init() 324 if (c->next_pts == AV_NOPTS_VALUE) in a64multi_encode_frame() 325 c->next_pts = p->pts; in a64multi_encode_frame() 386 pkt->pts = pkt->dts = c->next_pts; in a64multi_encode_frame() 387 c->next_pts = AV_NOPTS_VALUE; in a64multi_encode_frame()
|
D | libtwolame.c | 50 int64_t next_pts; member 167 avpkt->pts = s->next_pts; in twolame_encode_frame() 171 s->next_pts = avpkt->pts + avpkt->duration; in twolame_encode_frame()
|
D | rv34.h | 109 int cur_pts, last_pts, next_pts; member
|
D | rv34.c | 1538 r->next_pts = r1->next_pts; in ff_rv34_decode_update_thread_context() 1710 r->last_pts = r->next_pts; in ff_rv34_decode_frame() 1711 r->next_pts = r->cur_pts; in ff_rv34_decode_frame() 1713 int refdist = GET_PTS_DIFF(r->next_pts, r->last_pts); in ff_rv34_decode_frame() 1715 int dist1 = GET_PTS_DIFF(r->next_pts, r->cur_pts); in ff_rv34_decode_frame()
|
D | flacenc.c | 131 int64_t next_pts; member 1347 avpkt->pts = s->next_pts; in flac_encode_frame() 1403 s->next_pts = avpkt->pts + avpkt->duration; in flac_encode_frame()
|
/third_party/ffmpeg/fftools/ |
D | ffmpeg.c | 2118 ist->next_pts += ((int64_t)AV_TIME_BASE * decoded_frame->nb_samples) / in decode_audio() 2249 ist->next_pts = ist->pts = ts; in decode_video() 2386 if (ist->next_pts == AV_NOPTS_VALUE) in process_input_packet() 2387 ist->next_pts = ist->pts; in process_input_packet() 2399 ist->next_pts = ist->pts = ist->dts; in process_input_packet() 2409 ist->pts = ist->next_pts; in process_input_packet() 2439 ist->next_pts += av_rescale_q(duration_pts, ist->st->time_base, AV_TIME_BASE_Q); in process_input_packet() 2441 ist->next_pts += duration_dts; in process_input_packet() 2536 ist->next_pts = ist->next_dts; in process_input_packet() 2660 ist->next_pts = AV_NOPTS_VALUE; in init_input_stream() [all …]
|
D | ffmpeg.h | 329 int64_t next_pts; ///< synthetic pts for the next decode frame (in AV_TIME_BASE units) member
|