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
11VP9_COMMON_SRCS-yes += vp9_common.mk
12VP9_COMMON_SRCS-yes += vp9_iface_common.h
13VP9_COMMON_SRCS-yes += common/vp9_ppflags.h
14VP9_COMMON_SRCS-yes += common/vp9_alloccommon.c
15VP9_COMMON_SRCS-yes += common/vp9_blockd.c
16VP9_COMMON_SRCS-yes += common/vp9_debugmodes.c
17VP9_COMMON_SRCS-yes += common/vp9_entropy.c
18VP9_COMMON_SRCS-yes += common/vp9_entropymode.c
19VP9_COMMON_SRCS-yes += common/vp9_entropymv.c
20VP9_COMMON_SRCS-yes += common/vp9_frame_buffers.c
21VP9_COMMON_SRCS-yes += common/vp9_frame_buffers.h
22VP9_COMMON_SRCS-yes += common/vp9_idct.c
23VP9_COMMON_SRCS-yes += common/vp9_alloccommon.h
24VP9_COMMON_SRCS-yes += common/vp9_blockd.h
25VP9_COMMON_SRCS-yes += common/vp9_common.h
26VP9_COMMON_SRCS-yes += common/vp9_entropy.h
27VP9_COMMON_SRCS-yes += common/vp9_entropymode.h
28VP9_COMMON_SRCS-yes += common/vp9_entropymv.h
29VP9_COMMON_SRCS-yes += common/vp9_enums.h
30VP9_COMMON_SRCS-yes += common/vp9_filter.h
31VP9_COMMON_SRCS-yes += common/vp9_filter.c
32VP9_COMMON_SRCS-yes += common/vp9_idct.h
33VP9_COMMON_SRCS-yes += common/vp9_loopfilter.h
34VP9_COMMON_SRCS-yes += common/vp9_thread_common.h
35VP9_COMMON_SRCS-yes += common/vp9_mv.h
36VP9_COMMON_SRCS-yes += common/vp9_onyxc_int.h
37VP9_COMMON_SRCS-yes += common/vp9_pred_common.h
38VP9_COMMON_SRCS-yes += common/vp9_pred_common.c
39VP9_COMMON_SRCS-yes += common/vp9_quant_common.h
40VP9_COMMON_SRCS-yes += common/vp9_reconinter.h
41VP9_COMMON_SRCS-yes += common/vp9_reconintra.h
42VP9_COMMON_SRCS-yes += common/vp9_rtcd.c
43VP9_COMMON_SRCS-yes += common/vp9_rtcd_defs.pl
44VP9_COMMON_SRCS-yes += common/vp9_scale.h
45VP9_COMMON_SRCS-yes += common/vp9_scale.c
46VP9_COMMON_SRCS-yes += common/vp9_seg_common.h
47VP9_COMMON_SRCS-yes += common/vp9_seg_common.c
48VP9_COMMON_SRCS-yes += common/vp9_textblit.h
49VP9_COMMON_SRCS-yes += common/vp9_tile_common.h
50VP9_COMMON_SRCS-yes += common/vp9_tile_common.c
51VP9_COMMON_SRCS-yes += common/vp9_loopfilter.c
52VP9_COMMON_SRCS-yes += common/vp9_thread_common.c
53VP9_COMMON_SRCS-yes += common/vp9_mvref_common.c
54VP9_COMMON_SRCS-yes += common/vp9_mvref_common.h
55VP9_COMMON_SRCS-yes += common/vp9_quant_common.c
56VP9_COMMON_SRCS-yes += common/vp9_reconinter.c
57VP9_COMMON_SRCS-yes += common/vp9_reconintra.c
58VP9_COMMON_SRCS-$(CONFIG_POSTPROC_VISUALIZER) += common/vp9_textblit.c
59VP9_COMMON_SRCS-yes += common/vp9_common_data.c
60VP9_COMMON_SRCS-yes += common/vp9_common_data.h
61VP9_COMMON_SRCS-yes += common/vp9_scan.c
62VP9_COMMON_SRCS-yes += common/vp9_scan.h
63
64VP9_COMMON_SRCS-$(CONFIG_VP9_POSTPROC) += common/vp9_postproc.h
65VP9_COMMON_SRCS-$(CONFIG_VP9_POSTPROC) += common/vp9_postproc.c
66VP9_COMMON_SRCS-$(CONFIG_VP9_POSTPROC) += common/vp9_mfqe.h
67VP9_COMMON_SRCS-$(CONFIG_VP9_POSTPROC) += common/vp9_mfqe.c
68ifeq ($(CONFIG_VP9_POSTPROC),yes)
69VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_mfqe_sse2.asm
70VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_postproc_sse2.asm
71endif
72
73ifneq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
74VP9_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/vp9_itrans4_dspr2.c
75VP9_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/vp9_itrans8_dspr2.c
76VP9_COMMON_SRCS-$(HAVE_DSPR2)  += common/mips/dspr2/vp9_itrans16_dspr2.c
77endif
78
79# common (msa)
80VP9_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/vp9_idct4x4_msa.c
81VP9_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/vp9_idct8x8_msa.c
82VP9_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/vp9_idct16x16_msa.c
83
84ifeq ($(CONFIG_VP9_POSTPROC),yes)
85VP9_COMMON_SRCS-$(HAVE_MSA) += common/mips/msa/vp9_mfqe_msa.c
86endif
87
88VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_idct_intrin_sse2.c
89
90ifneq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
91VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_iht4x4_add_neon.c
92VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_iht8x8_add_neon.c
93endif
94
95$(eval $(call rtcd_h_template,vp9_rtcd,vp9/common/vp9_rtcd_defs.pl))
96