Searched refs:_score (Results 1 – 2 of 2) sorted by relevance
105 static double convert_score_db(double _score, double _weight, int bit_depth) { in convert_score_db() argument107 assert(_score * _weight >= 0.0); in convert_score_db()113 if (_weight * _score < pix_max * pix_max * 1e-10) return MAX_PSNR; in convert_score_db()114 return 10 * (log10(pix_max * pix_max) - log10(_weight * _score)); in convert_score_db()
108 static double convert_score_db(double _score, double _weight, int bit_depth) { in convert_score_db() argument110 assert(_score * _weight >= 0.0); 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()