Merge "WIP: removing predictor buffer usage from decoder" into experimental
[aom.git] / vp8 / vp8_common.mk
blobcde2651b5de66b404dd9c7550e75dfa67b4f4cb7
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 VP8_COMMON_SRCS-yes += vp8_common.mk
12 VP8_COMMON_SRCS-yes += common/pragmas.h
13 VP8_COMMON_SRCS-yes += common/ppflags.h
14 VP8_COMMON_SRCS-yes += common/onyx.h
15 VP8_COMMON_SRCS-yes += common/onyxd.h
16 VP8_COMMON_SRCS-yes += common/alloccommon.c
17 VP8_COMMON_SRCS-yes += common/blockd.c
18 VP8_COMMON_SRCS-yes += common/coefupdateprobs.h
19 VP8_COMMON_SRCS-yes += common/debugmodes.c
20 VP8_COMMON_SRCS-yes += common/default_coef_probs.h
21 VP8_COMMON_SRCS-yes += common/dequantize.c
22 VP8_COMMON_SRCS-yes += common/entropy.c
23 VP8_COMMON_SRCS-yes += common/entropymode.c
24 VP8_COMMON_SRCS-yes += common/entropymv.c
25 VP8_COMMON_SRCS-yes += common/extend.c
26 VP8_COMMON_SRCS-yes += common/filter.c
27 VP8_COMMON_SRCS-yes += common/filter.h
28 VP8_COMMON_SRCS-yes += common/findnearmv.c
29 VP8_COMMON_SRCS-yes += common/generic/systemdependent.c
30 VP8_COMMON_SRCS-yes += common/idct_blk.c
31 VP8_COMMON_SRCS-yes += common/idctllm.c
32 VP8_COMMON_SRCS-yes += common/alloccommon.h
33 VP8_COMMON_SRCS-yes += common/blockd.h
34 VP8_COMMON_SRCS-yes += common/common.h
35 VP8_COMMON_SRCS-yes += common/entropy.h
36 VP8_COMMON_SRCS-yes += common/entropymode.h
37 VP8_COMMON_SRCS-yes += common/entropymv.h
38 VP8_COMMON_SRCS-yes += common/extend.h
39 VP8_COMMON_SRCS-yes += common/findnearmv.h
40 VP8_COMMON_SRCS-yes += common/header.h
41 VP8_COMMON_SRCS-yes += common/invtrans.h
42 VP8_COMMON_SRCS-yes += common/loopfilter.h
43 VP8_COMMON_SRCS-yes += common/modecont.h
44 VP8_COMMON_SRCS-yes += common/mv.h
45 VP8_COMMON_SRCS-yes += common/onyxc_int.h
46 VP8_COMMON_SRCS-yes += common/quant_common.h
47 VP8_COMMON_SRCS-yes += common/reconinter.h
48 VP8_COMMON_SRCS-yes += common/reconintra4x4.h
49 VP8_COMMON_SRCS-yes += common/rtcd.c
50 VP8_COMMON_SRCS-yes += common/rtcd_defs.sh
51 VP8_COMMON_SRCS-yes += common/setupintrarecon.h
52 VP8_COMMON_SRCS-yes += common/swapyv12buffer.h
53 VP8_COMMON_SRCS-yes += common/systemdependent.h
54 VP8_COMMON_SRCS-yes += common/threading.h
55 VP8_COMMON_SRCS-yes += common/treecoder.h
56 VP8_COMMON_SRCS-yes += common/loopfilter.c
57 VP8_COMMON_SRCS-yes += common/loopfilter_filters.c
58 VP8_COMMON_SRCS-yes += common/mbpitch.c
59 VP8_COMMON_SRCS-yes += common/modecont.c
60 VP8_COMMON_SRCS-yes += common/quant_common.c
61 VP8_COMMON_SRCS-yes += common/reconinter.c
62 VP8_COMMON_SRCS-yes += common/reconintra.c
63 VP8_COMMON_SRCS-yes += common/reconintra4x4.c
64 VP8_COMMON_SRCS-yes += common/sad_c.c
65 VP8_COMMON_SRCS-yes += common/setupintrarecon.c
66 VP8_COMMON_SRCS-yes += common/swapyv12buffer.c
67 VP8_COMMON_SRCS-yes += common/variance_c.c
68 VP8_COMMON_SRCS-yes += common/variance.h
69 VP8_COMMON_SRCS-yes += common/vp8_asm_com_offsets.c
70 VP8_COMMON_SRCS-yes += common/vp8_entropymodedata.h
74 VP8_COMMON_SRCS-$(CONFIG_POSTPROC_VISUALIZER) += common/textblit.c
75 VP8_COMMON_SRCS-yes += common/treecoder.c
77 VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/filter_x86.c
78 VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/filter_x86.h
79 VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp8_asm_stubs.c
80 VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/loopfilter_x86.c
81 VP8_COMMON_SRCS-$(CONFIG_POSTPROC) += common/mfqe.c
82 VP8_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.h
83 VP8_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.c
84 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/dequantize_mmx.asm
85 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/idct_blk_mmx.c
86 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/idctllm_mmx.asm
87 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/iwalsh_mmx.asm
88 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/loopfilter_mmx.asm
89 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/recon_mmx.asm
90 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/sad_mmx.asm
91 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/subpixel_mmx.asm
92 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/variance_mmx.c
93 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/variance_impl_mmx.asm
94 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/idct_blk_sse2.c
95 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/idctllm_sse2.asm
96 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/recon_sse2.asm
97 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/recon_wrapper_sse2.c
98 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/sad_sse2.asm
99 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/subpixel_sse2.asm
100 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/loopfilter_sse2.asm
101 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/iwalsh_sse2.asm
102 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/variance_sse2.c
103 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/variance_impl_sse2.asm
104 VP8_COMMON_SRCS-$(HAVE_SSE3) += common/x86/sad_sse3.asm
105 VP8_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/sad_ssse3.asm
106 VP8_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/subpixel_ssse3.asm
107 VP8_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/variance_ssse3.c
108 VP8_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/variance_impl_ssse3.asm
109 VP8_COMMON_SRCS-$(HAVE_SSE4_1) += common/x86/sad_sse4.asm
111 ifeq ($(CONFIG_POSTPROC),yes)
112 VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/postproc_x86.c
113 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/postproc_mmx.asm
114 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/mfqe_sse2.asm
115 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/postproc_sse2.asm
116 endif
118 ifeq ($(ARCH_X86_64),yes)
119 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/loopfilter_block_sse2.asm
120 endif
122 # common (c)
123 VP8_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/idctllm_dspr2.c
124 VP8_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/filter_dspr2.c
125 VP8_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/loopfilter_filters_dspr2.c
126 VP8_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/reconinter_dspr2.c
127 VP8_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/idct_blk_dspr2.c
128 VP8_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/dequantize_dspr2.c
130 # common (c)
131 VP8_COMMON_SRCS-$(ARCH_ARM) += common/arm/filter_arm.c
132 VP8_COMMON_SRCS-$(ARCH_ARM) += common/arm/loopfilter_arm.c
133 VP8_COMMON_SRCS-$(ARCH_ARM) += common/arm/reconintra_arm.c
134 VP8_COMMON_SRCS-$(ARCH_ARM) += common/arm/dequantize_arm.c
135 VP8_COMMON_SRCS-$(ARCH_ARM) += common/arm/variance_arm.c
137 # common (media)
138 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/bilinearfilter_arm.c
139 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/bilinearfilter_arm.h
140 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/bilinearfilter_v6$(ASM)
141 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/copymem8x4_v6$(ASM)
142 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/copymem8x8_v6$(ASM)
143 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/copymem16x16_v6$(ASM)
144 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/dc_only_idct_add_v6$(ASM)
145 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/iwalsh_v6$(ASM)
146 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/filter_v6$(ASM)
147 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/idct_v6$(ASM)
148 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/loopfilter_v6$(ASM)
149 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/simpleloopfilter_v6$(ASM)
150 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/sixtappredict8x4_v6$(ASM)
151 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/intra4x4_predict_v6$(ASM)
152 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/dequant_idct_v6$(ASM)
153 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/dequantize_v6$(ASM)
154 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/idct_blk_v6.c
155 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/vp8_sad16x16_armv6$(ASM)
156 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/vp8_variance8x8_armv6$(ASM)
157 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/vp8_variance16x16_armv6$(ASM)
158 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6$(ASM)
159 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6$(ASM)
160 VP8_COMMON_SRCS-$(HAVE_MEDIA) += common/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6$(ASM)
162 # common (neon)
163 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/bilinearpredict4x4_neon$(ASM)
164 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/bilinearpredict8x4_neon$(ASM)
165 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/bilinearpredict8x8_neon$(ASM)
166 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/bilinearpredict16x16_neon$(ASM)
167 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/copymem8x4_neon$(ASM)
168 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/copymem8x8_neon$(ASM)
169 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/copymem16x16_neon$(ASM)
170 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/dc_only_idct_add_neon$(ASM)
171 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/iwalsh_neon$(ASM)
172 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/loopfilter_neon$(ASM)
173 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/loopfiltersimplehorizontaledge_neon$(ASM)
174 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/loopfiltersimpleverticaledge_neon$(ASM)
175 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/mbloopfilter_neon$(ASM)
176 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/shortidct4x4llm_neon$(ASM)
177 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/sad8_neon$(ASM)
178 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/sad16_neon$(ASM)
179 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/sixtappredict4x4_neon$(ASM)
180 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/sixtappredict8x4_neon$(ASM)
181 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/sixtappredict8x8_neon$(ASM)
182 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/sixtappredict16x16_neon$(ASM)
183 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/buildintrapredictorsmby_neon$(ASM)
184 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/save_reg_neon$(ASM)
185 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/dequant_idct_neon$(ASM)
186 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/idct_dequant_full_2x_neon$(ASM)
187 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/idct_dequant_0_2x_neon$(ASM)
188 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/dequantizeb_neon$(ASM)
189 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/idct_blk_neon.c
190 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/variance_neon$(ASM)
191 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp8_subpixelvariance8x8_neon$(ASM)
192 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp8_subpixelvariance16x16_neon$(ASM)
193 VP8_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp8_subpixelvariance16x16s_neon$(ASM)
195 $(eval $(call asm_offsets_template,\
196 vp8_asm_com_offsets.asm, $(VP8_PREFIX)common/vp8_asm_com_offsets.c))
198 $(eval $(call rtcd_h_template,vp8_rtcd,vp8/common/rtcd_defs.sh))