[x265] [PATCH] dct32_c: optimization

Steve Borho steve at borho.org
Fri Nov 21 07:26:09 CET 2014


On 11/21, praveen at multicorewareinc.com wrote:
> # HG changeset patch
> # User Praveen Tiwari
> # Date 1416548180 -19800
> # Node ID d00c6fb1f8c70a5c94808198f4c4e0e317f88351
> # Parent  9546f5f88938eacdd7e5a140b992b9c2615d6242
> dct32_c: optimization

I've queued this series of patches

> diff -r 9546f5f88938 -r d00c6fb1f8c7 source/common/dct.cpp
> --- a/source/common/dct.cpp	Fri Nov 21 10:59:04 2014 +0530
> +++ b/source/common/dct.cpp	Fri Nov 21 11:06:20 2014 +0530
> @@ -522,18 +522,7 @@
>      }
>  
>      partialButterfly32(block, coef, shift_1st, 32);
> -    partialButterfly32(coef, block, shift_2nd, 32);
> -
> -#define N (32)
> -    for (int i = 0; i < N; i++)
> -    {
> -        for (int j = 0; j < N; j++)
> -        {
> -            dst[i * N + j] = block[i * N + j];
> -        }
> -    }
> -
> -#undef N
> +    partialButterfly32(coef, dst, shift_2nd, 32);
>  }
>  
>  void idst4_c(const int16_t *src, int16_t *dst, intptr_t stride)
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel

-- 
Steve Borho


More information about the x265-devel mailing list