[x265] [PATCH] commit : added log for printing costs for each partSize

sumalatha at multicorewareinc.com sumalatha at multicorewareinc.com
Wed Jun 26 13:33:03 CEST 2013


# HG changeset patch
# User sumalatha
# Date 1372246368 -19800
# Node ID 3e2f373fd0e96d0431c0290f1084a171d69b50bc
# Parent  ecc9ce8993c2095bff653b08ab2ea94d4ac4d079
commit : added log for printing costs for each partSize

diff -r ecc9ce8993c2 -r 3e2f373fd0e9 source/encoder/compress.cpp
--- a/source/encoder/compress.cpp	Tue Jun 25 23:30:09 2013 -0500
+++ b/source/encoder/compress.cpp	Wed Jun 26 17:02:48 2013 +0530
@@ -339,8 +339,13 @@
     {
         bBoundary = true;
         m_addSADDepth++;
-    }    
-
+    }  
+#if CU_STAT_LOGFILE
+    if(rpcBestCU)
+        {
+            fprintf(fp1,"\n Width : %d ,Inter 2Nx2N_Merge : %d , 2Nx2N : %d , 2NxN : %d, Nx2N : %d ", rpcBestCU->getWidth(0), m_MergeBestCU[uiDepth]->getTotalCost(), m_InterCU_2Nx2N[uiDepth]->getTotalCost(),m_InterCU_2NxN[uiDepth]->getTotalCost(),m_InterCU_Nx2N[uiDepth]->getTotalCost());
+        }
+#endif
 // further split
     if (bSubBranch && bTrySplitDQP && uiDepth < g_uiMaxCUDepth - g_uiAddCUDepth)
     {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: june_26_hevc.patch
Type: text/x-patch
Size: 987 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20130626/65f666e0/attachment.bin>


More information about the x265-devel mailing list