Neon version of vp9_sub_pixel_variance16x16(),
[aom.git] / vp9 / vp9cx.mk
blob77b968bdaf8796fa53a48a95ea1f13e07265a865
1 ##
2 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 ##
4 ## Use of this source code is governed by a BSD-style license
5 ## that can be found in the LICENSE file in the root of the source
6 ## tree. An additional intellectual property rights grant can be found
7 ## in the file PATENTS. All contributing project authors may
8 ## be found in the AUTHORS file in the root of the source tree.
9 ##
11 VP9_CX_EXPORTS += exports_enc
13 VP9_CX_SRCS-yes += $(VP9_COMMON_SRCS-yes)
14 VP9_CX_SRCS-no += $(VP9_COMMON_SRCS-no)
15 VP9_CX_SRCS_REMOVE-yes += $(VP9_COMMON_SRCS_REMOVE-yes)
16 VP9_CX_SRCS_REMOVE-no += $(VP9_COMMON_SRCS_REMOVE-no)
18 VP9_CX_SRCS-yes += vp9_cx_iface.c
20 VP9_CX_SRCS-yes += encoder/vp9_bitstream.c
21 VP9_CX_SRCS-yes += encoder/vp9_context_tree.c
22 VP9_CX_SRCS-yes += encoder/vp9_context_tree.h
23 VP9_CX_SRCS-yes += encoder/vp9_cost.h
24 VP9_CX_SRCS-yes += encoder/vp9_cost.c
25 VP9_CX_SRCS-yes += encoder/vp9_dct.c
26 VP9_CX_SRCS-$(CONFIG_VP9_TEMPORAL_DENOISING) += encoder/vp9_denoiser.c
27 VP9_CX_SRCS-$(CONFIG_VP9_TEMPORAL_DENOISING) += encoder/vp9_denoiser.h
28 VP9_CX_SRCS-yes += encoder/vp9_encodeframe.c
29 VP9_CX_SRCS-yes += encoder/vp9_encodeframe.h
30 VP9_CX_SRCS-yes += encoder/vp9_encodemb.c
31 VP9_CX_SRCS-yes += encoder/vp9_encodemv.c
32 VP9_CX_SRCS-yes += encoder/vp9_extend.c
33 VP9_CX_SRCS-yes += encoder/vp9_firstpass.c
34 VP9_CX_SRCS-yes += encoder/vp9_block.h
35 VP9_CX_SRCS-yes += encoder/vp9_writer.h
36 VP9_CX_SRCS-yes += encoder/vp9_writer.c
37 VP9_CX_SRCS-yes += encoder/vp9_write_bit_buffer.c
38 VP9_CX_SRCS-yes += encoder/vp9_write_bit_buffer.h
39 VP9_CX_SRCS-yes += encoder/vp9_bitstream.h
40 VP9_CX_SRCS-yes += encoder/vp9_encodemb.h
41 VP9_CX_SRCS-yes += encoder/vp9_encodemv.h
42 VP9_CX_SRCS-yes += encoder/vp9_extend.h
43 VP9_CX_SRCS-yes += encoder/vp9_firstpass.h
44 VP9_CX_SRCS-yes += encoder/vp9_lookahead.c
45 VP9_CX_SRCS-yes += encoder/vp9_lookahead.h
46 VP9_CX_SRCS-yes += encoder/vp9_mcomp.h
47 VP9_CX_SRCS-yes += encoder/vp9_encoder.h
48 VP9_CX_SRCS-yes += encoder/vp9_quantize.h
49 VP9_CX_SRCS-yes += encoder/vp9_ratectrl.h
50 VP9_CX_SRCS-yes += encoder/vp9_rd.h
51 VP9_CX_SRCS-yes += encoder/vp9_rdopt.h
52 VP9_CX_SRCS-yes += encoder/vp9_pickmode.h
53 VP9_CX_SRCS-yes += encoder/vp9_svc_layercontext.h
54 VP9_CX_SRCS-yes += encoder/vp9_tokenize.h
55 VP9_CX_SRCS-yes += encoder/vp9_treewriter.h
56 VP9_CX_SRCS-yes += encoder/vp9_variance.h
57 VP9_CX_SRCS-yes += encoder/vp9_mcomp.c
58 VP9_CX_SRCS-yes += encoder/vp9_encoder.c
59 VP9_CX_SRCS-yes += encoder/vp9_picklpf.c
60 VP9_CX_SRCS-yes += encoder/vp9_picklpf.h
61 VP9_CX_SRCS-yes += encoder/vp9_quantize.c
62 VP9_CX_SRCS-yes += encoder/vp9_ratectrl.c
63 VP9_CX_SRCS-yes += encoder/vp9_rd.c
64 VP9_CX_SRCS-yes += encoder/vp9_rdopt.c
65 VP9_CX_SRCS-yes += encoder/vp9_pickmode.c
66 VP9_CX_SRCS-yes += encoder/vp9_sad.c
67 VP9_CX_SRCS-yes += encoder/vp9_segmentation.c
68 VP9_CX_SRCS-yes += encoder/vp9_segmentation.h
69 VP9_CX_SRCS-yes += encoder/vp9_speed_features.c
70 VP9_CX_SRCS-yes += encoder/vp9_speed_features.h
71 VP9_CX_SRCS-yes += encoder/vp9_subexp.c
72 VP9_CX_SRCS-yes += encoder/vp9_subexp.h
73 VP9_CX_SRCS-yes += encoder/vp9_svc_layercontext.c
74 VP9_CX_SRCS-yes += encoder/vp9_resize.c
75 VP9_CX_SRCS-yes += encoder/vp9_resize.h
76 VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += encoder/vp9_ssim.c
77 VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += encoder/vp9_ssim.h
78 VP9_CX_SRCS-yes += encoder/vp9_tokenize.c
79 VP9_CX_SRCS-yes += encoder/vp9_treewriter.c
80 VP9_CX_SRCS-yes += encoder/vp9_variance.c
81 VP9_CX_SRCS-yes += encoder/vp9_aq_variance.c
82 VP9_CX_SRCS-yes += encoder/vp9_aq_variance.h
83 VP9_CX_SRCS-yes += encoder/vp9_aq_cyclicrefresh.c
84 VP9_CX_SRCS-yes += encoder/vp9_aq_cyclicrefresh.h
85 VP9_CX_SRCS-yes += encoder/vp9_aq_complexity.c
86 VP9_CX_SRCS-yes += encoder/vp9_aq_complexity.h
87 ifeq ($(CONFIG_VP9_POSTPROC),yes)
88 VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/vp9_postproc.h
89 VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/vp9_postproc.c
90 endif
91 VP9_CX_SRCS-yes += encoder/vp9_temporal_filter.c
92 VP9_CX_SRCS-yes += encoder/vp9_temporal_filter.h
93 VP9_CX_SRCS-yes += encoder/vp9_mbgraph.c
94 VP9_CX_SRCS-yes += encoder/vp9_mbgraph.h
96 VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp9_variance_mmx.c
97 VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp9_variance_impl_mmx.asm
98 VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp9_sad_mmx.asm
99 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_variance_impl_sse2.asm
100 VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_variance_impl_intrin_avx2.c
101 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_sad4d_sse2.asm
102 VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_sad4d_intrin_avx2.c
103 VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_subpel_variance_impl_intrin_avx2.c
104 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_temporal_filter_apply_sse2.asm
105 VP9_CX_SRCS-$(HAVE_SSE3) += encoder/x86/vp9_sad_sse3.asm
107 ifeq ($(CONFIG_USE_X86INC),yes)
108 VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp9_dct_mmx.asm
109 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_error_sse2.asm
110 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_sad_sse2.asm
111 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_subtract_sse2.asm
112 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_variance_sse2.c
113 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_subpel_variance.asm
114 endif
116 ifeq ($(ARCH_X86_64),yes)
117 VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_quantize_ssse3_x86_64.asm
118 VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_dct_ssse3_x86_64.asm
119 endif
120 VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_sad_ssse3.asm
121 VP9_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/vp9_sad_sse4.asm
122 VP9_CX_SRCS-$(ARCH_X86_64) += encoder/x86/vp9_ssim_opt_x86_64.asm
124 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct_sse2.c
125 VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct32x32_sse2.c
127 VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_dct32x32_avx2.c
128 VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_dct_avx2.c
129 VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_error_intrin_avx2.c
130 VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_variance_avx2.c
132 VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_sad_neon.c
133 VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_dct_neon.c
134 VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_variance_neon.c
136 VP9_CX_SRCS-yes := $(filter-out $(VP9_CX_SRCS_REMOVE-yes),$(VP9_CX_SRCS-yes))