[x265] [PATCH] dst4_c: optimization as per new interface
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Tue Oct 28 13:07:59 CET 2014
# HG changeset patch
# User Praveen Tiwari
# Date 1414489705 -19800
# Node ID 06197d720e4fbee696e513a96346dd67739fe80a
# Parent 4bd21a6f2304eb6783c028546773362c9789885c
dst4_c: optimization as per new interface
diff -r 4bd21a6f2304 -r 06197d720e4f source/common/dct.cpp
--- a/source/common/dct.cpp Tue Oct 28 11:36:22 2014 +0530
+++ b/source/common/dct.cpp Tue Oct 28 15:18:25 2014 +0530
@@ -454,18 +454,7 @@
}
fastForwardDst(block, coef, shift_1st);
- fastForwardDst(coef, block, shift_2nd);
-
-#define N (4)
- for (int i = 0; i < N; i++)
- {
- for (int j = 0; j < N; j++)
- {
- dst[i * N + j] = block[i * N + j];
- }
- }
-
-#undef N
+ fastForwardDst(coef, dst, shift_2nd);
}
void dct4_c(int16_t *src, int16_t *dst, intptr_t stride)
More information about the x265-devel
mailing list