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_CX_EXPORTS += exports_enc |
| 15 | |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 16 | VP8_CX_SRCS-yes += $(VP8_COMMON_SRCS-yes) |
| 17 | VP8_CX_SRCS-no += $(VP8_COMMON_SRCS-no) |
| 18 | VP8_CX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes) |
| 19 | VP8_CX_SRCS_REMOVE-no += $(VP8_COMMON_SRCS_REMOVE-no) |
| 20 | |
| 21 | ifeq ($(ARCH_ARM),yes) |
| 22 | include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8cx_arm.mk |
| 23 | endif |
| 24 | |
John Koleszar | b749234 | 2010-05-24 11:39:59 -0400 | [diff] [blame] | 25 | VP8_CX_SRCS-yes += vp8_cx_iface.c |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 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 | |
| 36 | CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)encoder |
| 37 | |
| 38 | VP8_CX_SRCS-yes += encoder/bitstream.c |
| 39 | VP8_CX_SRCS-yes += encoder/boolhuff.c |
| 40 | VP8_CX_SRCS-yes += encoder/dct.c |
| 41 | VP8_CX_SRCS-yes += encoder/encodeframe.c |
| 42 | VP8_CX_SRCS-yes += encoder/encodeintra.c |
| 43 | VP8_CX_SRCS-yes += encoder/encodemb.c |
| 44 | VP8_CX_SRCS-yes += encoder/encodemv.c |
| 45 | VP8_CX_SRCS-yes += encoder/ethreading.c |
| 46 | VP8_CX_SRCS-yes += encoder/firstpass.c |
| 47 | VP8_CX_SRCS-yes += encoder/generic/csystemdependent.c |
| 48 | VP8_CX_SRCS-yes += encoder/block.h |
| 49 | VP8_CX_SRCS-yes += encoder/boolhuff.h |
| 50 | VP8_CX_SRCS-yes += encoder/bitstream.h |
| 51 | VP8_CX_SRCS-yes += encoder/dct.h |
| 52 | VP8_CX_SRCS-yes += encoder/encodeintra.h |
| 53 | VP8_CX_SRCS-yes += encoder/encodemb.h |
| 54 | VP8_CX_SRCS-yes += encoder/encodemv.h |
| 55 | VP8_CX_SRCS-yes += encoder/firstpass.h |
| 56 | VP8_CX_SRCS-yes += encoder/mcomp.h |
| 57 | VP8_CX_SRCS-yes += encoder/modecosts.h |
| 58 | VP8_CX_SRCS-yes += encoder/onyx_int.h |
| 59 | VP8_CX_SRCS-yes += encoder/pickinter.h |
| 60 | VP8_CX_SRCS-yes += encoder/psnr.h |
| 61 | VP8_CX_SRCS-yes += encoder/quantize.h |
| 62 | VP8_CX_SRCS-yes += encoder/ratectrl.h |
| 63 | VP8_CX_SRCS-yes += encoder/rdopt.h |
| 64 | VP8_CX_SRCS-yes += encoder/tokenize.h |
| 65 | VP8_CX_SRCS-yes += encoder/treewriter.h |
| 66 | VP8_CX_SRCS-yes += encoder/variance.h |
| 67 | VP8_CX_SRCS-yes += encoder/mcomp.c |
| 68 | VP8_CX_SRCS-yes += encoder/modecosts.c |
| 69 | VP8_CX_SRCS-yes += encoder/onyx_if.c |
| 70 | VP8_CX_SRCS-yes += encoder/pickinter.c |
| 71 | VP8_CX_SRCS-yes += encoder/picklpf.c |
| 72 | VP8_CX_SRCS-yes += encoder/psnr.c |
| 73 | VP8_CX_SRCS-yes += encoder/quantize.c |
| 74 | VP8_CX_SRCS-yes += encoder/ratectrl.c |
| 75 | VP8_CX_SRCS-yes += encoder/rdopt.c |
| 76 | VP8_CX_SRCS-yes += encoder/sad_c.c |
John Koleszar | 80d3923 | 2010-08-13 14:50:51 -0400 | [diff] [blame] | 77 | VP8_CX_SRCS-yes += encoder/segmentation.c |
| 78 | VP8_CX_SRCS-yes += encoder/segmentation.h |
John Koleszar | 9099fc0 | 2010-06-11 13:05:08 -0400 | [diff] [blame] | 79 | VP8_CX_SRCS-$(CONFIG_PSNR) += encoder/ssim.c |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 80 | VP8_CX_SRCS-yes += encoder/tokenize.c |
| 81 | VP8_CX_SRCS-yes += encoder/treewriter.c |
| 82 | VP8_CX_SRCS-yes += encoder/variance_c.c |
James Zern | 76640f8 | 2010-08-20 16:06:56 -0400 | [diff] [blame] | 83 | VP8_CX_SRCS-$(CONFIG_PSNR) += common/postproc.h |
| 84 | VP8_CX_SRCS-$(CONFIG_PSNR) += common/postproc.c |
Johann | e81e30c | 2010-10-20 16:27:33 -0400 | [diff] [blame] | 85 | VP8_CX_SRCS-yes += encoder/temporal_filter.c |
| 86 | VP8_CX_SRCS-yes += encoder/temporal_filter.h |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 87 | |
| 88 | ifeq ($(CONFIG_REALTIME_ONLY),yes) |
| 89 | VP8_CX_SRCS_REMOVE-yes += encoder/firstpass.c |
| 90 | endif |
| 91 | |
| 92 | VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodemb_x86.h |
| 93 | VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/dct_x86.h |
| 94 | VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/mcomp_x86.h |
| 95 | VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/variance_x86.h |
John Koleszar | 4d86ef3 | 2010-06-22 08:44:48 -0400 | [diff] [blame] | 96 | VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_x86.h |
Johann | 8b0cf5f | 2010-12-22 11:23:51 -0500 | [diff] [blame] | 97 | VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/temporal_filter_x86.h |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 98 | VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/x86_csystemdependent.c |
| 99 | VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_mmx.c |
| 100 | VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_impl_mmx.asm |
| 101 | VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/sad_mmx.asm |
| 102 | VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/dct_mmx.asm |
| 103 | VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/subtract_mmx.asm |
Scott LaVarnway | f1a3b1e | 2010-06-24 13:11:30 -0400 | [diff] [blame] | 104 | VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/dct_sse2.asm |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 105 | VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_sse2.c |
| 106 | VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_impl_sse2.asm |
| 107 | VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/sad_sse2.asm |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 108 | VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/fwalsh_sse2.asm |
Scott LaVarnway | 48c84d1 | 2010-06-14 14:07:56 -0400 | [diff] [blame] | 109 | VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/quantize_sse2.asm |
Yunqing Wang | 4db2076 | 2010-10-18 14:15:15 -0400 | [diff] [blame] | 110 | VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/subtract_sse2.asm |
Johann | 8b0cf5f | 2010-12-22 11:23:51 -0500 | [diff] [blame] | 111 | VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 112 | VP8_CX_SRCS-$(HAVE_SSE3) += encoder/x86/sad_sse3.asm |
| 113 | VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/sad_ssse3.asm |
Scott LaVarnway | ff4a71f | 2010-11-01 16:24:15 -0400 | [diff] [blame] | 114 | VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/quantize_ssse3.asm |
Yunqing Wang | 71ecb5d | 2010-10-27 08:45:24 -0400 | [diff] [blame] | 115 | VP8_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/sad_sse4.asm |
John Koleszar | 0ea50ce | 2010-05-18 11:58:33 -0400 | [diff] [blame] | 116 | VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_mmx.asm |
| 117 | VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodeopt.asm |
| 118 | |
| 119 | VP8_CX_SRCS-yes := $(filter-out $(VP8_CX_SRCS_REMOVE-yes),$(VP8_CX_SRCS-yes)) |