Ronald S. Bultje | 4b2c2b9 | 2012-11-01 11:09:58 -0700 | [diff] [blame] | 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 | |
| 11 | VP9_COMMON_SRCS-yes += vp9_common.mk |
John Koleszar | b3c350a | 2013-03-13 12:15:43 -0700 | [diff] [blame] | 12 | VP9_COMMON_SRCS-yes += vp9_iface_common.h |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 13 | VP9_COMMON_SRCS-yes += common/vp9_pragmas.h |
| 14 | VP9_COMMON_SRCS-yes += common/vp9_ppflags.h |
| 15 | VP9_COMMON_SRCS-yes += common/vp9_onyx.h |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 16 | VP9_COMMON_SRCS-yes += common/vp9_alloccommon.c |
| 17 | VP9_COMMON_SRCS-yes += common/vp9_asm_com_offsets.c |
| 18 | VP9_COMMON_SRCS-yes += common/vp9_blockd.c |
| 19 | VP9_COMMON_SRCS-yes += common/vp9_coefupdateprobs.h |
John Koleszar | 5ca6a36 | 2013-01-25 09:47:09 -0800 | [diff] [blame] | 20 | VP9_COMMON_SRCS-yes += common/vp9_convolve.c |
| 21 | VP9_COMMON_SRCS-yes += common/vp9_convolve.h |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 22 | VP9_COMMON_SRCS-yes += common/vp9_debugmodes.c |
John Koleszar | 5ebe94f | 2012-12-23 07:20:10 -0800 | [diff] [blame] | 23 | VP9_COMMON_SRCS-yes += common/vp9_default_coef_probs.h |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 24 | VP9_COMMON_SRCS-yes += common/vp9_entropy.c |
| 25 | VP9_COMMON_SRCS-yes += common/vp9_entropymode.c |
| 26 | VP9_COMMON_SRCS-yes += common/vp9_entropymv.c |
| 27 | VP9_COMMON_SRCS-yes += common/vp9_extend.c |
| 28 | VP9_COMMON_SRCS-yes += common/vp9_filter.c |
| 29 | VP9_COMMON_SRCS-yes += common/vp9_filter.h |
| 30 | VP9_COMMON_SRCS-yes += common/vp9_findnearmv.c |
| 31 | VP9_COMMON_SRCS-yes += common/generic/vp9_systemdependent.c |
Yaowu Xu | 0055526 | 2013-03-12 11:24:04 -0700 | [diff] [blame] | 32 | VP9_COMMON_SRCS-yes += common/vp9_idct.c |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 33 | VP9_COMMON_SRCS-yes += common/vp9_alloccommon.h |
| 34 | VP9_COMMON_SRCS-yes += common/vp9_blockd.h |
| 35 | VP9_COMMON_SRCS-yes += common/vp9_common.h |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 36 | VP9_COMMON_SRCS-yes += common/vp9_entropy.h |
| 37 | VP9_COMMON_SRCS-yes += common/vp9_entropymode.h |
| 38 | VP9_COMMON_SRCS-yes += common/vp9_entropymv.h |
Ronald S. Bultje | a387485 | 2013-04-09 21:28:27 -0700 | [diff] [blame^] | 39 | VP9_COMMON_SRCS-yes += common/vp9_enums.h |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 40 | VP9_COMMON_SRCS-yes += common/vp9_extend.h |
| 41 | VP9_COMMON_SRCS-yes += common/vp9_findnearmv.h |
| 42 | VP9_COMMON_SRCS-yes += common/vp9_header.h |
Yaowu Xu | e6ad9ab | 2013-02-07 11:51:23 -0800 | [diff] [blame] | 43 | VP9_COMMON_SRCS-yes += common/vp9_idct.h |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 44 | VP9_COMMON_SRCS-yes += common/vp9_invtrans.h |
| 45 | VP9_COMMON_SRCS-yes += common/vp9_loopfilter.h |
| 46 | VP9_COMMON_SRCS-yes += common/vp9_modecont.h |
| 47 | VP9_COMMON_SRCS-yes += common/vp9_mv.h |
| 48 | VP9_COMMON_SRCS-yes += common/vp9_onyxc_int.h |
| 49 | VP9_COMMON_SRCS-yes += common/vp9_pred_common.h |
| 50 | VP9_COMMON_SRCS-yes += common/vp9_pred_common.c |
| 51 | VP9_COMMON_SRCS-yes += common/vp9_quant_common.h |
| 52 | VP9_COMMON_SRCS-yes += common/vp9_reconinter.h |
| 53 | VP9_COMMON_SRCS-yes += common/vp9_reconintra.h |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 54 | VP9_COMMON_SRCS-yes += common/vp9_rtcd.c |
| 55 | VP9_COMMON_SRCS-yes += common/vp9_rtcd_defs.sh |
| 56 | VP9_COMMON_SRCS-yes += common/vp9_sadmxn.h |
| 57 | VP9_COMMON_SRCS-yes += common/vp9_subpelvar.h |
| 58 | VP9_COMMON_SRCS-yes += common/vp9_seg_common.h |
| 59 | VP9_COMMON_SRCS-yes += common/vp9_seg_common.c |
| 60 | VP9_COMMON_SRCS-yes += common/vp9_setupintrarecon.h |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 61 | VP9_COMMON_SRCS-yes += common/vp9_swapyv12buffer.h |
| 62 | VP9_COMMON_SRCS-yes += common/vp9_systemdependent.h |
John Koleszar | 5ebe94f | 2012-12-23 07:20:10 -0800 | [diff] [blame] | 63 | VP9_COMMON_SRCS-yes += common/vp9_textblit.h |
Ronald S. Bultje | f496f60 | 2013-02-06 15:30:21 -0800 | [diff] [blame] | 64 | VP9_COMMON_SRCS-yes += common/vp9_tile_common.h |
| 65 | VP9_COMMON_SRCS-yes += common/vp9_tile_common.c |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 66 | VP9_COMMON_SRCS-yes += common/vp9_treecoder.h |
| 67 | VP9_COMMON_SRCS-yes += common/vp9_invtrans.c |
| 68 | VP9_COMMON_SRCS-yes += common/vp9_loopfilter.c |
| 69 | VP9_COMMON_SRCS-yes += common/vp9_loopfilter_filters.c |
| 70 | VP9_COMMON_SRCS-yes += common/vp9_mbpitch.c |
| 71 | VP9_COMMON_SRCS-yes += common/vp9_modecont.c |
| 72 | VP9_COMMON_SRCS-yes += common/vp9_modecontext.c |
| 73 | VP9_COMMON_SRCS-yes += common/vp9_mvref_common.c |
| 74 | VP9_COMMON_SRCS-yes += common/vp9_mvref_common.h |
| 75 | VP9_COMMON_SRCS-yes += common/vp9_quant_common.c |
| 76 | VP9_COMMON_SRCS-yes += common/vp9_recon.c |
| 77 | VP9_COMMON_SRCS-yes += common/vp9_reconinter.c |
| 78 | VP9_COMMON_SRCS-yes += common/vp9_reconintra.c |
| 79 | VP9_COMMON_SRCS-yes += common/vp9_reconintra4x4.c |
| 80 | VP9_COMMON_SRCS-yes += common/vp9_setupintrarecon.c |
| 81 | VP9_COMMON_SRCS-yes += common/vp9_swapyv12buffer.c |
| 82 | VP9_COMMON_SRCS-$(CONFIG_POSTPROC_VISUALIZER) += common/vp9_textblit.c |
| 83 | VP9_COMMON_SRCS-yes += common/vp9_treecoder.c |
| 84 | VP9_COMMON_SRCS-$(CONFIG_IMPLICIT_SEGMENTATION) += common/vp9_implicit_segmentation.c |
Ronald S. Bultje | 4b2c2b9 | 2012-11-01 11:09:58 -0700 | [diff] [blame] | 85 | |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 86 | VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_idct_x86.h |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 87 | VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_loopfilter_x86.h |
| 88 | VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_postproc_x86.h |
Jim Bankoski | e69b525 | 2012-11-29 06:53:08 -0800 | [diff] [blame] | 89 | VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_asm_stubs.c |
Johann | 3db60c8 | 2013-04-02 11:45:01 -0700 | [diff] [blame] | 90 | VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_loopfilter_intrin_mmx.c |
| 91 | VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_loopfilter_intrin_sse2.c |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 92 | VP9_COMMON_SRCS-$(CONFIG_POSTPROC) += common/vp9_postproc.h |
| 93 | VP9_COMMON_SRCS-$(CONFIG_POSTPROC) += common/vp9_postproc.c |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 94 | VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/vp9_iwalsh_mmx.asm |
| 95 | VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/vp9_recon_mmx.asm |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 96 | VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/vp9_loopfilter_mmx.asm |
Yaowu Xu | 0055526 | 2013-03-12 11:24:04 -0700 | [diff] [blame] | 97 | VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_idct_sse2.asm |
Yaowu Xu | 9bf73f4 | 2013-01-14 18:03:34 -0800 | [diff] [blame] | 98 | VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_iwalsh_sse2.asm |
| 99 | VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_loopfilter_sse2.asm |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 100 | VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_recon_sse2.asm |
| 101 | VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_recon_wrapper_sse2.c |
Yaowu Xu | 9bf73f4 | 2013-01-14 18:03:34 -0800 | [diff] [blame] | 102 | VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_subpel_variance_impl_sse2.asm |
Yunqing Wang | 8d56831 | 2013-01-08 10:44:19 -0800 | [diff] [blame] | 103 | VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_subpixel_variance_sse2.c |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 104 | VP9_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/vp9_subpixel_8t_ssse3.asm |
Ronald S. Bultje | 4b2c2b9 | 2012-11-01 11:09:58 -0700 | [diff] [blame] | 105 | ifeq ($(CONFIG_POSTPROC),yes) |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 106 | VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/vp9_postproc_mmx.asm |
| 107 | VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_postproc_sse2.asm |
Ronald S. Bultje | 4b2c2b9 | 2012-11-01 11:09:58 -0700 | [diff] [blame] | 108 | endif |
| 109 | |
| 110 | # common (c) |
| 111 | ifeq ($(CONFIG_CSM),yes) |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 112 | VP9_COMMON_SRCS-yes += common/vp9_maskingmv.c |
| 113 | VP9_COMMON_SRCS-$(HAVE_SSE3) += common/x86/vp9_mask_sse3.asm |
Ronald S. Bultje | 4b2c2b9 | 2012-11-01 11:09:58 -0700 | [diff] [blame] | 114 | endif |
| 115 | |
Yaowu Xu | 0055526 | 2013-03-12 11:24:04 -0700 | [diff] [blame] | 116 | VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_idct_x86.c |
Johann | 6c147b9 | 2013-04-02 11:20:55 -0700 | [diff] [blame] | 117 | VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_sadmxn_sse2.c |
Ronald S. Bultje | 4b2c2b9 | 2012-11-01 11:09:58 -0700 | [diff] [blame] | 118 | ifeq ($(HAVE_SSE2),yes) |
Yaowu Xu | 0055526 | 2013-03-12 11:24:04 -0700 | [diff] [blame] | 119 | vp9/common/x86/vp9_idct_x86.c.o: CFLAGS += -msse2 |
Johann | 3db60c8 | 2013-04-02 11:45:01 -0700 | [diff] [blame] | 120 | vp9/common/x86/vp9_loopfilter_intrin_sse2.c.o: CFLAGS += -msse2 |
Johann | 6c147b9 | 2013-04-02 11:20:55 -0700 | [diff] [blame] | 121 | vp9/common/x86/vp9_sadmxn_sse2.c.o: CFLAGS += -msse2 |
Yaowu Xu | 0055526 | 2013-03-12 11:24:04 -0700 | [diff] [blame] | 122 | vp9/common/x86/vp9_idct_x86.c.d: CFLAGS += -msse2 |
Johann | 3db60c8 | 2013-04-02 11:45:01 -0700 | [diff] [blame] | 123 | vp9/common/x86/vp9_loopfilter_intrin_sse2.c.d: CFLAGS += -msse2 |
Johann | 6c147b9 | 2013-04-02 11:20:55 -0700 | [diff] [blame] | 124 | vp9/common/x86/vp9_sadmxn_sse2.c.d: CFLAGS += -msse2 |
Ronald S. Bultje | 4b2c2b9 | 2012-11-01 11:09:58 -0700 | [diff] [blame] | 125 | endif |
| 126 | |
John Koleszar | 7b8dfcb | 2012-11-06 16:59:01 -0800 | [diff] [blame] | 127 | $(eval $(call asm_offsets_template,\ |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 128 | vp9_asm_com_offsets.asm, $(VP9_PREFIX)common/vp9_asm_com_offsets.c)) |
John Koleszar | a9c7597 | 2012-11-08 17:09:30 -0800 | [diff] [blame] | 129 | |
John Koleszar | fcccbcb | 2012-11-27 13:59:17 -0800 | [diff] [blame] | 130 | $(eval $(call rtcd_h_template,vp9_rtcd,vp9/common/vp9_rtcd_defs.sh)) |