Searched refs:pix_max (Results 1 – 2 of 2) sorted by relevance
106 int16_t pix_max = 255; in convert_score_db() local109 pix_max = 1023; in convert_score_db()111 pix_max = 4095; 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()
109 int16_t pix_max = 255; in convert_score_db() local112 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()