Merge "expose vp8_deblock"
[profile/ivi/libvpx.git] / vp8 / vp8dx.mk
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 ##
9
10
11 include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8_common.mk
12 VP8_DX_SRCS-yes += $(VP8_COMMON_SRCS-yes)
13 VP8_DX_SRCS-no  += $(VP8_COMMON_SRCS-no)
14 VP8_DX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes)
15 VP8_DX_SRCS_REMOVE-no  += $(VP8_COMMON_SRCS_REMOVE-no)
16
17 ifeq ($(ARCH_ARM),yes)
18   include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8dx_arm.mk
19 endif
20
21 VP8_DX_SRCS-yes += vp8_dx_iface.c
22
23 CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)decoder
24
25
26 # common
27 #define ARM
28 #define DISABLE_THREAD
29 #define INLINE=__forceinline
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 #define INLINE=__forceinline
44
45 #INCLUDES += algo/vpx_common/vpx_mem/include
46 #INCLUDES += common
47 #INCLUDES += common
48 #INCLUDES += common
49 #INCLUDES += common
50 #INCLUDES += decoder
51
52 VP8_DX_SRCS-yes += decoder/dboolhuff.c
53 VP8_DX_SRCS-yes += decoder/decodemv.c
54 VP8_DX_SRCS-yes += decoder/decodframe.c
55 VP8_DX_SRCS-yes += decoder/demode.c
56 VP8_DX_SRCS-yes += decoder/dequantize.c
57 VP8_DX_SRCS-yes += decoder/detokenize.c
58 VP8_DX_SRCS-yes += decoder/generic/dsystemdependent.c
59 VP8_DX_SRCS-yes += decoder/dboolhuff.h
60 VP8_DX_SRCS-yes += decoder/decodemv.h
61 VP8_DX_SRCS-yes += decoder/decoderthreading.h
62 VP8_DX_SRCS-yes += decoder/demode.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
70 VP8_DX_SRCS-yes := $(filter-out $(VP8_DX_SRCS_REMOVE-yes),$(VP8_DX_SRCS-yes))
71
72 VP8_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/dequantize_x86.h
73 VP8_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/x86_dsystemdependent.c
74 VP8_DX_SRCS-$(HAVE_MMX) += decoder/x86/dequantize_mmx.asm