Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Daf_axcorrelate.c100 static float xcorrelate(const float *x, const float *y, float sumx, float sumy, int size) in xcorrelate() argument
102 const float xm = sumx / size, ym = sumy / size; in xcorrelate()
129 float *sumx = (float *)s->mean_sum[0]->extended_data[ch]; in xcorrelate_slow() local
135 sumx[0] = mean_sum(x, size); in xcorrelate_slow()
141 dst[n] = xcorrelate(x + n, y + n, sumx[0], sumy[0], size); in xcorrelate_slow()
143 sumx[0] -= x[n]; in xcorrelate_slow()
144 sumx[0] += x[n + size]; in xcorrelate_slow()
/third_party/ffmpeg/libavcodec/
Drpzaenc.c268 double sumx = 0, sumy = 0, sumx2 = 0, sumy2 = 0, sumxy = 0, in leastsquares() local
282 sumx += x; in leastsquares()
291 sumx_sq = sumx * sumx; in leastsquares()
300 *slope = (sumx * sumy - sumxy) / tmp; in leastsquares()
301 *y_intercept = (sumy - (*slope) * sumx) / count; in leastsquares()
307 *correlation_coef = (count * sumxy - sumx * sumy) / in leastsquares()