<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 12, 2013 at 12:39 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 1373607573 -19800<br>
# Node ID b518fa481bd4eef520dfa7d5f898ef32c753c88f<br>
# Parent  0efb77a7ccf599a73013cc7298625d1ff429f679<br>
TComRdCost::setDistParam cleanup<br></blockquote><div><br></div><div>Looks good, queued</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff -r 0efb77a7ccf5 -r b518fa481bd4 source/Lib/TLibCommon/TComRdCost.cpp<br>
--- a/source/Lib/TLibCommon/TComRdCost.cpp      Fri Jul 12 10:44:04 2013 +0530<br>
+++ b/source/Lib/TLibCommon/TComRdCost.cpp      Fri Jul 12 11:09:33 2013 +0530<br>
@@ -116,35 +116,35 @@<br>
 }<br>
<br>
 // Setting the Distortion Parameter for Inter (ME)<br>
-Void TComRdCost::setDistParam(TComPattern* patternKey, Pel* piRefY, Int iRefStride, DistParam& rcDistParam)<br>
+Void TComRdCost::setDistParam(TComPattern* patternKey, Pel* refY, Int refStride, DistParam& distParam)<br>
 {<br>
     // set Original & Curr Pointer / Stride<br>
-    rcDistParam.fenc = patternKey->getROIY();<br>
-    rcDistParam.fref = piRefY;<br>
+    distParam.fenc = patternKey->getROIY();<br>
+    distParam.fref = refY;<br>
<br>
-    rcDistParam.fencstride = patternKey->getPatternLStride();<br>
-    rcDistParam.frefstride = iRefStride;<br>
+    distParam.fencstride = patternKey->getPatternLStride();<br>
+    distParam.frefstride = refStride;<br>
<br>
     // set Block Width / Height<br>
-    rcDistParam.cols    = patternKey->getROIYWidth();<br>
-    rcDistParam.rows    = patternKey->getROIYHeight();<br>
-    rcDistParam.distFunc = m_distortionFunctions[DF_SAD + g_convertToBit[rcDistParam.cols] + 1];<br>
+    distParam.cols    = patternKey->getROIYWidth();<br>
+    distParam.rows    = patternKey->getROIYHeight();<br>
+    distParam.distFunc = m_distortionFunctions[DF_SAD + g_convertToBit[distParam.cols] + 1];<br>
<br>
-    if (rcDistParam.cols == 12)<br>
+    if (distParam.cols == 12)<br>
     {<br>
-        rcDistParam.distFunc = m_distortionFunctions[43];<br>
+        distParam.distFunc = m_distortionFunctions[43];<br>
     }<br>
-    else if (rcDistParam.cols == 24)<br>
+    else if (distParam.cols == 24)<br>
     {<br>
-        rcDistParam.distFunc = m_distortionFunctions[44];<br>
+        distParam.distFunc = m_distortionFunctions[44];<br>
     }<br>
-    else if (rcDistParam.cols == 48)<br>
+    else if (distParam.cols == 48)<br>
     {<br>
-        rcDistParam.distFunc = m_distortionFunctions[45];<br>
+        distParam.distFunc = m_distortionFunctions[45];<br>
     }<br>
<br>
     // initialize<br>
-    rcDistParam.subShift  = 0;<br>
+    distParam.subShift  = 0;<br>
 }<br>
<br>
 // Setting the Distortion Parameter for Inter (subpel ME with step)<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>