Home
last modified time | relevance | path

Searched refs:first_pts (Results 1 - 16 of 16) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Dtrim.c62 int64_t first_pts; member
77 s->first_pts = AV_NOPTS_VALUE; in init()
147 if (s->first_pts == AV_NOPTS_VALUE && frame->pts != AV_NOPTS_VALUE) in trim_filter_frame()
148 s->first_pts = frame->pts; in trim_filter_frame()
159 frame->pts - s->first_pts < s->duration_tb) in trim_filter_frame()
264 if (s->first_pts == AV_NOPTS_VALUE) in atrim_filter_frame()
265 s->first_pts = pts + start_sample; in atrim_filter_frame()
286 if (s->duration_tb && pts - s->first_pts < s->duration_tb) { in atrim_filter_frame()
288 end_sample = FFMAX(end_sample, s->first_pts + s->duration_tb - pts); in atrim_filter_frame()
H A Df_cue.c31 int64_t first_pts; member
51 s->first_pts = pts; in activate()
55 if (pts - s->first_pts < s->preroll) { in activate()
61 s->first_pts = pts; in activate()
67 if (!(pts - s->first_pts < s->buffer && (av_gettime() - s->cue) < 0)) in activate()
H A Dvf_xfade_opencl.c61 int64_t first_pts; member
144 cl_float progress = av_clipf(1.f - ((cl_float)(ctx->pts - ctx->first_pts - ctx->offset_pts) / ctx->duration_pts), 0.f, 1.f); in xfade_frame()
244 ctx->first_pts = ctx->last_pts = ctx->pts = AV_NOPTS_VALUE; in xfade_opencl_config_output()
289 if (ctx->first_pts == AV_NOPTS_VALUE) { in xfade_opencl_activate()
290 ctx->first_pts = ctx->xf[0]->pts; in xfade_opencl_activate()
293 if (ctx->first_pts + ctx->offset_pts > ctx->xf[0]->pts) { in xfade_opencl_activate()
310 if (ctx->xf[0]->pts - (ctx->first_pts + ctx->offset_pts) > ctx->duration_pts) in xfade_opencl_activate()
H A Daf_rubberband.c40 int64_t first_pts; member
100 if (s->first_pts == AV_NOPTS_VALUE) in filter_frame()
101 s->first_pts = in->pts; in filter_frame()
113 out->pts = s->first_pts + av_rescale_q(s->nb_samples_out, in filter_frame()
143 s->first_pts = AV_NOPTS_VALUE; in config_input()
H A Dvf_fps.c198 double first_pts = s->start_time * AV_TIME_BASE; in config_props() local
199 if (first_pts < INT64_MIN || first_pts > INT64_MAX) { in config_props()
204 s->in_pts_off = av_rescale_q_rnd(first_pts, AV_TIME_BASE_Q, inlink->time_base, in config_props()
206 s->out_pts_off = av_rescale_q_rnd(first_pts, AV_TIME_BASE_Q, outlink->time_base, in config_props()
H A Dvf_xfade.c96 int64_t first_pts; member
1834 s->first_pts = s->last_pts = s->pts = AV_NOPTS_VALUE; in config_output()
1932 float progress = av_clipf(1.f - ((float)(s->pts - s->first_pts - s->offset_pts) / s->duration_pts), 0.f, 1.f); in xfade_frame()
1985 if (s->first_pts == AV_NOPTS_VALUE) { in xfade_activate()
1986 s->first_pts = s->xf[0]->pts; in xfade_activate()
1989 if (s->first_pts + s->offset_pts > s->xf[0]->pts) { in xfade_activate()
2006 if (s->xf[0]->pts - (s->first_pts + s->offset_pts) > s->duration_pts) in xfade_activate()
/third_party/ffmpeg/libavcodec/
H A Droqaudioenc.c41 int64_t first_pts; member
141 context->first_pts = frame->pts; in roq_dpcm_encode_frame()
179 avpkt->pts = context->input_frames <= 7 ? context->first_pts : frame->pts; in roq_dpcm_encode_frame()
H A Dvaapi_encode.h304 int64_t first_pts; member
H A Dvideotoolboxenc.c230 int64_t first_pts; member
2469 vtctx->first_pts = frame->pts; in vtenc_frame()
2471 vtctx->dts_delta = frame->pts - vtctx->first_pts; in vtenc_frame()
H A Dvaapi_encode.c1151 ctx->first_pts = pic->pts; in vaapi_encode_send_frame()
1153 ctx->dts_pts_diff = pic->pts - ctx->first_pts; in vaapi_encode_send_frame()
1175 ctx->dts_pts_diff = ctx->pic_end->pts - ctx->first_pts; in vaapi_encode_send_frame()
/third_party/ffmpeg/libavformat/
H A Ddashenc.c117 int64_t first_pts, start_pts, max_pts; member
1711 os->first_pts = AV_NOPTS_VALUE; in dash_init()
1926 c->streams[stream].first_pts != AV_NOPTS_VALUE) { in dash_flush()
1928 c->streams[stream].first_pts, in dash_flush()
2062 if (os->first_pts == AV_NOPTS_VALUE) { in dash_parse_prft()
2096 if (os->first_pts == AV_NOPTS_VALUE && in dash_write_packet()
2108 if (os->first_pts == AV_NOPTS_VALUE) { in dash_write_packet()
2109 os->first_pts = pkt->pts; in dash_write_packet()
2144 elapsed_duration = pkt->pts - os->first_pts; in dash_write_packet()
2171 c->total_duration = av_rescale_q(pkt->pts - os->first_pts, in dash_write_packet()
[all...]
/third_party/ffmpeg/tools/
H A Dismindex.c235 int64_t first_pts = 0; in read_trun_duration() local
261 first_pts = pts; in read_trun_duration()
267 return max_pts - first_pts; in read_trun_duration()
/third_party/ffmpeg/fftools/
H A Dffmpeg.h470 int64_t first_pts; member
H A Dffmpeg.c709 int64_t end = av_rescale_q(ost->sync_opts - ost->first_pts, time_base, AV_TIME_BASE_Q); in close_output_stream()
756 av_compare_ts(ost->sync_opts - ost->first_pts, ost->enc_ctx->time_base, of->recording_time, in check_recording_time()
1302 int64_t end = av_rescale_q(ost->sync_opts - ost->first_pts, time_base, AV_TIME_BASE_Q); in finish_output_stream()
/third_party/ffmpeg/tests/fate/
H A Dlibswresample.mak362 fate-swr-resample_async-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,asetpts=PTS+random\(0\)*200-100,aresample=$(2):async=50:min_hard_comp=0.100000:first_pts=0:linear_interp=0:exact_rational=0:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):linear_interp=0:exact_rational=0:internal_sample_fmt=$(3) -f wav -c:a pcm_s16le -
636 fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,asetpts=PTS+random\(0\)*200-100,aresample=$(2):async=50:min_hard_comp=0.100000:first_pts=0:internal_sample_fmt=$(3):exact_rational=on:linear_interp=0,aformat=$(3),aresample=$(1):internal_sample_fmt=$(3):exact_rational=on:linear_interp=0 -f wav -c:a pcm_s16le -
970 fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,asetpts=PTS+random\(0\)*200-100,aresample=$(2):async=50:min_hard_comp=0.100000:first_pts=0:internal_sample_fmt=$(3):exact_rational=on:linear_interp=on,aformat=$(3),aresample=$(1):internal_sample_fmt=$(3):exact_rational=on:linear_interp=on -f wav -c:a pcm_s16le -
H A Dfilter-audio.mak254 fate-filter-aresample: CMD = pcm -analyzeduration 10000000 -i $(SRC) -af aresample=min_comp=0.001:min_hard_comp=0.1:first_pts=0

Completed in 31 milliseconds