]> granicus.if.org Git - libvpx/commitdiff
Moving pair_set_epi32 macro into vp9_dct32x32_sse2.c.
authorDmitry Kovalev <dkovalev@google.com>
Thu, 1 May 2014 23:45:49 +0000 (16:45 -0700)
committerDmitry Kovalev <dkovalev@google.com>
Thu, 1 May 2014 23:45:49 +0000 (16:45 -0700)
Change-Id: I642a7d343677bf934e9a54cf4ad78e908620e39a

vp9/common/vp9_idct.h
vp9/encoder/x86/vp9_dct32x32_sse2.c

index ceca7951b10ac446f82462f21474ba1b2a751145..d8687762244dc96e307598b3d3aee60d56a2229f 100644 (file)
@@ -33,9 +33,6 @@ extern "C" {
 #define pair_set_epi16(a, b) \
   _mm_set_epi16(b, a, b, a, b, a, b, a)
 
-#define pair_set_epi32(a, b) \
-  _mm_set_epi32(b, a, b, a)
-
 // Constants:
 //  for (int i = 1; i< 32; ++i)
 //    printf("static const int cospi_%d_64 = %.0f;\n", i,
index 2d59775cec621eb20f79c14e11a33aa5e89e689f..42fdbbdc5ce66483a9818ae1438285563f7326b5 100644 (file)
@@ -12,6 +12,9 @@
 #include "vp9/common/vp9_idct.h"  // for cospi constants
 #include "vpx_ports/mem.h"
 
+#define pair_set_epi32(a, b) \
+  _mm_set_epi32(b, a, b, a)
+
 #if FDCT32x32_HIGH_PRECISION
 static INLINE __m128i k_madd_epi32(__m128i a, __m128i b) {
   __m128i buf0, buf1;