John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 1 | ## |
John Koleszar | c2140b8 | 2010-09-09 08:16:39 -0400 | [diff] [blame] | 2 | ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 3 | ## |
John Koleszar | 94c52e4 | 2010-06-18 12:39:21 -0400 | [diff] [blame] | 4 | ## Use of this source code is governed by a BSD-style license |
John Koleszar | 09202d8 | 2010-06-04 16:19:40 -0400 | [diff] [blame] | 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 |
John Koleszar | 94c52e4 | 2010-06-18 12:39:21 -0400 | [diff] [blame] | 7 | ## in the file PATENTS. All contributing project authors may |
John Koleszar | 09202d8 | 2010-06-04 16:19:40 -0400 | [diff] [blame] | 8 | ## be found in the AUTHORS file in the root of the source tree. |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 9 | ## |
| 10 | |
| 11 | |
| 12 | include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8_common.mk |
John Koleszar | 7aa97a3 | 2010-06-03 10:29:04 -0400 | [diff] [blame] | 13 | |
| 14 | VP8_DX_EXPORTS += exports_dec |
| 15 | |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 16 | VP8_DX_SRCS-yes += $(VP8_COMMON_SRCS-yes) |
| 17 | VP8_DX_SRCS-no += $(VP8_COMMON_SRCS-no) |
| 18 | VP8_DX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes) |
| 19 | VP8_DX_SRCS_REMOVE-no += $(VP8_COMMON_SRCS_REMOVE-no) |
| 20 | |
| 21 | ifeq ($(ARCH_ARM),yes) |
| 22 | include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8dx_arm.mk |
| 23 | endif |
| 24 | |
John Koleszar | b749234 | 2010-05-24 11:39:59 -0400 | [diff] [blame] | 25 | VP8_DX_SRCS-yes += vp8_dx_iface.c |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 26 | |
| 27 | CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)decoder |
| 28 | |
| 29 | |
| 30 | # common |
| 31 | #define ARM |
| 32 | #define DISABLE_THREAD |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 33 | |
| 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 Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 46 | |
| 47 | #INCLUDES += algo/vpx_common/vpx_mem/include |
| 48 | #INCLUDES += common |
| 49 | #INCLUDES += common |
| 50 | #INCLUDES += common |
| 51 | #INCLUDES += common |
| 52 | #INCLUDES += decoder |
| 53 | |
| 54 | VP8_DX_SRCS-yes += decoder/dboolhuff.c |
| 55 | VP8_DX_SRCS-yes += decoder/decodemv.c |
| 56 | VP8_DX_SRCS-yes += decoder/decodframe.c |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 57 | VP8_DX_SRCS-yes += decoder/dequantize.c |
| 58 | VP8_DX_SRCS-yes += decoder/detokenize.c |
| 59 | VP8_DX_SRCS-yes += decoder/generic/dsystemdependent.c |
| 60 | VP8_DX_SRCS-yes += decoder/dboolhuff.h |
| 61 | VP8_DX_SRCS-yes += decoder/decodemv.h |
| 62 | VP8_DX_SRCS-yes += decoder/decoderthreading.h |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 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 |
Gaute Strokkenes | 315e3c2 | 2011-02-05 05:29:25 +0000 | [diff] [blame] | 68 | VP8_DX_SRCS-$(CONFIG_MULTITHREAD) += decoder/threading.c |
Fritz Koenig | 93c32a5 | 2010-08-20 10:58:19 -0700 | [diff] [blame] | 69 | VP8_DX_SRCS-yes += decoder/idct_blk.c |
John Koleszar | 48e76ff | 2010-09-24 11:21:35 -0400 | [diff] [blame] | 70 | VP8_DX_SRCS-$(CONFIG_MULTITHREAD) += decoder/reconintra_mt.h |
| 71 | VP8_DX_SRCS-$(CONFIG_MULTITHREAD) += decoder/reconintra_mt.c |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 72 | |
| 73 | VP8_DX_SRCS-yes := $(filter-out $(VP8_DX_SRCS_REMOVE-yes),$(VP8_DX_SRCS-yes)) |
| 74 | |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 75 | VP8_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/dequantize_x86.h |
| 76 | VP8_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/x86_dsystemdependent.c |
| 77 | VP8_DX_SRCS-$(HAVE_MMX) += decoder/x86/dequantize_mmx.asm |
Fritz Koenig | 93c32a5 | 2010-08-20 10:58:19 -0700 | [diff] [blame] | 78 | VP8_DX_SRCS-$(HAVE_MMX) += decoder/x86/idct_blk_mmx.c |
| 79 | VP8_DX_SRCS-$(HAVE_SSE2) += decoder/x86/idct_blk_sse2.c |