[x265] [PATCH] no rdo: Turn OFF the early exit code

sumalatha at multicorewareinc.com sumalatha at multicorewareinc.com
Thu Oct 3 13:28:49 CEST 2013


# HG changeset patch
# User Sumalatha Polureddy
# Date 1380799688 -19800
# Node ID 3e24e1081c16a7ffbd786c0edeaf8c1787e55477
# Parent  4f68ed1126b6f0b0f24e9959ee3c3e5ade65c822
no rdo: Turn OFF the early exit code

Turning off the early exit code since it increases the bitrate by 2%
This will be enabled when the hash mismatch issue is solved for the reuse of NxN
calculataion in early exit code

diff -r 4f68ed1126b6 -r 3e24e1081c16 source/encoder/compress.cpp
--- a/source/encoder/compress.cpp	Tue Oct 01 13:46:27 2013 +0530
+++ b/source/encoder/compress.cpp	Thu Oct 03 16:58:08 2013 +0530
@@ -559,6 +559,7 @@
     // further split
     if (bSubBranch && bTrySplitDQP && depth < g_maxCUDepth - g_addCUDepth)
     {
+#if 0 // turn ON this to enable early exit
         UInt64 nxnCost = 0;
         if (outBestCU != 0 && depth > 0)
         {
@@ -617,6 +618,7 @@
                 return;
             }
         }
+#endif // early exit
         outTempCU->initEstData(depth, qp);
         UChar nextDepth = (UChar)(depth + 1);
         subTempPartCU = m_tempCU[nextDepth];


More information about the x265-devel mailing list