Lines Matching defs:var_values
77 double var_values[VAR_VARS_NB];
160 crop->var_values[VAR_E] = M_E;
161 crop->var_values[VAR_PHI] = M_PHI;
162 crop->var_values[VAR_PI] = M_PI;
163 crop->var_values[VAR_IN_W] = crop->var_values[VAR_IW] = ctx->inputs[0]->w;
164 crop->var_values[VAR_IN_H] = crop->var_values[VAR_IH] = ctx->inputs[0]->h;
165 crop->var_values[VAR_X] = NAN;
166 crop->var_values[VAR_Y] = NAN;
167 crop->var_values[VAR_OUT_W] = crop->var_values[VAR_OW] = NAN;
168 crop->var_values[VAR_OUT_H] = crop->var_values[VAR_OH] = NAN;
169 crop->var_values[VAR_N] = 0;
170 crop->var_values[VAR_T] = NAN;
171 crop->var_values[VAR_POS] = NAN;
178 var_names, crop->var_values,
180 crop->var_values[VAR_OUT_W] = crop->var_values[VAR_OW] = res;
182 var_names, crop->var_values,
184 crop->var_values[VAR_OUT_H] = crop->var_values[VAR_OH] = res;
187 var_names, crop->var_values,
189 crop->var_values[VAR_OUT_W] = crop->var_values[VAR_OW] = res;
190 if (normalize_double(&crop->w, crop->var_values[VAR_OUT_W]) < 0 ||
191 normalize_double(&crop->h, crop->var_values[VAR_OUT_H]) < 0) {
251 crop->var_values[VAR_T] = picref->pts == AV_NOPTS_VALUE ?
253 crop->var_values[VAR_POS] = picref->pos == -1 ? NAN : picref->pos;
254 crop->var_values[VAR_X] = av_expr_eval(crop->x_pexpr, crop->var_values, NULL);
255 crop->var_values[VAR_Y] = av_expr_eval(crop->y_pexpr, crop->var_values, NULL);
256 crop->var_values[VAR_X] = av_expr_eval(crop->x_pexpr, crop->var_values, NULL);
258 normalize_double(&crop->x, crop->var_values[VAR_X]);
259 normalize_double(&crop->y, crop->var_values[VAR_Y]);
269 (int)crop->var_values[VAR_N], crop->var_values[VAR_T], crop->x,
315 crop->var_values[VAR_N] += 1.0;