[x265] [PATCH 2 of 3] Test bench modifications for weight_sp() asm routine

Nabajit Deka nabajit at multicorewareinc.com
Mon Nov 25 12:10:28 CET 2013


Please ignore this patch


On Mon, Nov 25, 2013 at 4:08 PM, <nabajit at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Nabajit Deka
> # Date 1385375804 -19800
> #      Mon Nov 25 16:06:44 2013 +0530
> # Node ID 21d87345c83d732137d6319023ead387a442377a
> # Parent  4a5ad44661863551a57ab5a2d38f9e91e4297b7c
> Test bench modifications for weight_sp() asm routine
>
> diff -r 4a5ad4466186 -r 21d87345c83d source/test/pixelharness.cpp
> --- a/source/test/pixelharness.cpp      Mon Nov 25 16:04:53 2013 +0530
> +++ b/source/test/pixelharness.cpp      Mon Nov 25 16:06:44 2013 +0530
> @@ -287,10 +287,10 @@
>      memset(ref_dest, 0, 64 * 64 * sizeof(pixel));
>      memset(opt_dest, 0, 64 * 64 * sizeof(pixel));
>      int j = 0;
> -    int width = (2 * rand()) % 64;
> +    int width = (2 * (rand() + 1)) % 64;
>      int height = 8;
> -    int w0 = rand() % 256;
> -    int shift = rand() % 12;
> +    int w0 = rand() % 128;
> +    int shift = rand() % 15;
>      int round = shift ? (1 << (shift - 1)) : 0;
>      int offset = (rand() % 256) - 128;
>      for (int i = 0; i < ITERS; i++)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131125/337e1148/attachment.html>


More information about the x265-devel mailing list