[x265] [PATCH] xDCT8_C renamed to dct8_c and code cleanup
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Mon Jul 8 07:58:36 CEST 2013
# HG changeset patch
# User praveentiwari
# Date 1373263100 -19800
# Node ID beb127ef03c70093a8b2c1be418f0ba7ce77b022
# Parent 091e94404540708c8519c0285886e864aa9df593
xDCT8_C renamed to dct8_c and code cleanup
diff -r 091e94404540 -r beb127ef03c7 source/common/dct.cpp
--- a/source/common/dct.cpp Mon Jul 08 11:15:21 2013 +0530
+++ b/source/common/dct.cpp Mon Jul 08 11:28:20 2013 +0530
@@ -479,7 +479,7 @@
#undef N
}
-void xDCT8_C(short *src, int *dst, intptr_t nStride)
+void dct8_c(short *src, int *dst, intptr_t stride)
{
const int shift_1st = 2;
const int shift_2nd = 9;
@@ -489,7 +489,7 @@
for (int i = 0; i < 8; i++)
{
- memcpy(&block[i * 8], &src[i * nStride], 8 * sizeof(short));
+ memcpy(&block[i * 8], &src[i * stride], 8 * sizeof(short));
}
partialButterfly8(block, coef, shift_1st, 8);
@@ -835,7 +835,7 @@
p.quant = quant_C;
p.dct[DST_4x4] = dst4_c;
p.dct[DCT_4x4] = dct4_c;
- p.dct[DCT_8x8] = xDCT8_C;
+ p.dct[DCT_8x8] = dct8_c;
p.dct[DCT_16x16] = xDCT16_C;
p.dct[DCT_32x32] = xDCT32_C;
p.idct[IDST_4x4] = xIDST4_C;
More information about the x265-devel
mailing list