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

Steve Borho steve at borho.org
Tue Mar 31 03:29:46 CEST 2015


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1426555173 18000
#      Mon Mar 16 20:19:33 2015 -0500
# Node ID fdae0e08a96f35189ca439715c5f5dd1c45c2aa3
# Parent  c11e38ce9d8d55cfed8133a966c3ed58543d5721
stats: with the CU reference limit, even 8x8 can have skipped motion searches

diff -r c11e38ce9d8d -r fdae0e08a96f source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp	Mon Mar 16 20:19:33 2015 -0500
+++ b/source/encoder/encoder.cpp	Mon Mar 16 20:19:33 2015 -0500
@@ -904,10 +904,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,
              (double)cuStats.countIntraAnalysis / cuStats.totalCTUs);


More information about the x265-devel mailing list