[x265] [PATCH] xDCT16_C renamed to dct16_c and code cleanup
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Mon Jul 8 11:06:02 CEST 2013
# HG changeset patch
# User praveentiwari
# Date 1373274351 -19800
# Node ID 9bd547df3c4a6ef3925103787c209206621c40e4
# Parent 7242d6166f874bc31d49a93de3d97226e6d2a2fa
xDCT16_C renamed to dct16_c and code cleanup
diff -r 7242d6166f87 -r 9bd547df3c4a source/common/dct.cpp
--- a/source/common/dct.cpp Mon Jul 08 01:34:09 2013 -0500
+++ b/source/common/dct.cpp Mon Jul 08 14:35:51 2013 +0530
@@ -507,7 +507,7 @@
#undef N
}
-void xDCT16_C(short *src, int *dst, intptr_t nStride)
+void dct16_c(short *src, int *dst, intptr_t stride)
{
const int shift_1st = 3;
const int shift_2nd = 10;
@@ -517,7 +517,7 @@
for (int i = 0; i < 16; i++)
{
- memcpy(&block[i * 16], &src[i * nStride], 16 * sizeof(short));
+ memcpy(&block[i * 16], &src[i * stride], 16 * sizeof(short));
}
partialButterfly16(block, coef, shift_1st, 16);
@@ -836,7 +836,7 @@
p.dct[DST_4x4] = dst4_c;
p.dct[DCT_4x4] = dct4_c;
p.dct[DCT_8x8] = dct8_c;
- p.dct[DCT_16x16] = xDCT16_C;
+ p.dct[DCT_16x16] = dct16_c;
p.dct[DCT_32x32] = xDCT32_C;
p.idct[IDST_4x4] = xIDST4_C;
p.idct[IDCT_4x4] = xIDCT4_C;
More information about the x265-devel
mailing list