Merge other top-level C code
[platform/upstream/libvpx.git] / vp9 / vp9dx.mk
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 include $(SRC_PATH_BARE)/$(VP9_PREFIX)vp9_common.mk
13
14 VP9_DX_EXPORTS += exports_dec
15
16 VP9_DX_SRCS-yes += $(VP9_COMMON_SRCS-yes)
17 VP9_DX_SRCS-no  += $(VP9_COMMON_SRCS-no)
18 VP9_DX_SRCS_REMOVE-yes += $(VP9_COMMON_SRCS_REMOVE-yes)
19 VP9_DX_SRCS_REMOVE-no  += $(VP9_COMMON_SRCS_REMOVE-no)
20
21 ifeq ($(ARCH_ARM),yes)
22   include $(SRC_PATH_BARE)/$(VP9_PREFIX)vp9dx_arm.mk
23 endif
24
25 VP9_DX_SRCS-yes += vp9_dx_iface.c
26
27 # common
28 #define ARM
29 #define DISABLE_THREAD
30
31 #INCLUDES += algo/vpx_common/vpx_mem/include
32 #INCLUDES += common
33 #INCLUDES += common
34 #INCLUDES += common
35 #INCLUDES += common
36 #INCLUDES += decoder
37
38
39
40 # decoder
41 #define ARM
42 #define DISABLE_THREAD
43
44 #INCLUDES += algo/vpx_common/vpx_mem/include
45 #INCLUDES += common
46 #INCLUDES += common
47 #INCLUDES += common
48 #INCLUDES += common
49 #INCLUDES += decoder
50
51 VP9_DX_SRCS-yes += decoder/asm_dec_offsets.c
52 VP9_DX_SRCS-yes += decoder/dboolhuff.c
53 VP9_DX_SRCS-yes += decoder/decodemv.c
54 VP9_DX_SRCS-yes += decoder/decodframe.c
55 VP9_DX_SRCS-yes += decoder/dequantize.c
56 VP9_DX_SRCS-yes += decoder/detokenize.c
57 VP9_DX_SRCS-yes += decoder/dboolhuff.h
58 VP9_DX_SRCS-yes += decoder/decodemv.h
59 VP9_DX_SRCS-yes += decoder/dequantize.h
60 VP9_DX_SRCS-yes += decoder/detokenize.h
61 VP9_DX_SRCS-yes += decoder/onyxd_int.h
62 VP9_DX_SRCS-yes += decoder/treereader.h
63 VP9_DX_SRCS-yes += decoder/onyxd_if.c
64 VP9_DX_SRCS-yes += decoder/idct_blk.c
65
66 VP9_DX_SRCS-yes := $(filter-out $(VP9_DX_SRCS_REMOVE-yes),$(VP9_DX_SRCS-yes))
67
68 VP9_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/x86_dsystemdependent.c
69 VP9_DX_SRCS-$(HAVE_MMX) += decoder/x86/dequantize_mmx.asm
70 VP9_DX_SRCS-$(HAVE_MMX) += decoder/x86/idct_blk_mmx.c
71 VP9_DX_SRCS-$(HAVE_SSE2) += decoder/x86/idct_blk_sse2.c