[x265] [PATCH] removed unnecessary calculation form rand_srcStride

praveen at multicorewareinc.com praveen at multicorewareinc.com
Thu Oct 17 12:35:48 CEST 2013


# HG changeset patch
# User Praveen Tiwari
# Date 1382006137 -19800
# Node ID dfae391107c3d2823adabe284f1c08278669d8f0
# Parent  fc9dbd798ac37ec1acc0596aa179f0deb586c092
removed unnecessary calculation form rand_srcStride

diff -r fc9dbd798ac3 -r dfae391107c3 source/test/ipfilterharness.cpp
--- a/source/test/ipfilterharness.cpp	Thu Oct 17 14:14:40 2013 +0530
+++ b/source/test/ipfilterharness.cpp	Thu Oct 17 16:05:37 2013 +0530
@@ -279,13 +279,13 @@
         rand_srcStride = rand() % 100;              // Randomly generated srcStride
         rand_dstStride = rand() % 100;              // Randomly generated dstStride
 
-        opt(pixel_buff + 3 * rand_srcStride,
+        opt(pixel_buff + rand_srcStride,
             rand_srcStride,
             IPF_vec_output_p,
             rand_dstStride,
             rand_coeffIdx
             );
-        ref(pixel_buff + 3 * rand_srcStride,
+        ref(pixel_buff + rand_srcStride,
             rand_srcStride,
             IPF_C_output_p,
             rand_dstStride,


More information about the x265-devel mailing list