move reconintra_mt to decoder (for now)
[profile/ivi/libvpx.git] / vp8 / vp8dx.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)/$(VP8_PREFIX)vp8_common.mk
13
14 VP8_DX_EXPORTS += exports_dec
15
16 VP8_DX_SRCS-yes += $(VP8_COMMON_SRCS-yes)
17 VP8_DX_SRCS-no  += $(VP8_COMMON_SRCS-no)
18 VP8_DX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes)
19 VP8_DX_SRCS_REMOVE-no  += $(VP8_COMMON_SRCS_REMOVE-no)
20
21 ifeq ($(ARCH_ARM),yes)
22   include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8dx_arm.mk
23 endif
24
25 VP8_DX_SRCS-yes += vp8_dx_iface.c
26
27 CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)decoder
28
29
30 # common
31 #define ARM
32 #define DISABLE_THREAD
33
34 #INCLUDES += algo/vpx_common/vpx_mem/include
35 #INCLUDES += common
36 #INCLUDES += common
37 #INCLUDES += common
38 #INCLUDES += common
39 #INCLUDES += decoder
40
41
42
43 # decoder
44 #define ARM
45 #define DISABLE_THREAD
46
47 #INCLUDES += algo/vpx_common/vpx_mem/include
48 #INCLUDES += common
49 #INCLUDES += common
50 #INCLUDES += common
51 #INCLUDES += common
52 #INCLUDES += decoder
53
54 VP8_DX_SRCS-yes += decoder/dboolhuff.c
55 VP8_DX_SRCS-yes += decoder/decodemv.c
56 VP8_DX_SRCS-yes += decoder/decodframe.c
57 VP8_DX_SRCS-yes += decoder/dequantize.c
58 VP8_DX_SRCS-yes += decoder/detokenize.c
59 VP8_DX_SRCS-yes += decoder/generic/dsystemdependent.c
60 VP8_DX_SRCS-yes += decoder/dboolhuff.h
61 VP8_DX_SRCS-yes += decoder/decodemv.h
62 VP8_DX_SRCS-yes += decoder/decoderthreading.h
63 VP8_DX_SRCS-yes += decoder/dequantize.h
64 VP8_DX_SRCS-yes += decoder/detokenize.h
65 VP8_DX_SRCS-yes += decoder/onyxd_int.h
66 VP8_DX_SRCS-yes += decoder/treereader.h
67 VP8_DX_SRCS-yes += decoder/onyxd_if.c
68 VP8_DX_SRCS-yes += decoder/threading.c
69 VP8_DX_SRCS-yes += decoder/idct_blk.c
70 VP8_DX_SRCS-$(CONFIG_MULTITHREAD) += decoder/reconintra_mt.h
71 VP8_DX_SRCS-$(CONFIG_MULTITHREAD) += decoder/reconintra_mt.c
72
73 VP8_DX_SRCS-yes := $(filter-out $(VP8_DX_SRCS_REMOVE-yes),$(VP8_DX_SRCS-yes))
74
75 VP8_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/dequantize_x86.h
76 VP8_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/x86_dsystemdependent.c
77 VP8_DX_SRCS-$(HAVE_MMX) += decoder/x86/dequantize_mmx.asm
78 VP8_DX_SRCS-$(HAVE_MMX) += decoder/x86/idct_blk_mmx.c
79 VP8_DX_SRCS-$(HAVE_SSE2) += decoder/x86/idct_blk_sse2.c