Merge "Set VPX_FRAME_IS_DROPPABLE"
[libvpx.git] / vp8 / vp8cx.mk
blobd46d99df6626188f2ff2956d52a8f48232db6915
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 ##
12 include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8_common.mk
14 VP8_CX_EXPORTS += exports_enc
16 VP8_CX_SRCS-yes += $(VP8_COMMON_SRCS-yes)
17 VP8_CX_SRCS-no += $(VP8_COMMON_SRCS-no)
18 VP8_CX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes)
19 VP8_CX_SRCS_REMOVE-no += $(VP8_COMMON_SRCS_REMOVE-no)
21 ifeq ($(ARCH_ARM),yes)
22 include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8cx_arm.mk
23 endif
25 VP8_CX_SRCS-yes += vp8_cx_iface.c
27 # encoder
28 #INCLUDES += algo/vpx_common/vpx_mem/include
29 #INCLUDES += common
30 #INCLUDES += common
31 #INCLUDES += common
32 #INCLUDES += algo/vpx_ref/cpu_id/include
33 #INCLUDES += common
34 #INCLUDES += encoder
36 VP8_CX_SRCS-yes += encoder/asm_enc_offsets.c
37 VP8_CX_SRCS-yes += encoder/bitstream.c
38 VP8_CX_SRCS-yes += encoder/boolhuff.c
39 VP8_CX_SRCS-yes += encoder/dct.c
40 VP8_CX_SRCS-yes += encoder/encodeframe.c
41 VP8_CX_SRCS-yes += encoder/encodeintra.c
42 VP8_CX_SRCS-yes += encoder/encodemb.c
43 VP8_CX_SRCS-yes += encoder/encodemv.c
44 VP8_CX_SRCS-$(CONFIG_MULTITHREAD) += encoder/ethreading.c
45 VP8_CX_SRCS-yes += encoder/firstpass.c
46 VP8_CX_SRCS-yes += encoder/generic/csystemdependent.c
47 VP8_CX_SRCS-yes += encoder/block.h
48 VP8_CX_SRCS-yes += encoder/boolhuff.h
49 VP8_CX_SRCS-yes += encoder/bitstream.h
50 VP8_CX_SRCS-yes += encoder/dct.h
51 VP8_CX_SRCS-yes += encoder/encodeintra.h
52 VP8_CX_SRCS-yes += encoder/encodemb.h
53 VP8_CX_SRCS-yes += encoder/encodemv.h
54 VP8_CX_SRCS-yes += encoder/firstpass.h
55 VP8_CX_SRCS-yes += encoder/lookahead.c
56 VP8_CX_SRCS-yes += encoder/lookahead.h
57 VP8_CX_SRCS-yes += encoder/mcomp.h
58 VP8_CX_SRCS-yes += encoder/modecosts.h
59 VP8_CX_SRCS-yes += encoder/onyx_int.h
60 VP8_CX_SRCS-yes += encoder/pickinter.h
61 VP8_CX_SRCS-yes += encoder/psnr.h
62 VP8_CX_SRCS-yes += encoder/quantize.h
63 VP8_CX_SRCS-yes += encoder/ratectrl.h
64 VP8_CX_SRCS-yes += encoder/rdopt.h
65 VP8_CX_SRCS-yes += encoder/tokenize.h
66 VP8_CX_SRCS-yes += encoder/treewriter.h
67 VP8_CX_SRCS-yes += encoder/variance.h
68 VP8_CX_SRCS-yes += encoder/mcomp.c
69 VP8_CX_SRCS-yes += encoder/modecosts.c
70 VP8_CX_SRCS-yes += encoder/onyx_if.c
71 VP8_CX_SRCS-yes += encoder/pickinter.c
72 VP8_CX_SRCS-yes += encoder/picklpf.c
73 VP8_CX_SRCS-yes += encoder/psnr.c
74 VP8_CX_SRCS-yes += encoder/quantize.c
75 VP8_CX_SRCS-yes += encoder/ratectrl.c
76 VP8_CX_SRCS-yes += encoder/rdopt.c
77 VP8_CX_SRCS-yes += encoder/sad_c.c
78 VP8_CX_SRCS-yes += encoder/segmentation.c
79 VP8_CX_SRCS-yes += encoder/segmentation.h
80 VP8_CX_SRCS-$(CONFIG_INTERNAL_STATS) += encoder/ssim.c
81 VP8_CX_SRCS-yes += encoder/tokenize.c
82 VP8_CX_SRCS-yes += encoder/treewriter.c
83 VP8_CX_SRCS-yes += encoder/variance_c.c
84 VP8_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/postproc.h
85 VP8_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/postproc.c
86 VP8_CX_SRCS-yes += encoder/temporal_filter.c
87 VP8_CX_SRCS-yes += encoder/temporal_filter.h
89 ifeq ($(CONFIG_REALTIME_ONLY),yes)
90 VP8_CX_SRCS_REMOVE-yes += encoder/firstpass.c
91 VP8_CX_SRCS_REMOVE-yes += encoder/temporal_filter.c
92 endif
94 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodemb_x86.h
95 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/dct_x86.h
96 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/mcomp_x86.h
97 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/variance_x86.h
98 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_x86.h
99 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/temporal_filter_x86.h
100 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/x86_csystemdependent.c
101 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_mmx.c
102 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_impl_mmx.asm
103 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/sad_mmx.asm
104 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/dct_mmx.asm
105 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/subtract_mmx.asm
106 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/dct_sse2.asm
107 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_sse2.c
108 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_impl_sse2.asm
109 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/sad_sse2.asm
110 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/fwalsh_sse2.asm
111 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/quantize_sse2.asm
112 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/subtract_sse2.asm
113 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm
114 VP8_CX_SRCS-$(HAVE_SSE3) += encoder/x86/sad_sse3.asm
115 VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/sad_ssse3.asm
116 VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/variance_ssse3.c
117 VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/variance_impl_ssse3.asm
118 VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/quantize_ssse3.asm
119 VP8_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/sad_sse4.asm
120 VP8_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/quantize_sse4.asm
121 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_mmx.asm
122 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodeopt.asm
123 VP8_CX_SRCS-$(ARCH_X86_64) += encoder/x86/ssim_opt.asm
125 ifeq ($(CONFIG_REALTIME_ONLY),yes)
126 VP8_CX_SRCS_REMOVE-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm
127 endif
130 VP8_CX_SRCS-yes := $(filter-out $(VP8_CX_SRCS_REMOVE-yes),$(VP8_CX_SRCS-yes))