Searched refs:_ssim (Results 1 – 1 of 1) sorted by relevance
442 static double convert_ssim_db(double _ssim, double _weight) { in convert_ssim_db() argument443 assert(_weight >= _ssim); in convert_ssim_db()444 if ((_weight - _ssim) < 1e-10) return MAX_SSIM_DB; in convert_ssim_db()445 return 10 * (log10(_weight) - log10(_weight - _ssim)); in convert_ssim_db()