From 4ec47249bcafb5e2814328bf45e3992d775cbd74 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 15 May 2015 16:47:51 -0700 Subject: [PATCH] rename vp9_dct32x32_avx2.c to vp9_dct32x32_avx2_impl.h 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 --- .../x86/{vp9_dct32x32_avx2.c => vp9_dct32x32_avx2_impl.h} | 0 vp9/encoder/x86/vp9_dct_avx2.c | 4 ++-- vp9/vp9cx.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename vp9/encoder/x86/{vp9_dct32x32_avx2.c => vp9_dct32x32_avx2_impl.h} (100%) diff --git a/vp9/encoder/x86/vp9_dct32x32_avx2.c b/vp9/encoder/x86/vp9_dct32x32_avx2_impl.h similarity index 100% rename from vp9/encoder/x86/vp9_dct32x32_avx2.c rename to vp9/encoder/x86/vp9_dct32x32_avx2_impl.h diff --git a/vp9/encoder/x86/vp9_dct_avx2.c b/vp9/encoder/x86/vp9_dct_avx2.c index 3a19f5274..8f3b61ad8 100644 --- a/vp9/encoder/x86/vp9_dct_avx2.c +++ b/vp9/encoder/x86/vp9_dct_avx2.c @@ -15,12 +15,12 @@ #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 diff --git a/vp9/vp9cx.mk b/vp9/vp9cx.mk index 7359b2de0..ba99a91bb 100644 --- a/vp9/vp9cx.mk +++ b/vp9/vp9cx.mk @@ -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