<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 17, 2013 at 5:35 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 Praveen Tiwari<br>
# Date 1382006137 -19800<br>
# Node ID dfae391107c3d2823adabe284f1c08278669d8f0<br>
# Parent  fc9dbd798ac37ec1acc0596aa179f0deb586c092<br>
removed unnecessary calculation form rand_srcStride<br>
<br>
diff -r fc9dbd798ac3 -r dfae391107c3 source/test/ipfilterharness.cpp<br>
--- a/source/test/ipfilterharness.cpp   Thu Oct 17 14:14:40 2013 +0530<br>
+++ b/source/test/ipfilterharness.cpp   Thu Oct 17 16:05:37 2013 +0530<br>
@@ -279,13 +279,13 @@<br>
         rand_srcStride = rand() % 100;              // Randomly generated srcStride<br>
         rand_dstStride = rand() % 100;              // Randomly generated dstStride<br>
<br>
-        opt(pixel_buff + 3 * rand_srcStride,<br>
+        opt(pixel_buff + rand_srcStride,<br>
             rand_srcStride,<br>
             IPF_vec_output_p,<br>
             rand_dstStride,<br>
             rand_coeffIdx<br>
             );<br>
-        ref(pixel_buff + 3 * rand_srcStride,<br>
+        ref(pixel_buff + rand_srcStride,<br>
             rand_srcStride,<br>
             IPF_C_output_p,<br>
             rand_dstStride,<br></blockquote></div><div class="gmail_extra"><br></div>This test function will be eventually used for both luma and chroma vertical interpolation functions (they all have the same function definition), so I think the 3 needs to stay there (perhaps it should be better documented as the max vertical filter half-distance)<br clear="all">
<div><br></div>-- <br>Steve Borho
</div></div>