Home
last modified time | relevance | path

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

/external/libaom/libaom/aom_dsp/
Dpsnrhvs.c105 static double convert_score_db(double _score, double _weight, int16_t pix_max) { in convert_score_db() argument
108 if (_weight * _score < pix_max * pix_max * 1e-10) return MAX_PSNR; in convert_score_db()
109 return 10 * (log10(pix_max * pix_max) - log10(_weight * _score)); in convert_score_db()
115 uint32_t _shift, int buf_is_hbd, int16_t pix_max, in calc_psnrhvs() argument
201 (pix_max * 16.f); in calc_psnrhvs()
206 (pix_max * 16.f); in calc_psnrhvs()
255 int16_t pix_max = 255; in aom_psnrhvs() local
257 pix_max = 1023; in aom_psnrhvs()
259 pix_max = 4095; in aom_psnrhvs()
266 bd_shift, buf_is_hbd, pix_max, 1); in aom_psnrhvs()
[all …]
/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()