Lines Matching defs:var_values
65 double var_values[VAR_VARS_NB];
79 setpts->var_values[VAR_E ] = M_E;
80 setpts->var_values[VAR_N ] = 0.0;
81 setpts->var_values[VAR_PHI ] = M_PHI;
82 setpts->var_values[VAR_PI ] = M_PI;
83 setpts->var_values[VAR_PREV_INPTS ] = NAN;
84 setpts->var_values[VAR_PREV_OUTPTS] = NAN;
85 setpts->var_values[VAR_STARTPTS ] = NAN;
93 setpts->var_values[VAR_TB] = av_q2d(inlink->time_base);
95 av_log(inlink->src, AV_LOG_INFO, "TB:%f\n", setpts->var_values[VAR_TB]);
108 if (isnan(setpts->var_values[VAR_STARTPTS]))
109 setpts->var_values[VAR_STARTPTS] = TS2D(inpicref->pts);
111 setpts->var_values[VAR_INTERLACED] = inpicref->video->interlaced;
112 setpts->var_values[VAR_PTS ] = TS2D(inpicref->pts);
113 setpts->var_values[VAR_POS ] = inpicref->pos == -1 ? NAN : inpicref->pos;
115 d = av_expr_eval(setpts->expr, setpts->var_values, NULL);
121 (int64_t)setpts->var_values[VAR_N],
122 (int)setpts->var_values[VAR_INTERLACED],
128 setpts->var_values[VAR_N] += 1.0;
129 setpts->var_values[VAR_PREV_INPTS ] = TS2D(inpicref ->pts);
130 setpts->var_values[VAR_PREV_OUTPTS] = TS2D(outpicref->pts);