[x265] [PATCH] xDST4_C renamed to dst4_c and clenup

praveen at multicorewareinc.com praveen at multicorewareinc.com
Mon Jul 8 07:34:02 CEST 2013


# HG changeset patch
# User praveentiwari
# Date 1373261628 -19800
# Node ID 2e9372cb344695117a1ab79e6b90d31c2aba1dcf
# Parent  7ee04e912bdd49d17853a826c3e18dad58897ce8
xDST4_C renamed to dst4_c and clenup

diff -r 7ee04e912bdd -r 2e9372cb3446 source/common/dct.cpp
--- a/source/common/dct.cpp	Fri Jul 05 16:56:32 2013 +0530
+++ b/source/common/dct.cpp	Mon Jul 08 11:03:48 2013 +0530
@@ -424,7 +424,7 @@
     }
 }
 
-void xDST4_C(short *src, int *dst, intptr_t nStride)
+void dst4_c(short *src, int *dst, intptr_t stride)
 {
     const int shift_1st = 1;
     const int shift_2nd = 8;
@@ -434,7 +434,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));
     }
 
     fastForwardDst(block, coef, shift_1st);
@@ -833,7 +833,7 @@
     p.deQuant = xDeQuant;
     p.quantaq = quantaq_C;
     p.quant = quant_C;
-    p.dct[DST_4x4] = xDST4_C;
+    p.dct[DST_4x4] = dst4_c;
     p.dct[DCT_4x4] = xDCT4_C;
     p.dct[DCT_8x8] = xDCT8_C;
     p.dct[DCT_16x16] = xDCT16_C;


More information about the x265-devel mailing list