<div dir="ltr">Thanks - unintended duplicate copy. Pushed the same fix before I saw this. <br><div><div id="__tbSetup"></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 21, 2013 at 1:16 PM, Gopu Govindaswamy <span dir="ltr"><<a href="mailto:gopu@multicorewareinc.com" target="_blank">gopu@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 Gopu Govindaswamy <<a href="mailto:gopu@multicorewareinc.com">gopu@multicorewareinc.com</a>><br>
# Date 1382341604 -19800<br>
# Node ID ff8860e0b3082cbb1848e0f5c89e73dc1d7aa87e<br>
# Parent fabb25ae4db4a06073decead3836521a14b5bde9<br>
lowres : removed duplicate code for extending right and bottom margin<br>
<br>
diff -r fabb25ae4db4 -r ff8860e0b308 source/common/lowres.cpp<br>
--- a/source/common/lowres.cpp Sat Oct 19 18:08:07 2013 +0800<br>
+++ b/source/common/lowres.cpp Mon Oct 21 13:16:44 2013 +0530<br>
@@ -159,24 +159,6 @@<br>
::memcpy(src + y * srcStride, src, sizeof(Pel) * (extWidth));<br>
}<br>
<br>
- /* extending right margin*/<br>
- if (2 * width > orig->getWidth())<br>
- {<br>
- for (y = 0; y < srcHeight; y++)<br>
- {<br>
- ::memset(src + srcWidth, src[srcWidth - 1], sizeof(Pel) * (X265_LOWRES_CU_SIZE - 1));<br>
- src += srcStride;<br>
- }<br>
- }<br>
-<br>
- /* extending bottom margin */<br>
- src = orig->getLumaAddr() + (srcHeight - 1) * srcStride;<br>
-<br>
- for (y = 1; y <= 2 * lines - srcHeight; y++)<br>
- {<br>
- ::memcpy(src + y * srcStride, src, sizeof(Pel) * (extWidth));<br>
- }<br>
-<br>
/* downscale and generate 4 HPEL planes for lookahead */<br>
primitives.frame_init_lowres_core(orig->getLumaAddr(),<br>
lowresPlane[0], lowresPlane[1], lowresPlane[2], lowresPlane[3],<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></div>