Commit a989c66b authored by James Zern's avatar James Zern
Browse files

rename vp9_dct_impl_sse2.c to vp9_dct_sse2_impl.h

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
parent 587a71f1
...@@ -2370,7 +2370,7 @@ void vp9_highbd_fht16x16_sse2(const int16_t *input, tran_low_t *output, ...@@ -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 * 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 * vp9/encoder/x86/vp9_dct32x32_sse2_impl.h) which are used by both the 8 bit code
* and the high bit depth code. * and the high bit depth code.
*/ */
...@@ -2380,7 +2380,7 @@ void vp9_highbd_fht16x16_sse2(const int16_t *input, tran_low_t *output, ...@@ -2380,7 +2380,7 @@ void vp9_highbd_fht16x16_sse2(const int16_t *input, tran_low_t *output,
#define FDCT4x4_2D vp9_fdct4x4_sse2 #define FDCT4x4_2D vp9_fdct4x4_sse2
#define FDCT8x8_2D vp9_fdct8x8_sse2 #define FDCT8x8_2D vp9_fdct8x8_sse2
#define FDCT16x16_2D vp9_fdct16x16_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 FDCT4x4_2D
#undef FDCT8x8_2D #undef FDCT8x8_2D
#undef FDCT16x16_2D #undef FDCT16x16_2D
...@@ -2407,7 +2407,7 @@ void vp9_highbd_fht16x16_sse2(const int16_t *input, tran_low_t *output, ...@@ -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 FDCT4x4_2D vp9_highbd_fdct4x4_sse2
#define FDCT8x8_2D vp9_highbd_fdct8x8_sse2 #define FDCT8x8_2D vp9_highbd_fdct8x8_sse2
#define FDCT16x16_2D vp9_highbd_fdct16x16_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 FDCT4x4_2D
#undef FDCT8x8_2D #undef FDCT8x8_2D
#undef FDCT16x16_2D #undef FDCT16x16_2D
......
...@@ -135,7 +135,7 @@ VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct_sse2.c ...@@ -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_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_dct_sse2.h
VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct32x32_sse2_impl.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) ifeq ($(CONFIG_VP9_TEMPORAL_DENOISING),yes)
VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_denoiser_sse2.c VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_denoiser_sse2.c
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment