<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 12, 2013 at 12:44 AM, <span dir="ltr"><<a href="mailto:praveen@multicorewareinc.com" target="_blank">praveen@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 praveentiwari<br>
# Date 1373607846 -19800<br>
# Node ID e4eafcb35d23cd00f049b3e6ed72e9b313427213<br>
# Parent b518fa481bd4eef520dfa7d5f898ef32c753c88f<br>
TComRdCost::setLambda cleanup<br></blockquote><div><br></div><div>queued.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
diff -r b518fa481bd4 -r e4eafcb35d23 source/Lib/TLibCommon/TComRdCost.cpp<br>
--- a/source/Lib/TLibCommon/TComRdCost.cpp Fri Jul 12 11:09:33 2013 +0530<br>
+++ b/source/Lib/TLibCommon/TComRdCost.cpp Fri Jul 12 11:14:06 2013 +0530<br>
@@ -51,9 +51,9 @@<br>
TComRdCost::~TComRdCost()<br>
{}<br>
<br>
-Void TComRdCost::setLambda(Double dLambda)<br>
+Void TComRdCost::setLambda(Double lambda)<br>
{<br>
- m_lambda2 = dLambda;<br>
+ m_lambda2 = lambda;<br>
m_lambda = sqrt(m_lambda2);<br></blockquote><div><br></div><div>while you're poking around this function, you should clean up the white-space by lining up the = as near to the vars as is feasible.</div><div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
m_lambdaMotionSAD = (UInt64)floor(65536.0 * m_lambda);<br>
m_lambdaMotionSSE = (UInt64)floor(65536.0 * m_lambda2);<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/x265-devel" target="_blank">http://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Steve Borho
</div></div>