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
18# VP8_COMMON_SRCS-yes += common/debugmodes.c
19VP8_COMMON_SRCS-yes += common/default_coef_probs.h
20VP8_COMMON_SRCS-yes += common/dequantize.c
21VP8_COMMON_SRCS-yes += common/entropy.c
22VP8_COMMON_SRCS-yes += common/entropymode.c
23VP8_COMMON_SRCS-yes += common/entropymv.c
24VP8_COMMON_SRCS-yes += common/extend.c
25VP8_COMMON_SRCS-yes += common/filter.c
26VP8_COMMON_SRCS-yes += common/filter.h
27VP8_COMMON_SRCS-yes += common/findnearmv.c
28VP8_COMMON_SRCS-yes += common/generic/systemdependent.c
29VP8_COMMON_SRCS-yes += common/idct_blk.c
30VP8_COMMON_SRCS-yes += common/idctllm.c
31VP8_COMMON_SRCS-yes += common/alloccommon.h
32VP8_COMMON_SRCS-yes += common/blockd.h
33VP8_COMMON_SRCS-yes += common/common.h
34VP8_COMMON_SRCS-yes += common/entropy.h
35VP8_COMMON_SRCS-yes += common/entropymode.h
36VP8_COMMON_SRCS-yes += common/entropymv.h
37VP8_COMMON_SRCS-yes += common/extend.h
38VP8_COMMON_SRCS-yes += common/findnearmv.h
39VP8_COMMON_SRCS-yes += common/header.h
40VP8_COMMON_SRCS-yes += common/invtrans.h
41VP8_COMMON_SRCS-yes += common/loopfilter.h
42VP8_COMMON_SRCS-yes += common/modecont.h
43VP8_COMMON_SRCS-yes += common/mv.h
44VP8_COMMON_SRCS-yes += common/onyxc_int.h
45VP8_COMMON_SRCS-yes += common/quant_common.h
46VP8_COMMON_SRCS-yes += common/reconinter.h
47VP8_COMMON_SRCS-yes += common/reconintra.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/vp8_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/setupintrarecon.c
65VP8_COMMON_SRCS-yes += common/swapyv12buffer.c
66VP8_COMMON_SRCS-yes += common/vp8_entropymodedata.h
67
68
69
70VP8_COMMON_SRCS-yes += common/treecoder.c
71
72VP8_COMMON_SRCS-$(VPX_ARCH_X86)$(VPX_ARCH_X86_64) += common/x86/vp8_asm_stubs.c
73VP8_COMMON_SRCS-$(VPX_ARCH_X86)$(VPX_ARCH_X86_64) += common/x86/loopfilter_x86.c
74VP8_COMMON_SRCS-$(CONFIG_POSTPROC) += common/mfqe.c
75VP8_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.h
76VP8_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.c
77VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/dequantize_mmx.asm
78VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/idct_blk_mmx.c
79VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/idctllm_mmx.asm
80VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/recon_mmx.asm
81VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/subpixel_mmx.asm
82VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/idct_blk_sse2.c
83VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/idctllm_sse2.asm
84VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/recon_sse2.asm
85VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/bilinear_filter_sse2.c
86VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/subpixel_sse2.asm
87VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/loopfilter_sse2.asm
88VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/iwalsh_sse2.asm
89VP8_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/subpixel_ssse3.asm
90
91ifeq ($(CONFIG_POSTPROC),yes)
92VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/mfqe_sse2.asm
93endif
94
95ifeq ($(VPX_ARCH_X86_64),yes)
96VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/loopfilter_block_sse2_x86_64.asm
97endif
98
99# common (c)
100VP8_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/idctllm_dspr2.c
101VP8_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/filter_dspr2.c
102VP8_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/vp8_loopfilter_filters_dspr2.c
103VP8_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/reconinter_dspr2.c
104VP8_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/idct_blk_dspr2.c
105VP8_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/dequantize_dspr2.c
106
107# common (c)
108VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/bilinear_filter_msa.c
109VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/copymem_msa.c
110VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/idct_msa.c
111VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/loopfilter_filters_msa.c
112VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/sixtap_filter_msa.c
113VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/vp8_macros_msa.h
114
115# common (c)
116VP8_COMMON_SRCS-$(HAVE_MMI) += common/mips/mmi/sixtap_filter_mmi.c
117VP8_COMMON_SRCS-$(HAVE_MMI) += common/mips/mmi/loopfilter_filters_mmi.c
118VP8_COMMON_SRCS-$(HAVE_MMI) += common/mips/mmi/idctllm_mmi.c
119VP8_COMMON_SRCS-$(HAVE_MMI) += common/mips/mmi/dequantize_mmi.c
120VP8_COMMON_SRCS-$(HAVE_MMI) += common/mips/mmi/copymem_mmi.c
121VP8_COMMON_SRCS-$(HAVE_MMI) += common/mips/mmi/idct_blk_mmi.c
122
123ifeq ($(CONFIG_POSTPROC),yes)
124VP8_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/mfqe_msa.c
125endif
126
127# common (neon intrinsics)
128VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/loopfilter_arm.c
129VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/loopfilter_arm.h
130VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/bilinearpredict_neon.c
131VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/copymem_neon.c
132VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/dc_only_idct_add_neon.c
133VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/dequant_idct_neon.c
134VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/dequantizeb_neon.c
135VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/idct_blk_neon.c
136VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/iwalsh_neon.c
137VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/vp8_loopfilter_neon.c
138VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/loopfiltersimplehorizontaledge_neon.c
139VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/loopfiltersimpleverticaledge_neon.c
140VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/mbloopfilter_neon.c
141VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/shortidct4x4llm_neon.c
142VP8_COMMON_SRCS-$(HAVE_NEON)  += common/arm/neon/sixtappredict_neon.c
143
144$(eval $(call rtcd_h_template,vp8_rtcd,vp8/common/rtcd_defs.pl))
145