Home
last modified time | relevance | path

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

/external/libvpx/vpx_dsp/
Dpsnrhvs.c168 double s_means[4]; in calc_psnrhvs() local
179 s_means[i] = d_means[i] = s_vars[i] = d_vars[i] = 0; in calc_psnrhvs()
192 s_means[sub] += dct_s[i * 8 + j]; in calc_psnrhvs()
198 for (i = 0; i < 4; i++) s_means[i] /= 16.f; in calc_psnrhvs()
205 s_vars[sub] += (dct_s[i * 8 + j] - s_means[sub]) * in calc_psnrhvs()
206 (dct_s[i * 8 + j] - s_means[sub]); in calc_psnrhvs()