[x265] [PATCH] testbench: stress test support for Check_transpose

chen chenm003 at 163.com
Wed Jan 29 14:18:39 CET 2014


good framework

At 2014-01-29 19:49:12,murugan at multicorewareinc.com wrote:
># HG changeset patch
># User Murugan Vairavel <murugan at multicorewareinc.com>
># Date 1390996123 -19800
>#      Wed Jan 29 17:18:43 2014 +0530
># Node ID 5d30fc1639b71ed9f410123125ce4a7fb683875d
># Parent  8552e8cc1a3c60ddcab85e7421229c9a86d4785f
>testbench: stress test support for Check_transpose
>
>diff -r 8552e8cc1a3c -r 5d30fc1639b7 source/test/pixelharness.cpp
>--- a/source/test/pixelharness.cpp Tue Jan 28 08:49:01 2014 -0600
>+++ b/source/test/pixelharness.cpp Wed Jan 29 17:18:43 2014 +0530
>@@ -33,12 +33,34 @@
> #define INCR   32
> #define STRIDE 64
> #define ITERS  100
>+#define MAX_HEIGHT 64
>+#define PAD_ROWS   64
>+#define BUFFSIZE STRIDE * (MAX_HEIGHT + PAD_ROWS) + INCR * ITERS
>+#define TEST_CASES 3
> 
> PixelHarness::PixelHarness()
> {
>-    int maxheight = 64;
>-    int padrows = 64;
>-    int bufsize = STRIDE * (maxheight + padrows) + INCR * ITERS;
>+    int bufsize = STRIDE * (MAX_HEIGHT + PAD_ROWS) + INCR * ITERS;
>+
>+    /*pixel buff array */
>+    pixel_test_buff = (pixel**)X265_MALLOC(pixel, TEST_CASES);
>+    for (int i = 0; i < TEST_CASES; i++)
>+    {
>+        pixel_test_buff[i] = (pixel*)X265_MALLOC(pixel, BUFFSIZE);
>+    }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20140129/68e932b4/attachment-0001.html>


More information about the x265-devel mailing list