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 12 #add this file to the installed sources list 13 VP8_COMMON_SRCS-yes += vp8_common.mk 14 15 CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)common 16 VP8_COMMON_SRCS-yes += common/type_aliases.h 17 VP8_COMMON_SRCS-yes += common/pragmas.h 18 19 CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)common 20 VP8_COMMON_SRCS-yes += common/preproc.h 21 VP8_COMMON_SRCS-yes += common/vpxerrors.h 22 23 CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)common 24 VP8_COMMON_SRCS-yes += common/ppflags.h 25 VP8_COMMON_SRCS-yes += common/onyx.h 26 VP8_COMMON_SRCS-yes += common/onyxd.h 27 28 CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)common 29 30 VP8_COMMON_SRCS-yes += common/alloccommon.c 31 VP8_COMMON_SRCS-yes += common/blockd.c 32 VP8_COMMON_SRCS-yes += common/coefupdateprobs.h 33 VP8_COMMON_SRCS-yes += common/debugmodes.c 34 VP8_COMMON_SRCS-yes += common/defaultcoefcounts.h 35 VP8_COMMON_SRCS-yes += common/entropy.c 36 VP8_COMMON_SRCS-yes += common/entropymode.c 37 VP8_COMMON_SRCS-yes += common/entropymv.c 38 VP8_COMMON_SRCS-yes += common/extend.c 39 VP8_COMMON_SRCS-yes += common/filter_c.c 40 VP8_COMMON_SRCS-yes += common/findnearmv.c 41 VP8_COMMON_SRCS-yes += common/generic/systemdependent.c 42 VP8_COMMON_SRCS-yes += common/idctllm.c 43 VP8_COMMON_SRCS-yes += common/alloccommon.h 44 VP8_COMMON_SRCS-yes += common/blockd.h 45 VP8_COMMON_SRCS-yes += common/common.h 46 VP8_COMMON_SRCS-yes += common/common_types.h 47 VP8_COMMON_SRCS-yes += common/entropy.h 48 VP8_COMMON_SRCS-yes += common/entropymode.h 49 VP8_COMMON_SRCS-yes += common/entropymv.h 50 VP8_COMMON_SRCS-yes += common/extend.h 51 VP8_COMMON_SRCS-yes += common/findnearmv.h 52 VP8_COMMON_SRCS-yes += common/g_common.h 53 VP8_COMMON_SRCS-yes += common/header.h 54 VP8_COMMON_SRCS-yes += common/idct.h 55 VP8_COMMON_SRCS-yes += common/invtrans.h 56 VP8_COMMON_SRCS-yes += common/loopfilter.h 57 VP8_COMMON_SRCS-yes += common/modecont.h 58 VP8_COMMON_SRCS-yes += common/mv.h 59 VP8_COMMON_SRCS-yes += common/onyxc_int.h 60 VP8_COMMON_SRCS-yes += common/predictdc.h 61 VP8_COMMON_SRCS-yes += common/quant_common.h 62 VP8_COMMON_SRCS-yes += common/recon.h 63 VP8_COMMON_SRCS-yes += common/reconinter.h 64 VP8_COMMON_SRCS-yes += common/reconintra.h 65 VP8_COMMON_SRCS-yes += common/reconintra4x4.h 66 VP8_COMMON_SRCS-yes += common/setupintrarecon.h 67 VP8_COMMON_SRCS-yes += common/subpixel.h 68 VP8_COMMON_SRCS-yes += common/swapyv12buffer.h 69 VP8_COMMON_SRCS-yes += common/systemdependent.h 70 VP8_COMMON_SRCS-yes += common/threading.h 71 VP8_COMMON_SRCS-yes += common/treecoder.h 72 VP8_COMMON_SRCS-yes += common/invtrans.c 73 VP8_COMMON_SRCS-yes += common/loopfilter.c 74 VP8_COMMON_SRCS-yes += common/loopfilter_filters.c 75 VP8_COMMON_SRCS-yes += common/mbpitch.c 76 VP8_COMMON_SRCS-yes += common/modecont.c 77 VP8_COMMON_SRCS-yes += common/modecontext.c 78 VP8_COMMON_SRCS-yes += common/predictdc.c 79 VP8_COMMON_SRCS-yes += common/quant_common.c 80 VP8_COMMON_SRCS-yes += common/recon.c 81 VP8_COMMON_SRCS-yes += common/reconinter.c 82 VP8_COMMON_SRCS-yes += common/reconintra.c 83 VP8_COMMON_SRCS-yes += common/reconintra4x4.c 84 VP8_COMMON_SRCS-yes += common/setupintrarecon.c 85 VP8_COMMON_SRCS-yes += common/swapyv12buffer.c 86 VP8_COMMON_SRCS-yes += common/textblit.c 87 VP8_COMMON_SRCS-yes += common/treecoder.c 88 89 VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/idct_x86.h 90 VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/subpixel_x86.h 91 VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/recon_x86.h 92 VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/loopfilter_x86.h 93 VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/postproc_x86.h 94 VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/x86_systemdependent.c 95 VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp8_asm_stubs.c 96 VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/loopfilter_x86.c 97 VP8_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.h 98 VP8_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.c 99 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/idctllm_mmx.asm 100 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/iwalsh_mmx.asm 101 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/recon_mmx.asm 102 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/subpixel_mmx.asm 103 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/loopfilter_mmx.asm 104 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/idctllm_sse2.asm 105 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/recon_sse2.asm 106 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/subpixel_sse2.asm 107 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/loopfilter_sse2.asm 108 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/iwalsh_sse2.asm 109 VP8_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/subpixel_ssse3.asm 110 ifeq ($(CONFIG_POSTPROC),yes) 111 VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/postproc_mmx.asm 112 VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/postproc_sse2.asm 113 endif 114 115 VP8_COMMON_SRCS-$(ARCH_ARM) += common/arm/arm_systemdependent.c 116 117 # common (c) 118 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/bilinearfilter_arm.c 119 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/filter_arm.c 120 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/loopfilter_arm.c 121 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/reconintra_arm.c 122 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/vpx_asm_offsets.c 123 124 # common (armv6) 125 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/armv6/bilinearfilter_v6$(ASM) 126 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/armv6/copymem8x4_v6$(ASM) 127 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/armv6/copymem8x8_v6$(ASM) 128 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/armv6/copymem16x16_v6$(ASM) 129 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/armv6/dc_only_idct_add_v6$(ASM) 130 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/armv6/iwalsh_v6$(ASM) 131 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/armv6/filter_v6$(ASM) 132 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/armv6/idct_v6$(ASM) 133 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/armv6/loopfilter_v6$(ASM) 134 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/armv6/recon_v6$(ASM) 135 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/armv6/simpleloopfilter_v6$(ASM) 136 VP8_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/armv6/sixtappredict8x4_v6$(ASM) 137 138 # common (neon) 139 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/bilinearpredict4x4_neon$(ASM) 140 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/bilinearpredict8x4_neon$(ASM) 141 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/bilinearpredict8x8_neon$(ASM) 142 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/bilinearpredict16x16_neon$(ASM) 143 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/copymem8x4_neon$(ASM) 144 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/copymem8x8_neon$(ASM) 145 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/copymem16x16_neon$(ASM) 146 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/dc_only_idct_add_neon$(ASM) 147 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/iwalsh_neon$(ASM) 148 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/loopfilter_neon$(ASM) 149 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/loopfiltersimplehorizontaledge_neon$(ASM) 150 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/loopfiltersimpleverticaledge_neon$(ASM) 151 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/mbloopfilter_neon$(ASM) 152 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/recon2b_neon$(ASM) 153 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/recon4b_neon$(ASM) 154 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/reconb_neon$(ASM) 155 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/shortidct4x4llm_1_neon$(ASM) 156 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/shortidct4x4llm_neon$(ASM) 157 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/sixtappredict4x4_neon$(ASM) 158 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/sixtappredict8x4_neon$(ASM) 159 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/sixtappredict8x8_neon$(ASM) 160 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/sixtappredict16x16_neon$(ASM) 161 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/recon16x16mb_neon$(ASM) 162 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/buildintrapredictorsmby_neon$(ASM) 163 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/save_neon_reg$(ASM) 164 VP8_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/recon_neon.c 165 166 167 # 168 # Rule to extract assembly constants from C sources 169 # 170 ifeq ($(ARCH_ARM),yes) 171 vpx_asm_offsets.asm: obj_int_extract 172 vpx_asm_offsets.asm: $(VP8_PREFIX)common/arm/vpx_asm_offsets.c.o 173 ./obj_int_extract rvds $< $(ADS2GAS) > $@ 174 OBJS-yes += $(VP8_PREFIX)common/arm/vpx_asm_offsets.c.o 175 CLEAN-OBJS += vpx_asm_offsets.asm 176 $(filter %$(ASM).o,$(OBJS-yes)): vpx_asm_offsets.asm 177 endif 178