[x265] [PATCH] xDCT32_C renamed to dct32_c and code cleanup
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Mon Jul 8 11:10:45 CEST 2013
# HG changeset patch
# User praveentiwari
# Date 1373274634 -19800
# Node ID ea36e39846514f5e92db1eee003a086e1e0badba
# Parent 9bd547df3c4a6ef3925103787c209206621c40e4
xDCT32_C renamed to dct32_c and code cleanup
diff -r 9bd547df3c4a -r ea36e3984651 source/common/dct.cpp
--- a/source/common/dct.cpp Mon Jul 08 14:35:51 2013 +0530
+++ b/source/common/dct.cpp Mon Jul 08 14:40:34 2013 +0530
@@ -535,7 +535,7 @@
#undef N
}
-void xDCT32_C(short *src, int *dst, intptr_t nStride)
+void dct32_c(short *src, int *dst, intptr_t stride)
{
const int shift_1st = 4;
const int shift_2nd = 11;
@@ -545,7 +545,7 @@
for (int i = 0; i < 32; i++)
{
- memcpy(&block[i * 32], &src[i * nStride], 32 * sizeof(short));
+ memcpy(&block[i * 32], &src[i * stride], 32 * sizeof(short));
}
partialButterfly32(block, coef, shift_1st, 32);
@@ -837,7 +837,7 @@
p.dct[DCT_4x4] = dct4_c;
p.dct[DCT_8x8] = dct8_c;
p.dct[DCT_16x16] = dct16_c;
- p.dct[DCT_32x32] = xDCT32_C;
+ p.dct[DCT_32x32] = dct32_c;
p.idct[IDST_4x4] = xIDST4_C;
p.idct[IDCT_4x4] = xIDCT4_C;
p.idct[IDCT_8x8] = xIDCT8_C;
More information about the x265-devel
mailing list