Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vpx_dsp/
Dpsnrhvs.c109 int16_t pix_max = 255; in convert_score_db() local
112 pix_max = 1023; in convert_score_db()
114 pix_max = 4095; in convert_score_db()
116 if (_weight * _score < pix_max * pix_max * 1e-10) return MAX_PSNR; in convert_score_db()
117 return 10 * (log10(pix_max * pix_max) - log10(_weight * _score)); in convert_score_db()