blob: 85d6f513e5ee0fdbeb1b8b4105f9d40d285a9219 [file] [log] [blame]
John Koleszar0ea50ce2010-05-18 11:58:33 -04001##
John Koleszarc2140b82010-09-09 08:16:39 -04002## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
John Koleszar0ea50ce2010-05-18 11:58:33 -04003##
John Koleszar94c52e42010-06-18 12:39:21 -04004## Use of this source code is governed by a BSD-style license
John Koleszar09202d82010-06-04 16:19:40 -04005## 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
John Koleszar94c52e42010-06-18 12:39:21 -04007## in the file PATENTS. All contributing project authors may
John Koleszar09202d82010-06-04 16:19:40 -04008## be found in the AUTHORS file in the root of the source tree.
John Koleszar0ea50ce2010-05-18 11:58:33 -04009##
10
11
12include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8_common.mk
John Koleszar7aa97a32010-06-03 10:29:04 -040013
14VP8_DX_EXPORTS += exports_dec
15
John Koleszar0ea50ce2010-05-18 11:58:33 -040016VP8_DX_SRCS-yes += $(VP8_COMMON_SRCS-yes)
17VP8_DX_SRCS-no += $(VP8_COMMON_SRCS-no)
18VP8_DX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes)
19VP8_DX_SRCS_REMOVE-no += $(VP8_COMMON_SRCS_REMOVE-no)
20
21ifeq ($(ARCH_ARM),yes)
22 include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8dx_arm.mk
23endif
24
John Koleszarb7492342010-05-24 11:39:59 -040025VP8_DX_SRCS-yes += vp8_dx_iface.c
John Koleszar0ea50ce2010-05-18 11:58:33 -040026
John Koleszar0ea50ce2010-05-18 11:58:33 -040027# common
28#define ARM
29#define DISABLE_THREAD
John Koleszar0ea50ce2010-05-18 11:58:33 -040030
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
John Koleszar0ea50ce2010-05-18 11:58:33 -040043
44#INCLUDES += algo/vpx_common/vpx_mem/include
45#INCLUDES += common
46#INCLUDES += common
47#INCLUDES += common
48#INCLUDES += common
49#INCLUDES += decoder
50
51VP8_DX_SRCS-yes += decoder/dboolhuff.c
52VP8_DX_SRCS-yes += decoder/decodemv.c
53VP8_DX_SRCS-yes += decoder/decodframe.c
John Koleszar0ea50ce2010-05-18 11:58:33 -040054VP8_DX_SRCS-yes += decoder/dequantize.c
55VP8_DX_SRCS-yes += decoder/detokenize.c
Stefan Holmerd04f8522011-05-02 15:30:51 +020056VP8_DX_SRCS-$(CONFIG_ERROR_CONCEALMENT) += decoder/ec_types.h
57VP8_DX_SRCS-$(CONFIG_ERROR_CONCEALMENT) += decoder/error_concealment.h
58VP8_DX_SRCS-$(CONFIG_ERROR_CONCEALMENT) += decoder/error_concealment.c
John Koleszar0ea50ce2010-05-18 11:58:33 -040059VP8_DX_SRCS-yes += decoder/generic/dsystemdependent.c
60VP8_DX_SRCS-yes += decoder/dboolhuff.h
61VP8_DX_SRCS-yes += decoder/decodemv.h
62VP8_DX_SRCS-yes += decoder/decoderthreading.h
John Koleszar0ea50ce2010-05-18 11:58:33 -040063VP8_DX_SRCS-yes += decoder/dequantize.h
64VP8_DX_SRCS-yes += decoder/detokenize.h
65VP8_DX_SRCS-yes += decoder/onyxd_int.h
66VP8_DX_SRCS-yes += decoder/treereader.h
67VP8_DX_SRCS-yes += decoder/onyxd_if.c
Gaute Strokkenes315e3c22011-02-05 05:29:25 +000068VP8_DX_SRCS-$(CONFIG_MULTITHREAD) += decoder/threading.c
Fritz Koenig93c32a52010-08-20 10:58:19 -070069VP8_DX_SRCS-yes += decoder/idct_blk.c
John Koleszar48e76ff2010-09-24 11:21:35 -040070VP8_DX_SRCS-$(CONFIG_MULTITHREAD) += decoder/reconintra_mt.h
71VP8_DX_SRCS-$(CONFIG_MULTITHREAD) += decoder/reconintra_mt.c
John Koleszar0ea50ce2010-05-18 11:58:33 -040072
73VP8_DX_SRCS-yes := $(filter-out $(VP8_DX_SRCS_REMOVE-yes),$(VP8_DX_SRCS-yes))
74
John Koleszar0ea50ce2010-05-18 11:58:33 -040075VP8_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/dequantize_x86.h
76VP8_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/x86_dsystemdependent.c
77VP8_DX_SRCS-$(HAVE_MMX) += decoder/x86/dequantize_mmx.asm
Fritz Koenig93c32a52010-08-20 10:58:19 -070078VP8_DX_SRCS-$(HAVE_MMX) += decoder/x86/idct_blk_mmx.c
79VP8_DX_SRCS-$(HAVE_SSE2) += decoder/x86/idct_blk_sse2.c