[x265] [PATCH] ipfilterharness.cpp, modified chroma filter_hpp unit test code to support filter_vpp

praveen at multicorewareinc.com praveen at multicorewareinc.com
Mon Oct 21 14:45:05 CEST 2013


# HG changeset patch
# User Praveen Tiwari
# Date 1382359464 -19800
# Node ID 3666773b7ea1442b5222ea5ecf19d4d4ed140acc
# Parent  f987c24c7bf2d3e6df0f96b2c75f3e71ab15a85e
ipfilterharness.cpp, modified chroma filter_hpp unit test code to support filter_vpp

diff -r f987c24c7bf2 -r 3666773b7ea1 source/test/ipfilterharness.cpp
--- a/source/test/ipfilterharness.cpp	Mon Oct 21 16:15:22 2013 +0530
+++ b/source/test/ipfilterharness.cpp	Mon Oct 21 18:14:24 2013 +0530
@@ -274,13 +274,15 @@
         rand_srcStride = rand() % 100;              // Randomly generated srcStride
         rand_dstStride = rand() % 100;              // Randomly generated dstStride
 
-        opt(pixel_buff + rand_srcStride,
+       // maxVerticalfilterHalfDistance = 3
+
+        opt(pixel_buff + 3 * rand_srcStride,
             rand_srcStride,
             IPF_vec_output_p,
             rand_dstStride,
             rand_coeffIdx
             );
-        ref(pixel_buff + rand_srcStride,
+        ref(pixel_buff + 3 * rand_srcStride,
             rand_srcStride,
             IPF_C_output_p,
             rand_dstStride,


More information about the x265-devel mailing list