Rough merge of master into experimental
[platform/upstream/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 VP8_DX_EXPORTS += exports_dec
13
14 VP8_DX_SRCS-yes += $(VP8_COMMON_SRCS-yes)
15 VP8_DX_SRCS-no  += $(VP8_COMMON_SRCS-no)
16 VP8_DX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes)
17 VP8_DX_SRCS_REMOVE-no  += $(VP8_COMMON_SRCS_REMOVE-no)
18
19 VP8_DX_SRCS-yes += vp8_dx_iface.c
20
21 # common
22 #define ARM
23 #define DISABLE_THREAD
24
25 #INCLUDES += algo/vpx_common/vpx_mem/include
26 #INCLUDES += common
27 #INCLUDES += common
28 #INCLUDES += common
29 #INCLUDES += common
30 #INCLUDES += decoder
31
32
33
34 # decoder
35 #define ARM
36 #define DISABLE_THREAD
37
38 #INCLUDES += algo/vpx_common/vpx_mem/include
39 #INCLUDES += common
40 #INCLUDES += common
41 #INCLUDES += common
42 #INCLUDES += common
43 #INCLUDES += decoder
44
45 VP8_DX_SRCS-yes += decoder/asm_dec_offsets.c
46 VP8_DX_SRCS-yes += decoder/dboolhuff.c
47 VP8_DX_SRCS-yes += decoder/decodemv.c
48 VP8_DX_SRCS-yes += decoder/decodframe.c
49 VP8_DX_SRCS-yes += decoder/detokenize.c
50 VP8_DX_SRCS-$(CONFIG_ERROR_CONCEALMENT) += decoder/ec_types.h
51 VP8_DX_SRCS-$(CONFIG_ERROR_CONCEALMENT) += decoder/error_concealment.h
52 VP8_DX_SRCS-$(CONFIG_ERROR_CONCEALMENT) += decoder/error_concealment.c
53 VP8_DX_SRCS-yes += decoder/dboolhuff.h
54 VP8_DX_SRCS-yes += decoder/decodemv.h
55 VP8_DX_SRCS-yes += decoder/decoderthreading.h
56 VP8_DX_SRCS-yes += decoder/detokenize.h
57 VP8_DX_SRCS-yes += decoder/onyxd_int.h
58 VP8_DX_SRCS-yes += decoder/treereader.h
59 VP8_DX_SRCS-yes += decoder/onyxd_if.c
60 VP8_DX_SRCS-$(CONFIG_MULTITHREAD) += decoder/threading.c
61
62 VP8_DX_SRCS-yes := $(filter-out $(VP8_DX_SRCS_REMOVE-yes),$(VP8_DX_SRCS-yes))
63
64 $(eval $(call asm_offsets_template,\
65          vp8_asm_dec_offsets.asm, $(VP8_PREFIX)decoder/asm_dec_offsets.c))