summaryrefslogtreecommitdiff
path: root/vp9/vp9cx.mk
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2015-03-31 18:06:21 -0700
committerJames Zern <jzern@google.com>2015-03-31 18:06:21 -0700
commita98f6c0254dc496de641179a04770df5a1893a55 (patch)
treed02979ccee871c29bfc2f279a56a180317df375e /vp9/vp9cx.mk
parent8845334097d1cb03fc8d7a91c86f02235afc8da6 (diff)
downloadlibvpx-a98f6c0254dc496de641179a04770df5a1893a55.tar.gz
vp9/neon: skip some files in high-bitdepth build
exclude files that only contain functions for non-high-bitdepth builds. this removes some warnings related to missing prototypes Change-Id: Ic6642998c46a7b808c6c53b2f9c34bcd4d037abe
Diffstat (limited to 'vp9/vp9cx.mk')
-rw-r--r--vp9/vp9cx.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/vp9/vp9cx.mk b/vp9/vp9cx.mk
index 2b3f8945a..f8da734de 100644
--- a/vp9/vp9cx.mk
+++ b/vp9/vp9cx.mk
@@ -152,12 +152,14 @@ 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
-VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_avg_neon.c
-VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_sad_neon.c
-VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_sad4d_neon.c
+ifneq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_dct_neon.c
-VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_variance_neon.c
+endif
+VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_avg_neon.c
VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_quantize_neon.c
+VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_sad4d_neon.c
+VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_sad_neon.c
VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_subtract_neon.c
+VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_variance_neon.c
VP9_CX_SRCS-yes := $(filter-out $(VP9_CX_SRCS_REMOVE-yes),$(VP9_CX_SRCS-yes))