Lines Matching defs:var_y
157 double *mean_x, *mean_y, *var_x, *var_y;
164 var_y = (double *)aom_malloc(sizeof(*var_y) * h);
169 memset(var_y, 0, sizeof(*var_y) * h);
175 var_y[y] += d * d;
187 var_y[y] = var_y[y] / h - mean_y[y] * mean_y[y];
188 if (fabs(var_y[y] - var) >= kVarianceThreshold) {
189 fprintf(stderr, "Variance distance too large %f %f\n", var_y[y], var);
218 aom_free(var_y);