[x265] [PATCH 1 of 2] ssim: increase precision in ssim reporting

deepthi at multicorewareinc.com deepthi at multicorewareinc.com
Sat Nov 30 11:44:47 CET 2013


# HG changeset patch
# User Deepthi Nandakumar <deepthi at multicorewareinc.com>
# Date 1385807999 -19800
# Branch stable
# Node ID b08f3853adb9fce2a991292dd93a8af2bb0c7c71
# Parent  fb93582b5f3f34f30933c216c3420f209c2e1083
ssim: increase precision in ssim reporting

diff -r fb93582b5f3f -r b08f3853adb9 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp	Fri Nov 29 16:29:02 2013 +0530
+++ b/source/encoder/encoder.cpp	Sat Nov 30 16:09:59 2013 +0530
@@ -570,7 +570,7 @@
         else
             fprintf(m_csvfpt, " -, -, -, -,");
         if (param.bEnableSsim)
-            fprintf(m_csvfpt, " %.2f,", stats.globalSsim);
+            fprintf(m_csvfpt, " %.3f,", stats.globalSsim);
         else
             fprintf(m_csvfpt, " -,");
 


More information about the x265-devel mailing list