Home
last modified time | relevance | path

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

/external/libaom/libaom/aom_dsp/
Dpsnrhvs.c167 double d_gvar = 0; in calc_psnrhvs() local
196 d_gvar += (dct_d[i * 8 + j] - d_gmean) * (dct_d[i * 8 + j] - d_gmean); in calc_psnrhvs()
204 d_gvar *= 1 / 63.f * 64; in calc_psnrhvs()
209 if (d_gvar > 0) in calc_psnrhvs()
210 d_gvar = (d_vars[0] + d_vars[1] + d_vars[2] + d_vars[3]) / d_gvar; in calc_psnrhvs()
225 d_mask = sqrt(d_mask * d_gvar) / 32.f; in calc_psnrhvs()
/external/libvpx/libvpx/vpx_dsp/
Dpsnrhvs.c171 double d_gvar = 0; in calc_psnrhvs() local
200 d_gvar += (dct_d[i * 8 + j] - d_gmean) * (dct_d[i * 8 + j] - d_gmean); in calc_psnrhvs()
208 d_gvar *= 1 / 63.f * 64; in calc_psnrhvs()
213 if (d_gvar > 0) in calc_psnrhvs()
214 d_gvar = (d_vars[0] + d_vars[1] + d_vars[2] + d_vars[3]) / d_gvar; in calc_psnrhvs()
232 d_mask = sqrt(d_mask * d_gvar) / 32.f; in calc_psnrhvs()