]> granicus.if.org Git - libvpx/commitdiff
rename vp9_dct32x32_avx2.c to vp9_dct32x32_avx2_impl.h
authorJames Zern <jzern@google.com>
Fri, 15 May 2015 23:47:51 +0000 (16:47 -0700)
committerJames Zern <jzern@google.com>
Fri, 15 May 2015 23:47:51 +0000 (16:47 -0700)
this file shouldn't be built directly, it is included in vp9_dct_avx2.c
to create a non-high-bitdepth and a high-bitdepth version

silences missing prototype warnings for the unused FDCT32x32* functions

Change-Id: I4c19935c0e035b393be513bde735e9a78064a494

vp9/encoder/x86/vp9_dct32x32_avx2_impl.h [moved from vp9/encoder/x86/vp9_dct32x32_avx2.c with 100% similarity]
vp9/encoder/x86/vp9_dct_avx2.c
vp9/vp9cx.mk

index 3a19f52746ce1b3fad16d01fd05773a7e20f8173..8f3b61ad86dbc6038beb8fdc8d5535d76d09554c 100644 (file)
 
 #define FDCT32x32_2D_AVX2 vp9_fdct32x32_rd_avx2
 #define FDCT32x32_HIGH_PRECISION 0
-#include "vp9/encoder/x86/vp9_dct32x32_avx2.c"
+#include "vp9/encoder/x86/vp9_dct32x32_avx2_impl.h"
 #undef  FDCT32x32_2D_AVX2
 #undef  FDCT32x32_HIGH_PRECISION
 
 #define FDCT32x32_2D_AVX2 vp9_fdct32x32_avx2
 #define FDCT32x32_HIGH_PRECISION 1
-#include "vp9/encoder/x86/vp9_dct32x32_avx2.c" // NOLINT
+#include "vp9/encoder/x86/vp9_dct32x32_avx2_impl.h" // NOLINT
 #undef  FDCT32x32_2D_AVX2
 #undef  FDCT32x32_HIGH_PRECISION
index 7359b2de05d22caf576055b3f5e5e7a36d49afd0..ba99a91bbfe2e20d03ef1f35b1f9c25664f57e5a 100644 (file)
@@ -141,7 +141,7 @@ ifeq ($(CONFIG_VP9_TEMPORAL_DENOISING),yes)
 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_denoiser_sse2.c
 endif
 
-VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_dct32x32_avx2.c
+VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_dct32x32_avx2_impl.h
 VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_dct_avx2.c
 VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_error_intrin_avx2.c
 VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_variance_avx2.c