<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 3, 2013 at 12:48 AM, <span dir="ltr"><<a href="mailto:sumalatha@multicorewareinc.com" target="_blank">sumalatha@multicorewareinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User sumalatha polureddy<br>
# Date 1380779314 -19800<br>
# Node ID 942db71c75d2a6abb66bbca3d50fdb6a6a721b2c<br>
# Parent 2c73823af5223e38d019dbbca56c2aa7fe58245e<br>
no-rdo: Replace optimized merge routine to decrease bitrate by 1.6%<br>
<br>
In original merge routine, best candidate is selected based on the cost of<br>
encoding with and without residue.<br>
In optimized routine, the best merge candidate is selected based on cost<br>
without residue which increased bitrate by 1.6%.<br>
So replacing optimized routine with original routine to reduce the bitrate<br></blockquote><div><br></div><div>What is the performance implication of this? it sounds like a choice that should probably be left in the user's hands.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
diff -r 2c73823af522 -r 942db71c75d2 source/encoder/compress.cpp<br>
--- a/source/encoder/compress.cpp Wed Oct 02 17:00:40 2013 +0530<br>
+++ b/source/encoder/compress.cpp Thu Oct 03 11:18:34 2013 +0530<br>
@@ -412,7 +412,7 @@<br>
<br>
/* Compute Merge Cost */<br>
bool earlyDetectionSkip = false;<br>
- xComputeCostMerge2Nx2N(m_bestMergeCU[depth], m_mergeCU[depth], &earlyDetectionSkip, m_modePredYuv[3][depth], m_bestMergeRecoYuv[depth]);<br>
+ xCheckRDCostMerge2Nx2N(m_bestMergeCU[depth], m_mergeCU[depth], &earlyDetectionSkip, m_modePredYuv[3][depth], m_bestMergeRecoYuv[depth]);<br>
<br>
if (!earlyDetectionSkip)<br>
{<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Steve Borho
</div></div>