Home
last modified time | relevance | path

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

/external/libaom/libaom/aom_dsp/
Dpsnrhvs.c160 double s_means[4]; in calc_psnrhvs() local
171 s_means[i] = d_means[i] = s_vars[i] = d_vars[i] = 0; in calc_psnrhvs()
184 s_means[sub] += dct_s[i * 8 + j]; in calc_psnrhvs()
190 for (i = 0; i < 4; i++) s_means[i] /= 16.f; in calc_psnrhvs()
197 s_vars[sub] += (dct_s[i * 8 + j] - s_means[sub]) * in calc_psnrhvs()
198 (dct_s[i * 8 + j] - s_means[sub]); in calc_psnrhvs()
/external/libvpx/libvpx/vpx_dsp/
Dpsnrhvs.c164 double s_means[4]; in calc_psnrhvs() local
175 s_means[i] = d_means[i] = s_vars[i] = d_vars[i] = 0; in calc_psnrhvs()
188 s_means[sub] += dct_s[i * 8 + j]; in calc_psnrhvs()
194 for (i = 0; i < 4; i++) s_means[i] /= 16.f; in calc_psnrhvs()
201 s_vars[sub] += (dct_s[i * 8 + j] - s_means[sub]) * in calc_psnrhvs()
202 (dct_s[i * 8 + j] - s_means[sub]); in calc_psnrhvs()