[x265] [PATCH] stats: with the CU reference limit, even 8x8 can have skipped motion searches

ashok at multicorewareinc.com ashok at multicorewareinc.com
Tue May 19 15:18:11 CEST 2015


# HG changeset patch
# User Ashok Kumar Mishra<ashok at multicorewareinc.com>
# Date 1431936386 -19800
#      Mon May 18 13:36:26 2015 +0530
# Node ID ef34e2d5de9768c486e499140f8335f8067b5334
# Parent  536be87c9bb64cf301a5dd276a9814e819c77110
stats: with the CU reference limit, even 8x8 can have skipped motion searches

diff -r 536be87c9bb6 -r ef34e2d5de97 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp	Mon May 18 13:34:33 2015 +0530
+++ b/source/encoder/encoder.cpp	Mon May 18 13:36:26 2015 +0530
@@ -951,10 +951,11 @@
                  (double)cuStats.countMotionEstimate / cuStats.totalCTUs);
 
         if (cuStats.skippedMotionReferences[0] || cuStats.skippedMotionReferences[1] || cuStats.skippedMotionReferences[2])
-            x265_log(m_param, X265_LOG_INFO, "CU: Skipped motion searches per depth %%%.2lf %%%.2lf %%%.2lf\n",
+            x265_log(m_param, X265_LOG_INFO, "CU: Skipped motion searches per depth %%%.2lf %%%.2lf %%%.2lf %%%.2lf\n",
                      100.0 * cuStats.skippedMotionReferences[0] / cuStats.totalMotionReferences[0],
                      100.0 * cuStats.skippedMotionReferences[1] / cuStats.totalMotionReferences[1],
-                     100.0 * cuStats.skippedMotionReferences[2] / cuStats.totalMotionReferences[2]);
+                     100.0 * cuStats.skippedMotionReferences[2] / cuStats.totalMotionReferences[2],
+                     100.0 * cuStats.skippedMotionReferences[3] / cuStats.totalMotionReferences[3]);
     }
     x265_log(m_param, X265_LOG_INFO, "CU: %%%05.2lf time spent in intra analysis, averaging %.3lf Intra PUs per CTU\n",
              100.0 * cuStats.intraAnalysisElapsedTime / totalWorkerTime,


More information about the x265-devel mailing list