blob: 78aabc7aa4e3a960cfd3d1f7c8a2a88b0fa9a45c [file] [log] [blame]
Ronald S. Bultje4b2c2b92012-11-01 11:09:58 -07001##
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
John Koleszarb3c350a2013-03-13 12:15:43 -070012VP9_COMMON_SRCS-yes += vp9_iface_common.h
John Koleszarfcccbcb2012-11-27 13:59:17 -080013VP9_COMMON_SRCS-yes += common/vp9_pragmas.h
14VP9_COMMON_SRCS-yes += common/vp9_ppflags.h
15VP9_COMMON_SRCS-yes += common/vp9_onyx.h
John Koleszarfcccbcb2012-11-27 13:59:17 -080016VP9_COMMON_SRCS-yes += common/vp9_alloccommon.c
Jim Bankoski9dec7712014-01-31 17:35:53 -080017VP9_COMMON_SRCS-yes += common/vp9_blockd.c
John Koleszar5ca6a362013-01-25 09:47:09 -080018VP9_COMMON_SRCS-yes += common/vp9_convolve.c
19VP9_COMMON_SRCS-yes += common/vp9_convolve.h
Jim Bankoskiba2af972013-06-08 06:19:33 -070020VP9_COMMON_SRCS-yes += common/vp9_debugmodes.c
John Koleszarfcccbcb2012-11-27 13:59:17 -080021VP9_COMMON_SRCS-yes += common/vp9_entropy.c
22VP9_COMMON_SRCS-yes += common/vp9_entropymode.c
23VP9_COMMON_SRCS-yes += common/vp9_entropymv.c
John Koleszarfcccbcb2012-11-27 13:59:17 -080024VP9_COMMON_SRCS-yes += common/vp9_filter.c
25VP9_COMMON_SRCS-yes += common/vp9_filter.h
John Koleszarfcccbcb2012-11-27 13:59:17 -080026VP9_COMMON_SRCS-yes += common/generic/vp9_systemdependent.c
Yaowu Xu00555262013-03-12 11:24:04 -070027VP9_COMMON_SRCS-yes += common/vp9_idct.c
John Koleszarfcccbcb2012-11-27 13:59:17 -080028VP9_COMMON_SRCS-yes += common/vp9_alloccommon.h
29VP9_COMMON_SRCS-yes += common/vp9_blockd.h
30VP9_COMMON_SRCS-yes += common/vp9_common.h
John Koleszarfcccbcb2012-11-27 13:59:17 -080031VP9_COMMON_SRCS-yes += common/vp9_entropy.h
32VP9_COMMON_SRCS-yes += common/vp9_entropymode.h
33VP9_COMMON_SRCS-yes += common/vp9_entropymv.h
Ronald S. Bultjea3874852013-04-09 21:28:27 -070034VP9_COMMON_SRCS-yes += common/vp9_enums.h
Yaowu Xue6ad9ab2013-02-07 11:51:23 -080035VP9_COMMON_SRCS-yes += common/vp9_idct.h
John Koleszarfcccbcb2012-11-27 13:59:17 -080036VP9_COMMON_SRCS-yes += common/vp9_loopfilter.h
John Koleszarfcccbcb2012-11-27 13:59:17 -080037VP9_COMMON_SRCS-yes += common/vp9_mv.h
38VP9_COMMON_SRCS-yes += common/vp9_onyxc_int.h
39VP9_COMMON_SRCS-yes += common/vp9_pred_common.h
40VP9_COMMON_SRCS-yes += common/vp9_pred_common.c
Dmitry Kovalevb5c92612013-12-16 12:53:09 -080041VP9_COMMON_SRCS-yes += common/vp9_prob.h
42VP9_COMMON_SRCS-yes += common/vp9_prob.c
John Koleszarfcccbcb2012-11-27 13:59:17 -080043VP9_COMMON_SRCS-yes += common/vp9_quant_common.h
44VP9_COMMON_SRCS-yes += common/vp9_reconinter.h
45VP9_COMMON_SRCS-yes += common/vp9_reconintra.h
John Koleszarfcccbcb2012-11-27 13:59:17 -080046VP9_COMMON_SRCS-yes += common/vp9_rtcd.c
47VP9_COMMON_SRCS-yes += common/vp9_rtcd_defs.sh
Dmitry Kovalev8ffe85a2013-08-09 14:07:09 -070048VP9_COMMON_SRCS-yes += common/vp9_scale.h
49VP9_COMMON_SRCS-yes += common/vp9_scale.c
John Koleszarfcccbcb2012-11-27 13:59:17 -080050VP9_COMMON_SRCS-yes += common/vp9_seg_common.h
51VP9_COMMON_SRCS-yes += common/vp9_seg_common.c
John Koleszarfcccbcb2012-11-27 13:59:17 -080052VP9_COMMON_SRCS-yes += common/vp9_systemdependent.h
John Koleszar5ebe94f2012-12-23 07:20:10 -080053VP9_COMMON_SRCS-yes += common/vp9_textblit.h
Ronald S. Bultjef496f602013-02-06 15:30:21 -080054VP9_COMMON_SRCS-yes += common/vp9_tile_common.h
55VP9_COMMON_SRCS-yes += common/vp9_tile_common.c
John Koleszarfcccbcb2012-11-27 13:59:17 -080056VP9_COMMON_SRCS-yes += common/vp9_loopfilter.c
57VP9_COMMON_SRCS-yes += common/vp9_loopfilter_filters.c
John Koleszarfcccbcb2012-11-27 13:59:17 -080058VP9_COMMON_SRCS-yes += common/vp9_mvref_common.c
59VP9_COMMON_SRCS-yes += common/vp9_mvref_common.h
60VP9_COMMON_SRCS-yes += common/vp9_quant_common.c
John Koleszarfcccbcb2012-11-27 13:59:17 -080061VP9_COMMON_SRCS-yes += common/vp9_reconinter.c
62VP9_COMMON_SRCS-yes += common/vp9_reconintra.c
John Koleszarfcccbcb2012-11-27 13:59:17 -080063VP9_COMMON_SRCS-$(CONFIG_POSTPROC_VISUALIZER) += common/vp9_textblit.c
Jim Bankoski6c8170a2013-07-10 07:19:09 -070064VP9_COMMON_SRCS-yes += common/vp9_common_data.c
65VP9_COMMON_SRCS-yes += common/vp9_common_data.h
Dmitry Kovaleve3597c62013-10-07 13:55:56 -070066VP9_COMMON_SRCS-yes += common/vp9_scan.c
67VP9_COMMON_SRCS-yes += common/vp9_scan.h
Ronald S. Bultje4b2c2b92012-11-01 11:09:58 -070068
John Koleszarfcccbcb2012-11-27 13:59:17 -080069VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_postproc_x86.h
Jim Bankoskie69b5252012-11-29 06:53:08 -080070VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_asm_stubs.c
Johann3db60c82013-04-02 11:45:01 -070071VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_loopfilter_intrin_sse2.c
Tamar Levy54f92052013-10-30 09:04:31 -060072VP9_COMMON_SRCS-$(HAVE_AVX2) += common/x86/vp9_loopfilter_intrin_avx2.c
Jim Bankoski79401542013-09-04 10:02:08 -070073VP9_COMMON_SRCS-$(CONFIG_VP9_POSTPROC) += common/vp9_postproc.h
74VP9_COMMON_SRCS-$(CONFIG_VP9_POSTPROC) += common/vp9_postproc.c
John Koleszarfcccbcb2012-11-27 13:59:17 -080075VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/vp9_loopfilter_mmx.asm
Yunqing Wang3fb728c2013-10-10 13:51:35 -070076VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_subpixel_8t_sse2.asm
John Koleszarfcccbcb2012-11-27 13:59:17 -080077VP9_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/vp9_subpixel_8t_ssse3.asm
Jim Bankoski79401542013-09-04 10:02:08 -070078ifeq ($(CONFIG_VP9_POSTPROC),yes)
John Koleszarfcccbcb2012-11-27 13:59:17 -080079VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/vp9_postproc_mmx.asm
80VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_postproc_sse2.asm
Ronald S. Bultje4b2c2b92012-11-01 11:09:58 -070081endif
82
Jim Bankoskic3809f32013-08-05 12:07:30 -070083ifeq ($(USE_X86INC),yes)
84VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_copy_sse2.asm
Jim Bankoski25ec1372013-08-06 09:39:30 -070085VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_intrapred_sse2.asm
Jim Bankoski6eb12542013-08-06 07:44:56 -070086VP9_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/vp9_intrapred_ssse3.asm
Jim Bankoskic3809f32013-08-05 12:07:30 -070087endif
88
Parag Salasakar40edab52013-09-13 15:18:32 +053089# common (c)
90VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_common_dspr2.h
Parag Salasakareeb5b622013-10-09 18:05:27 +053091VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_convolve2_avg_dspr2.c
92VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_convolve2_avg_horiz_dspr2.c
93VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_convolve2_dspr2.c
94VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_convolve2_horiz_dspr2.c
95VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_convolve2_vert_dspr2.c
Parag Salasakar40edab52013-09-13 15:18:32 +053096VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_convolve8_avg_dspr2.c
97VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_convolve8_avg_horiz_dspr2.c
98VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_convolve8_dspr2.c
99VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_convolve8_horiz_dspr2.c
100VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_convolve8_vert_dspr2.c
Parag Salasakar1530a6b2013-11-13 11:17:14 +0530101VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_intrapred4_dspr2.c
102VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_intrapred8_dspr2.c
103VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_intrapred16_dspr2.c
Parag Salasakar1699eb02013-10-24 11:29:04 +0530104VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_itrans4_dspr2.c
105VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_itrans8_dspr2.c
106VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_itrans16_dspr2.c
107VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_itrans32_cols_dspr2.c
108VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_itrans32_dspr2.c
Parag Salasakar248cf6f2013-11-13 10:53:16 +0530109VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_loopfilter_filters_dspr2.c
110VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_loopfilter_filters_dspr2.h
111VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_loopfilter_macros_dspr2.h
112VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_loopfilter_masks_dspr2.h
113VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_mbloop_loopfilter_dspr2.c
114VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_mblpf_horiz_loopfilter_dspr2.c
115VP9_COMMON_SRCS-$(HAVE_DSPR2) += common/mips/dspr2/vp9_mblpf_vert_loopfilter_dspr2.c
Parag Salasakar40edab52013-09-13 15:18:32 +0530116
Johannc5b127a2013-04-25 11:13:02 -0700117VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_idct_intrin_sse2.c
Ronald S. Bultje4b2c2b92012-11-01 11:09:58 -0700118
Johann59dc4e92013-07-16 10:13:06 -0700119VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_convolve_neon.c
hkuangcf6beea2013-08-06 16:05:14 -0700120VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_idct16x16_neon.c
Yunqing Wang64f728c2013-11-12 16:51:15 -0800121VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_loopfilter_16_neon.c
Johann158c80c2013-05-23 12:50:41 -0700122VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_convolve8_neon$(ASM)
Johanna15bebf2013-07-12 16:12:58 -0700123VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_convolve8_avg_neon$(ASM)
Frank Galligan1d6dc1b2013-06-21 12:58:46 -0700124VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_loopfilter_neon$(ASM)
Frank Galliganb4874e22013-11-25 16:47:14 -0800125VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_loopfilter_16_neon$(ASM)
hkuangc9b25dc2013-07-09 12:06:21 -0700126VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_dc_only_idct_add_neon$(ASM)
hkuang69384f42013-08-26 12:39:12 -0700127VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_short_idct4x4_1_add_neon$(ASM)
Christian Duvivier78182532013-08-04 17:37:05 -0700128VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_short_idct4x4_add_neon$(ASM)
hkuang36e9b822013-08-26 16:28:57 -0700129VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_short_idct8x8_1_add_neon$(ASM)
hkuangd757de72013-07-17 12:21:28 -0700130VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_short_idct8x8_add_neon$(ASM)
hkuang3a679e52013-08-27 13:57:32 -0700131VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_short_idct16x16_1_add_neon$(ASM)
hkuangcf6beea2013-08-06 16:05:14 -0700132VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_short_idct16x16_add_neon$(ASM)
hkuang6b16f632013-10-31 10:06:23 -0700133VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_short_idct32x32_1_add_neon$(ASM)
Christian Duvivier6a501462013-09-11 15:18:47 -0700134VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_short_idct32x32_add_neon$(ASM)
hkuang3b8614a2013-09-03 10:19:21 -0700135VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_short_iht4x4_add_neon$(ASM)
hkuang182366c2013-09-12 11:45:15 -0700136VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_short_iht8x8_add_neon$(ASM)
Mans Rullgardd85ae872013-07-04 14:58:41 -0400137VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_mb_lpf_neon$(ASM)
Mans Rullgard635ba262013-08-14 16:17:21 +0100138VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_copy_neon$(ASM)
Mans Rullgard0f1decc2013-08-14 16:18:08 +0100139VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_avg_neon$(ASM)
Christian Duvivierb1b4ba12013-09-26 16:01:37 -0700140VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_save_reg_neon$(ASM)
hkuang691111a2014-01-06 14:34:09 -0800141VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_reconintra_neon$(ASM)
Frank Galligan1d6dc1b2013-06-21 12:58:46 -0700142
John Koleszarfcccbcb2012-11-27 13:59:17 -0800143$(eval $(call rtcd_h_template,vp9_rtcd,vp9/common/vp9_rtcd_defs.sh))