blob: 62f6211f644298ec2abe020df6c3a8bd92a9a132 [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
27CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)decoder
28
29
30# common
31#define ARM
32#define DISABLE_THREAD
John Koleszar0ea50ce2010-05-18 11:58:33 -040033
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
John Koleszar0ea50ce2010-05-18 11:58:33 -040046
47#INCLUDES += algo/vpx_common/vpx_mem/include
48#INCLUDES += common
49#INCLUDES += common
50#INCLUDES += common
51#INCLUDES += common
52#INCLUDES += decoder
53
54VP8_DX_SRCS-yes += decoder/dboolhuff.c
55VP8_DX_SRCS-yes += decoder/decodemv.c
56VP8_DX_SRCS-yes += decoder/decodframe.c
John Koleszar0ea50ce2010-05-18 11:58:33 -040057VP8_DX_SRCS-yes += decoder/dequantize.c
58VP8_DX_SRCS-yes += decoder/detokenize.c
59VP8_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