[x265] [PATCH] xDCT4_C renamed to dct4_c and code cleanup
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Mon Jul 8 07:45:38 CEST 2013
# HG changeset patch
# User praveentiwari
# Date 1373262321 -19800
# Node ID 091e94404540708c8519c0285886e864aa9df593
# Parent 2e9372cb344695117a1ab79e6b90d31c2aba1dcf
xDCT4_C renamed to dct4_c and code cleanup
diff -r 2e9372cb3446 -r 091e94404540 source/common/dct.cpp
--- a/source/common/dct.cpp Mon Jul 08 11:03:48 2013 +0530
+++ b/source/common/dct.cpp Mon Jul 08 11:15:21 2013 +0530
@@ -452,7 +452,7 @@
#undef N
}
-void xDCT4_C(short *src, int *dst, intptr_t nStride)
+void dct4_c(short *src, int *dst, intptr_t stride)
{
const int shift_1st = 1;
const int shift_2nd = 8;
@@ -462,7 +462,7 @@
for (int i = 0; i < 4; i++)
{
- memcpy(&block[i * 4], &src[i * nStride], 4 * sizeof(short));
+ memcpy(&block[i * 4], &src[i * stride], 4 * sizeof(short));
}
partialButterfly4(block, coef, shift_1st, 4);
@@ -834,7 +834,7 @@
p.quantaq = quantaq_C;
p.quant = quant_C;
p.dct[DST_4x4] = dst4_c;
- p.dct[DCT_4x4] = xDCT4_C;
+ p.dct[DCT_4x4] = dct4_c;
p.dct[DCT_8x8] = xDCT8_C;
p.dct[DCT_16x16] = xDCT16_C;
p.dct[DCT_32x32] = xDCT32_C;
More information about the x265-devel
mailing list