Home
last modified time | relevance | path

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

/external/libaom/libaom/aom_dsp/
Dpsnrhvs.c166 double s_gvar = 0; in calc_psnrhvs() local
195 s_gvar += (dct_s[i * 8 + j] - s_gmean) * (dct_s[i * 8 + j] - s_gmean); in calc_psnrhvs()
203 s_gvar *= 1 / 63.f * 64; in calc_psnrhvs()
207 if (s_gvar > 0) in calc_psnrhvs()
208 s_gvar = (s_vars[0] + s_vars[1] + s_vars[2] + s_vars[3]) / s_gvar; in calc_psnrhvs()
224 s_mask = sqrt(s_mask * s_gvar) / 32.f; in calc_psnrhvs()
/external/libvpx/libvpx/vpx_dsp/
Dpsnrhvs.c170 double s_gvar = 0; in calc_psnrhvs() local
199 s_gvar += (dct_s[i * 8 + j] - s_gmean) * (dct_s[i * 8 + j] - s_gmean); in calc_psnrhvs()
207 s_gvar *= 1 / 63.f * 64; in calc_psnrhvs()
211 if (s_gvar > 0) in calc_psnrhvs()
212 s_gvar = (s_vars[0] + s_vars[1] + s_vars[2] + s_vars[3]) / s_gvar; in calc_psnrhvs()
231 s_mask = sqrt(s_mask * s_gvar) / 32.f; in calc_psnrhvs()