Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Side by Side Diff: source/libvpx/vp8/vp8cx.mk

Issue 11555023: libvpx: Add VP9 decoder. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 ## 1 ##
2 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. 2 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 ## 3 ##
4 ## Use of this source code is governed by a BSD-style license 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 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 6 ## tree. An additional intellectual property rights grant can be found
7 ## in the file PATENTS. All contributing project authors may 7 ## in the file PATENTS. All contributing project authors may
8 ## be found in the AUTHORS file in the root of the source tree. 8 ## be found in the AUTHORS file in the root of the source tree.
9 ## 9 ##
10 10
11 11
12 include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8_common.mk
13
14 VP8_CX_EXPORTS += exports_enc 12 VP8_CX_EXPORTS += exports_enc
15 13
16 VP8_CX_SRCS-yes += $(VP8_COMMON_SRCS-yes) 14 VP8_CX_SRCS-yes += $(VP8_COMMON_SRCS-yes)
17 VP8_CX_SRCS-no += $(VP8_COMMON_SRCS-no) 15 VP8_CX_SRCS-no += $(VP8_COMMON_SRCS-no)
18 VP8_CX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes) 16 VP8_CX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes)
19 VP8_CX_SRCS_REMOVE-no += $(VP8_COMMON_SRCS_REMOVE-no) 17 VP8_CX_SRCS_REMOVE-no += $(VP8_COMMON_SRCS_REMOVE-no)
20 18
21 ifeq ($(ARCH_ARM),yes) 19 ifeq ($(ARCH_ARM),yes)
22 include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8cx_arm.mk 20 include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8cx_arm.mk
23 endif 21 endif
24 22
25 VP8_CX_SRCS-yes += vp8cx.mk 23 VP8_CX_SRCS-yes += vp8_cx_iface.c
26 24
27 VP8_CX_SRCS-yes += vp8_cx_iface.c 25 # encoder
26 #INCLUDES += algo/vpx_common/vpx_mem/include
27 #INCLUDES += common
28 #INCLUDES += common
29 #INCLUDES += common
30 #INCLUDES += algo/vpx_ref/cpu_id/include
31 #INCLUDES += common
32 #INCLUDES += encoder
28 33
29 VP8_CX_SRCS-yes += encoder/asm_enc_offsets.c 34 VP8_CX_SRCS-yes += encoder/asm_enc_offsets.c
30 VP8_CX_SRCS-yes += encoder/defaultcoefcounts.h 35 VP8_CX_SRCS-yes += encoder/defaultcoefcounts.h
31 VP8_CX_SRCS-yes += encoder/bitstream.c 36 VP8_CX_SRCS-yes += encoder/bitstream.c
32 VP8_CX_SRCS-yes += encoder/boolhuff.c 37 VP8_CX_SRCS-yes += encoder/boolhuff.c
33 VP8_CX_SRCS-yes += encoder/dct.c 38 VP8_CX_SRCS-yes += encoder/dct.c
34 VP8_CX_SRCS-yes += encoder/encodeframe.c 39 VP8_CX_SRCS-yes += encoder/encodeframe.c
35 VP8_CX_SRCS-yes += encoder/encodeframe.h 40 VP8_CX_SRCS-yes += encoder/encodeframe.h
36 VP8_CX_SRCS-yes += encoder/encodeintra.c 41 VP8_CX_SRCS-yes += encoder/encodeintra.c
37 VP8_CX_SRCS-yes += encoder/encodemb.c 42 VP8_CX_SRCS-yes += encoder/encodemb.c
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/subtract_mmx.asm 95 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/subtract_mmx.asm
91 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp8_enc_stubs_mmx.c 96 VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp8_enc_stubs_mmx.c
92 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/dct_sse2.asm 97 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/dct_sse2.asm
93 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/fwalsh_sse2.asm 98 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/fwalsh_sse2.asm
94 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/quantize_sse2.asm 99 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/quantize_sse2.asm
95 100
96 ifeq ($(CONFIG_TEMPORAL_DENOISING),yes) 101 ifeq ($(CONFIG_TEMPORAL_DENOISING),yes)
97 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/denoising_sse2.c 102 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/denoising_sse2.c
98 ifeq ($(HAVE_SSE2),yes) 103 ifeq ($(HAVE_SSE2),yes)
99 vp8/encoder/x86/denoising_sse2.c.o: CFLAGS += -msse2 104 vp8/encoder/x86/denoising_sse2.c.o: CFLAGS += -msse2
105 vp8/encoder/x86/denoising_sse2.c.d: CFLAGS += -msse2
100 endif 106 endif
101 endif 107 endif
102 108
103 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/subtract_sse2.asm 109 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/subtract_sse2.asm
104 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm 110 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm
105 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp8_enc_stubs_sse2.c 111 VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp8_enc_stubs_sse2.c
106 VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/quantize_ssse3.asm 112 VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/quantize_ssse3.asm
107 VP8_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/quantize_sse4.asm 113 VP8_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/quantize_sse4.asm
108 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_mmx.asm 114 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_mmx.asm
109 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodeopt.asm 115 VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodeopt.asm
110 VP8_CX_SRCS-$(ARCH_X86_64) += encoder/x86/ssim_opt.asm 116 VP8_CX_SRCS-$(ARCH_X86_64) += encoder/x86/ssim_opt.asm
111 117
112 ifeq ($(CONFIG_REALTIME_ONLY),yes) 118 ifeq ($(CONFIG_REALTIME_ONLY),yes)
113 VP8_CX_SRCS_REMOVE-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm 119 VP8_CX_SRCS_REMOVE-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm
114 endif 120 endif
115 121
116 122
117 VP8_CX_SRCS-yes := $(filter-out $(VP8_CX_SRCS_REMOVE-yes),$(VP8_CX_SRCS-yes)) 123 VP8_CX_SRCS-yes := $(filter-out $(VP8_CX_SRCS_REMOVE-yes),$(VP8_CX_SRCS-yes))
124
125 $(eval $(call asm_offsets_template,\
126 vp8_asm_enc_offsets.asm, $(VP8_PREFIX)encoder/asm_enc_offsets.c))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698