Home
last modified time | relevance | path

Searched refs:mean_y (Results 1 – 1 of 1) sorted by relevance

/external/libaom/libaom/aom_dsp/
Dnoise_util.c157 double *mean_x, *mean_y, *var_x, *var_y; in aom_noise_data_validate() local
163 mean_y = (double *)aom_malloc(sizeof(*mean_x) * h); in aom_noise_data_validate()
168 memset(mean_y, 0, sizeof(*mean_y) * h); in aom_noise_data_validate()
177 mean_y[y] += d; in aom_noise_data_validate()
186 mean_y[y] /= h; in aom_noise_data_validate()
187 var_y[y] = var_y[y] / h - mean_y[y] * mean_y[y]; in aom_noise_data_validate()
193 if (fabs(mean_y[y] - mean) >= kMeanThreshold) { in aom_noise_data_validate()
194 fprintf(stderr, "Mean distance too large %f %f\n", mean_y[y], mean); in aom_noise_data_validate()
216 aom_free(mean_y); in aom_noise_data_validate()