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