2 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
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.
11 VP9_DX_EXPORTS += exports_dec
13 VP9_DX_SRCS-yes += $(VP9_COMMON_SRCS-yes)
14 VP9_DX_SRCS-no += $(VP9_COMMON_SRCS-no)
15 VP9_DX_SRCS_REMOVE-yes += $(VP9_COMMON_SRCS_REMOVE-yes)
16 VP9_DX_SRCS_REMOVE-no += $(VP9_COMMON_SRCS_REMOVE-no)
18 ifeq ($(ARCH_ARM),yes)
19 include $(SRC_PATH_BARE)/$(VP9_PREFIX)vp9dx_arm.mk
22 VP9_DX_SRCS-yes += vp9_dx_iface.c
26 #define DISABLE_THREAD
28 #INCLUDES += algo/vpx_common/vpx_mem/include
39 #define DISABLE_THREAD
41 #INCLUDES += algo/vpx_common/vpx_mem/include
48 VP9_DX_SRCS-yes += decoder/asm_dec_offsets.c
49 VP9_DX_SRCS-yes += decoder/dboolhuff.c
50 VP9_DX_SRCS-yes += decoder/decodemv.c
51 VP9_DX_SRCS-yes += decoder/decodframe.c
52 VP9_DX_SRCS-yes += decoder/dequantize.c
53 VP9_DX_SRCS-yes += decoder/detokenize.c
54 VP9_DX_SRCS-yes += decoder/dboolhuff.h
55 VP9_DX_SRCS-yes += decoder/decodemv.h
56 VP9_DX_SRCS-yes += decoder/dequantize.h
57 VP9_DX_SRCS-yes += decoder/detokenize.h
58 VP9_DX_SRCS-yes += decoder/onyxd_int.h
59 VP9_DX_SRCS-yes += decoder/treereader.h
60 VP9_DX_SRCS-yes += decoder/onyxd_if.c
61 VP9_DX_SRCS-yes += decoder/idct_blk.c
63 VP9_DX_SRCS-yes := $(filter-out $(VP9_DX_SRCS_REMOVE-yes),$(VP9_DX_SRCS-yes))
65 VP9_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/x86_dsystemdependent.c
66 VP9_DX_SRCS-$(HAVE_MMX) += decoder/x86/dequantize_mmx.asm
67 VP9_DX_SRCS-$(HAVE_MMX) += decoder/x86/idct_blk_mmx.c
68 VP9_DX_SRCS-$(HAVE_SSE2) += decoder/x86/idct_blk_sse2.c
70 $(eval $(call asm_offsets_template,\
71 vp9_asm_dec_offsets.asm, $(VP9_PREFIX)decoder/asm_dec_offsets.c))