expose vp8_deblock
[libvpx.git] / vp8 / vp8cx.mk
blob651ee7767abd080370113d5f891faabbe916c356
1 ##
2 ## Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
3 ##
4 ## Use of this source code is governed by a BSD-style license and patent
5 ## grant that can be found in the LICENSE file in the root of the source
6 ## tree. All contributing project authors may be found in the AUTHORS
7 ## file in the root of the source tree.
8 ##
11 include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8_common.mk
12 VP8_CX_SRCS-yes += $(VP8_COMMON_SRCS-yes)
13 VP8_CX_SRCS-no += $(VP8_COMMON_SRCS-no)
14 VP8_CX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes)
15 VP8_CX_SRCS_REMOVE-no += $(VP8_COMMON_SRCS_REMOVE-no)
17 ifeq ($(ARCH_ARM),yes)
18 include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8cx_arm.mk
19 endif
21 VP8_CX_SRCS-yes += vp8_cx_iface.c
23 # encoder
24 #INCLUDES += algo/vpx_common/vpx_mem/include
25 #INCLUDES += common
26 #INCLUDES += common
27 #INCLUDES += common
28 #INCLUDES += algo/vpx_ref/cpu_id/include
29 #INCLUDES += common
30 #INCLUDES += encoder
32 CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)encoder
34 VP8_CX_SRCS-yes += encoder/bitstream.c
35 VP8_CX_SRCS-yes += encoder/boolhuff.c
36 VP8_CX_SRCS-yes += encoder/dct.c
37 VP8_CX_SRCS-yes += encoder/encodeframe.c
38 VP8_CX_SRCS-yes += encoder/encodeintra.c
39 VP8_CX_SRCS-yes += encoder/encodemb.c
40 VP8_CX_SRCS-yes += encoder/encodemv.c
41 VP8_CX_SRCS-yes += encoder/ethreading.c
42 VP8_CX_SRCS-yes += encoder/firstpass.c
43 VP8_CX_SRCS-yes += encoder/generic/csystemdependent.c
44 VP8_CX_SRCS-yes += encoder/block.h
45 VP8_CX_SRCS-yes += encoder/boolhuff.h
46 VP8_CX_SRCS-yes += encoder/bitstream.h
47 VP8_CX_SRCS-yes += encoder/dct.h
48 VP8_CX_SRCS-yes += encoder/encodeintra.h
49 VP8_CX_SRCS-yes += encoder/encodemb.h
50 VP8_CX_SRCS-yes += encoder/encodemv.h
51 VP8_CX_SRCS-yes += encoder/firstpass.h
52 VP8_CX_SRCS-yes += encoder/mcomp.h
53 VP8_CX_SRCS-yes += encoder/modecosts.h
54 VP8_CX_SRCS-yes += encoder/onyx_int.h
55 VP8_CX_SRCS-yes += encoder/pickinter.h
56 VP8_CX_SRCS-yes += encoder/psnr.h
57 VP8_CX_SRCS-yes += encoder/quantize.h
58 VP8_CX_SRCS-yes += encoder/ratectrl.h
59 VP8_CX_SRCS-yes += encoder/rdopt.h
60 VP8_CX_SRCS-yes += encoder/tokenize.h
61 VP8_CX_SRCS-yes += encoder/treewriter.h
62 VP8_CX_SRCS-yes += encoder/variance.h
63 VP8_CX_SRCS-yes += encoder/mcomp.c
64 VP8_CX_SRCS-yes += encoder/modecosts.c
65 VP8_CX_SRCS-yes += encoder/onyx_if.c
66 VP8_CX_SRCS-yes += encoder/pickinter.c
67 VP8_CX_SRCS-yes += encoder/picklpf.c
68 VP8_CX_SRCS-yes += encoder/psnr.c
69 VP8_CX_SRCS-yes += encoder/quantize.c
70 VP8_CX_SRCS-yes += encoder/ratectrl.c
71 VP8_CX_SRCS-yes += encoder/rdopt.c
72 VP8_CX_SRCS-yes += encoder/sad_c.c
73 VP8_CX_SRCS-yes += encoder/ssim.c
74 VP8_CX_SRCS-yes += encoder/tokenize.c
75 VP8_CX_SRCS-yes += encoder/treewriter.c
76 VP8_CX_SRCS-yes += encoder/variance_c.c
78 ifeq ($(CONFIG_REALTIME_ONLY),yes)
79 VP8_CX_SRCS_REMOVE-yes += encoder/firstpass.c
80 endif
82 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodemb_x86.h
83 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/dct_x86.h
84 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/mcomp_x86.h
85 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/variance_x86.h
86 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/x86_csystemdependent.c
87 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_mmx.c
88 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_impl_mmx.asm
89 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/sad_mmx.asm
90 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/dct_mmx.asm
91 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/subtract_mmx.asm
92 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_sse2.c
93 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_impl_sse2.asm
94 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/sad_sse2.asm
95 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/dct_sse2.asm
96 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/fwalsh_sse2.asm
97 VP8_CX_SRCS-$(HAVE_SSE3) += encoder/x86/sad_sse3.asm
98 VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/sad_ssse3.asm
99 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_mmx.asm
100 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodeopt.asm
102 VP8_CX_SRCS-yes := $(filter-out $(VP8_CX_SRCS_REMOVE-yes),$(VP8_CX_SRCS-yes))