41 "NB_CONSUMED_SAMPLES",
99 var_names, NULL, NULL, NULL, NULL, 0, ctx)) < 0) {
138 #define D2TS(d) (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d))
139 #define TS2D(ts) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts))
140 #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb))
151 #define d2istr(v) double2int64str((char[BUF_SIZE]){0}, v)
156 int64_t in_pts = frame->
pts;
179 "N:%"PRId64
" PTS:%s T:%f POS:%s",
184 switch (inlink->
type) {
220 #define OFFSET(x) offsetof(SetPTSContext, x)
221 #define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM
227 #if CONFIG_SETPTS_FILTER
228 #define setpts_options options
231 static const AVFilterPad avfilter_vf_setpts_inputs[] = {
241 static const AVFilterPad avfilter_vf_setpts_outputs[] = {
256 .priv_class = &setpts_class,
258 .
inputs = avfilter_vf_setpts_inputs,
259 .
outputs = avfilter_vf_setpts_outputs,
263 #if CONFIG_ASETPTS_FILTER
265 #define asetpts_options options
292 .priv_class = &asetpts_class,