<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>At 2014-02-03 19:07:31,nabajit@multicorewareinc.com wrote:<BR>># HG changeset patch<BR>># User Nabajit Deka<BR>># Date 1391425643 -19800<BR>># Mon Feb 03 16:37:23 2014 +0530<BR>># Node ID 89b7060e631754de11577dbd1cab735d0df6df7e<BR>># Parent ae56333a326830d07ee2f7a25c2a5939154888bf<BR>>testbench: Added stress test cases for chroma_pp, chroma_ps and chroma_hps filter functions<BR>><BR>>diff -r ae56333a3268 -r 89b7060e6317 source/test/ipfilterharness.cpp<BR>>--- a/source/test/ipfilterharness.cpp Mon Feb 03 16:06:24 2014 +0530<BR>>+++ b/source/test/ipfilterharness.cpp Mon Feb 03 16:37:23 2014 +0530<BR>>@@ -151,28 +151,31 @@<BR>> <BR>> bool IPFilterHarness::check_IPFilterChroma_primitive(filter_pp_t ref, filter_pp_t opt)<BR>> {<BR>>- int rand_srcStride, rand_dstStride, rand_coeffIdx;<BR>>+ int rand_srcStride, rand_dstStride;<BR>> <BR>>- for (int i = 0; i <= 100; i++)<BR>>+ for (int i = 0; i < ITERS; i++)<BR>> {<BR>>- rand_coeffIdx = rand() % 8; // Random coeffIdex in the filter<BR>>+ int index = i % TEST_CASES;<BR>+ for (int coeffIdx = 0; coeffIdx < 8; coeffIdx++)<BR><BR>
<DIV>why combo TEST_CASES and coeffIdx, I think every specially case have exact coeffIdx value.</DIV>
<DIV> </DIV></DIV></div>