Lines Matching refs:var_values

94     double var_values[VAR_VARS_NB];  member
109 setpts->var_values[VAR_N] = 0.0; in init()
110 setpts->var_values[VAR_S] = 0.0; in init()
111 setpts->var_values[VAR_PREV_INPTS] = NAN; in init()
112 setpts->var_values[VAR_PREV_INT] = NAN; in init()
113 setpts->var_values[VAR_PREV_OUTPTS] = NAN; in init()
114 setpts->var_values[VAR_PREV_OUTT] = NAN; in init()
115 setpts->var_values[VAR_STARTPTS] = NAN; in init()
116 setpts->var_values[VAR_STARTT] = NAN; in init()
126 setpts->var_values[VAR_TB] = av_q2d(inlink->time_base); in config_input()
127 setpts->var_values[VAR_RTCSTART] = av_gettime(); in config_input()
129 setpts->var_values[VAR_SR] = in config_input()
130 setpts->var_values[VAR_SAMPLE_RATE] = in config_input()
133 setpts->var_values[VAR_FRAME_RATE] = in config_input()
134 setpts->var_values[VAR_FR] = inlink->frame_rate.num && in config_input()
139 setpts->var_values[VAR_TB], in config_input()
140 setpts->var_values[VAR_FRAME_RATE], in config_input()
141 setpts->var_values[VAR_SAMPLE_RATE]); in config_input()
160 if (isnan(setpts->var_values[VAR_STARTPTS])) { in eval_pts()
161 setpts->var_values[VAR_STARTPTS] = TS2D(pts); in eval_pts()
162 setpts->var_values[VAR_STARTT ] = TS2T(pts, inlink->time_base); in eval_pts()
164 setpts->var_values[VAR_PTS ] = TS2D(pts); in eval_pts()
165 setpts->var_values[VAR_T ] = TS2T(pts, inlink->time_base); in eval_pts()
166 setpts->var_values[VAR_POS ] = !frame || frame->pkt_pos == -1 ? NAN : frame->pkt_pos; in eval_pts()
167 setpts->var_values[VAR_RTCTIME ] = av_gettime(); in eval_pts()
171 setpts->var_values[VAR_INTERLACED] = frame->interlaced_frame; in eval_pts()
173 setpts->var_values[VAR_S] = frame->nb_samples; in eval_pts()
174 setpts->var_values[VAR_NB_SAMPLES] = frame->nb_samples; in eval_pts()
178 return av_expr_eval(setpts->expr, setpts->var_values, NULL); in eval_pts()
193 (int64_t)setpts->var_values[VAR_N], in filter_frame()
194 d2istr(setpts->var_values[VAR_PTS]), in filter_frame()
195 setpts->var_values[VAR_T], in filter_frame()
196 d2istr(setpts->var_values[VAR_POS])); in filter_frame()
200 (int64_t)setpts->var_values[VAR_INTERLACED]); in filter_frame()
204 (int64_t)setpts->var_values[VAR_NB_SAMPLES], in filter_frame()
205 (int64_t)setpts->var_values[VAR_NB_CONSUMED_SAMPLES]); in filter_frame()
211 setpts->var_values[VAR_N] += 1.0; in filter_frame()
213 setpts->var_values[VAR_N] += frame->nb_samples; in filter_frame()
216 setpts->var_values[VAR_PREV_INPTS ] = TS2D(in_pts); in filter_frame()
217 setpts->var_values[VAR_PREV_INT ] = TS2T(in_pts, inlink->time_base); in filter_frame()
218 setpts->var_values[VAR_PREV_OUTPTS] = TS2D(frame->pts); in filter_frame()
219 setpts->var_values[VAR_PREV_OUTT] = TS2T(frame->pts, inlink->time_base); in filter_frame()
221 setpts->var_values[VAR_NB_CONSUMED_SAMPLES] += frame->nb_samples; in filter_frame()
248 d2istr(setpts->var_values[VAR_PTS]), in activate()
249 setpts->var_values[VAR_T], in activate()
250 d2istr(setpts->var_values[VAR_POS]), in activate()