rename vp9_dct_impl_sse2.c to vp9_dct_sse2_impl.h
authorJames Zern <jzern@google.com>
Fri, 15 May 2015 23:47:51 +0000 (16:47 -0700)
committerJames Zern <jzern@google.com>
Sat, 16 May 2015 00:01:19 +0000 (17:01 -0700)
this file shouldn't be built directly, it is included in vp9_dct_sse2.c
to create a non-high-bitdepth and a high-bitdepth version

silences missing prototype warnings for the unused FDCT* functions

Change-Id: Ide6ff8c24ab31bdb0f833260505ae33660a1ad5b

vp9/encoder/x86/vp9_dct_sse2.c
vp9/encoder/x86/vp9_dct_sse2_impl.h [moved from vp9/encoder/x86/vp9_dct_impl_sse2.c with 100% similarity]
vp9/vp9cx.mk

index 73ed5ed..cff4fcb 100644 (file)
@@ -2370,7 +2370,7 @@ void vp9_highbd_fht16x16_sse2(const int16_t *input, tran_low_t *output,
 
 /*
  * The DCTnxn functions are defined using the macros below. The main code for
- * them is in separate files (vp9/encoder/x86/vp9_dct_impl_sse2.c &
+ * them is in separate files (vp9/encoder/x86/vp9_dct_sse2_impl.h &
  * vp9/encoder/x86/vp9_dct32x32_sse2_impl.h) which are used by both the 8 bit code
  * and the high bit depth code.
  */
@@ -2380,7 +2380,7 @@ void vp9_highbd_fht16x16_sse2(const int16_t *input, tran_low_t *output,
 #define FDCT4x4_2D vp9_fdct4x4_sse2
 #define FDCT8x8_2D vp9_fdct8x8_sse2
 #define FDCT16x16_2D vp9_fdct16x16_sse2
-#include "vp9/encoder/x86/vp9_dct_impl_sse2.c"
+#include "vp9/encoder/x86/vp9_dct_sse2_impl.h"
 #undef  FDCT4x4_2D
 #undef  FDCT8x8_2D
 #undef  FDCT16x16_2D
@@ -2407,7 +2407,7 @@ void vp9_highbd_fht16x16_sse2(const int16_t *input, tran_low_t *output,
 #define FDCT4x4_2D vp9_highbd_fdct4x4_sse2
 #define FDCT8x8_2D vp9_highbd_fdct8x8_sse2
 #define FDCT16x16_2D vp9_highbd_fdct16x16_sse2
-#include "vp9/encoder/x86/vp9_dct_impl_sse2.c" // NOLINT
+#include "vp9/encoder/x86/vp9_dct_sse2_impl.h" // NOLINT
 #undef  FDCT4x4_2D
 #undef  FDCT8x8_2D
 #undef  FDCT16x16_2D
index 2440a6a..bd0d18c 100644 (file)
@@ -135,7 +135,7 @@ VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct_sse2.c
 VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_dct_ssse3.c
 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct_sse2.h
 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct32x32_sse2_impl.h
-VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct_impl_sse2.c
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct_sse2_impl.h
 
 ifeq ($(CONFIG_VP9_TEMPORAL_DENOISING),yes)
 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_denoiser_sse2.c