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/ppflags.h
13VP8_COMMON_SRCS-yes += common/onyx.h
14VP8_COMMON_SRCS-yes += common/onyxd.h
15VP8_COMMON_SRCS-yes += common/alloccommon.c
16VP8_COMMON_SRCS-yes += common/blockd.c
17VP8_COMMON_SRCS-yes += common/coefupdateprobs.h
18VP8_COMMON_SRCS-yes += common/copy_c.c
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/reconintra.h
49VP8_COMMON_SRCS-yes += common/reconintra4x4.h
50VP8_COMMON_SRCS-yes += common/rtcd.c
51VP8_COMMON_SRCS-yes += common/rtcd_defs.pl
52VP8_COMMON_SRCS-yes += common/setupintrarecon.h
53VP8_COMMON_SRCS-yes += common/swapyv12buffer.h
54VP8_COMMON_SRCS-yes += common/systemdependent.h
55VP8_COMMON_SRCS-yes += common/threading.h
56VP8_COMMON_SRCS-yes += common/treecoder.h
57VP8_COMMON_SRCS-yes += common/vp8_loopfilter.c
58VP8_COMMON_SRCS-yes += common/loopfilter_filters.c
59VP8_COMMON_SRCS-yes += common/mbpitch.c
60VP8_COMMON_SRCS-yes += common/modecont.c
61VP8_COMMON_SRCS-yes += common/quant_common.c
62VP8_COMMON_SRCS-yes += common/reconinter.c
63VP8_COMMON_SRCS-yes += common/reconintra.c
64VP8_COMMON_SRCS-yes += common/reconintra4x4.c
65VP8_COMMON_SRCS-yes += common/setupintrarecon.c
66VP8_COMMON_SRCS-yes += common/swapyv12buffer.c
67VP8_COMMON_SRCS-yes += common/vp8_entropymodedata.h
68
69
70
71VP8_COMMON_SRCS-$(CONFIG_POSTPROC_VISUALIZER) += common/textblit.c
72VP8_COMMON_SRCS-yes += common/treecoder.c
73
74VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/filter_x86.c
75VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/filter_x86.h
76VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp8_asm_stubs.c
77VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/loopfilter_x86.c
78VP8_COMMON_SRCS-$(CONFIG_POSTPROC) += common/mfqe.c
79VP8_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.h
80VP8_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.c
81VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/dequantize_mmx.asm
82VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/idct_blk_mmx.c
83VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/idctllm_mmx.asm
84VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/iwalsh_mmx.asm
85VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/vp8_loopfilter_mmx.asm
86VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/recon_mmx.asm
87VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/subpixel_mmx.asm
88VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/copy_sse2.asm
89VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/idct_blk_sse2.c
90VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/idctllm_sse2.asm
91VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/recon_sse2.asm
92VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/subpixel_sse2.asm
93VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/loopfilter_sse2.asm
94VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/iwalsh_sse2.asm
95VP8_COMMON_SRCS-$(HAVE_SSE3) += common/x86/copy_sse3.asm
96VP8_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/subpixel_ssse3.asm
97
98ifeq ($(CONFIG_POSTPROC),yes)
99VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/postproc_mmx.asm
100VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/mfqe_sse2.asm
101VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/postproc_sse2.asm
102endif
103
104ifeq ($(ARCH_X86_64),yes)
105VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/loopfilter_block_sse2_x86_64.asm
106endif
107
108# common (c)
109VP8_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/idctllm_dspr2.c
110VP8_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/filter_dspr2.c
111VP8_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/vp8_loopfilter_filters_dspr2.c
112VP8_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/reconinter_dspr2.c
113VP8_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/idct_blk_dspr2.c
114VP8_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/dequantize_dspr2.c
115
116# common (c)
117VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/bilinear_filter_msa.c
118VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/copymem_msa.c
119VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/idct_msa.c
120VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/loopfilter_filters_msa.c
121VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/sixtap_filter_msa.c
122VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/vp8_macros_msa.h
123
124ifeq ($(CONFIG_POSTPROC),yes)
125VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/mfqe_msa.c
126VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/postproc_msa.c
127endif
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/dequantize_arm.c
133
134# common (media)
135VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/bilinearfilter_arm.c
136VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/bilinearfilter_arm.h
137VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/bilinearfilter_v6$(ASM)
138VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/copymem8x4_v6$(ASM)
139VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/copymem8x8_v6$(ASM)
140VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/copymem16x16_v6$(ASM)
141VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/dc_only_idct_add_v6$(ASM)
142VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/iwalsh_v6$(ASM)
143VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/filter_v6$(ASM)
144VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/idct_v6$(ASM)
145VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/loopfilter_v6$(ASM)
146VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/simpleloopfilter_v6$(ASM)
147VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/sixtappredict8x4_v6$(ASM)
148VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/dequant_idct_v6$(ASM)
149VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/dequantize_v6$(ASM)
150VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/idct_blk_v6.c
151
152# common (neon intrinsics)
153VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/bilinearpredict_neon.c
154VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/copymem_neon.c
155VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/dc_only_idct_add_neon.c
156VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/dequant_idct_neon.c
157VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/dequantizeb_neon.c
158VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/idct_blk_neon.c
159VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/idct_dequant_0_2x_neon.c
160VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/idct_dequant_full_2x_neon.c
161VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/iwalsh_neon.c
162VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/vp8_loopfilter_neon.c
163VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/loopfiltersimplehorizontaledge_neon.c
164VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/loopfiltersimpleverticaledge_neon.c
165VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/mbloopfilter_neon.c
166VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/shortidct4x4llm_neon.c
167VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/sixtappredict_neon.c
168
169$(eval $(call rtcd_h_template,vp8_rtcd,vp8/common/rtcd_defs.pl))
170