• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1##
2##  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3##
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.
9##
10
11
12include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8_common.mk
13
14VP8_CX_EXPORTS += exports_enc
15
16VP8_CX_SRCS-yes += $(VP8_COMMON_SRCS-yes)
17VP8_CX_SRCS-no  += $(VP8_COMMON_SRCS-no)
18VP8_CX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes)
19VP8_CX_SRCS_REMOVE-no  += $(VP8_COMMON_SRCS_REMOVE-no)
20
21ifeq ($(ARCH_ARM),yes)
22  include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8cx_arm.mk
23endif
24
25VP8_CX_SRCS-yes += vp8_cx_iface.c
26
27# encoder
28#INCLUDES += algo/vpx_common/vpx_mem/include
29#INCLUDES += common
30#INCLUDES += common
31#INCLUDES += common
32#INCLUDES += algo/vpx_ref/cpu_id/include
33#INCLUDES += common
34#INCLUDES += encoder
35
36CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)encoder
37
38VP8_CX_SRCS-yes += encoder/bitstream.c
39VP8_CX_SRCS-yes += encoder/boolhuff.c
40VP8_CX_SRCS-yes += encoder/dct.c
41VP8_CX_SRCS-yes += encoder/encodeframe.c
42VP8_CX_SRCS-yes += encoder/encodeintra.c
43VP8_CX_SRCS-yes += encoder/encodemb.c
44VP8_CX_SRCS-yes += encoder/encodemv.c
45VP8_CX_SRCS-yes += encoder/ethreading.c
46VP8_CX_SRCS-yes += encoder/firstpass.c
47VP8_CX_SRCS-yes += encoder/generic/csystemdependent.c
48VP8_CX_SRCS-yes += encoder/block.h
49VP8_CX_SRCS-yes += encoder/boolhuff.h
50VP8_CX_SRCS-yes += encoder/bitstream.h
51VP8_CX_SRCS-yes += encoder/dct.h
52VP8_CX_SRCS-yes += encoder/encodeintra.h
53VP8_CX_SRCS-yes += encoder/encodemb.h
54VP8_CX_SRCS-yes += encoder/encodemv.h
55VP8_CX_SRCS-yes += encoder/firstpass.h
56VP8_CX_SRCS-yes += encoder/mcomp.h
57VP8_CX_SRCS-yes += encoder/modecosts.h
58VP8_CX_SRCS-yes += encoder/onyx_int.h
59VP8_CX_SRCS-yes += encoder/pickinter.h
60VP8_CX_SRCS-yes += encoder/psnr.h
61VP8_CX_SRCS-yes += encoder/quantize.h
62VP8_CX_SRCS-yes += encoder/ratectrl.h
63VP8_CX_SRCS-yes += encoder/rdopt.h
64VP8_CX_SRCS-yes += encoder/tokenize.h
65VP8_CX_SRCS-yes += encoder/treewriter.h
66VP8_CX_SRCS-yes += encoder/variance.h
67VP8_CX_SRCS-yes += encoder/mcomp.c
68VP8_CX_SRCS-yes += encoder/modecosts.c
69VP8_CX_SRCS-yes += encoder/onyx_if.c
70VP8_CX_SRCS-yes += encoder/pickinter.c
71VP8_CX_SRCS-yes += encoder/picklpf.c
72VP8_CX_SRCS-yes += encoder/psnr.c
73VP8_CX_SRCS-yes += encoder/quantize.c
74VP8_CX_SRCS-yes += encoder/ratectrl.c
75VP8_CX_SRCS-yes += encoder/rdopt.c
76VP8_CX_SRCS-yes += encoder/sad_c.c
77VP8_CX_SRCS-yes += encoder/segmentation.c
78VP8_CX_SRCS-yes += encoder/segmentation.h
79VP8_CX_SRCS-$(CONFIG_PSNR) += encoder/ssim.c
80VP8_CX_SRCS-yes += encoder/tokenize.c
81VP8_CX_SRCS-yes += encoder/treewriter.c
82VP8_CX_SRCS-yes += encoder/variance_c.c
83VP8_CX_SRCS-$(CONFIG_PSNR) += common/postproc.h
84VP8_CX_SRCS-$(CONFIG_PSNR) += common/postproc.c
85VP8_CX_SRCS-yes += encoder/temporal_filter.c
86VP8_CX_SRCS-yes += encoder/temporal_filter.h
87
88ifeq ($(CONFIG_REALTIME_ONLY),yes)
89VP8_CX_SRCS_REMOVE-yes += encoder/firstpass.c
90endif
91
92VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodemb_x86.h
93VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/dct_x86.h
94VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/mcomp_x86.h
95VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/variance_x86.h
96VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_x86.h
97VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/x86_csystemdependent.c
98VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_mmx.c
99VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_impl_mmx.asm
100VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/sad_mmx.asm
101VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/dct_mmx.asm
102VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/subtract_mmx.asm
103VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/dct_sse2.asm
104VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_sse2.c
105VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_impl_sse2.asm
106VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/sad_sse2.asm
107VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/fwalsh_sse2.asm
108VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/quantize_sse2.asm
109VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/subtract_sse2.asm
110VP8_CX_SRCS-$(HAVE_SSE3) += encoder/x86/sad_sse3.asm
111VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/sad_ssse3.asm
112VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/quantize_ssse3.asm
113VP8_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/sad_sse4.asm
114VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_mmx.asm
115VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodeopt.asm
116
117VP8_CX_SRCS-yes := $(filter-out $(VP8_CX_SRCS_REMOVE-yes),$(VP8_CX_SRCS-yes))
118