2010-05-18 17:58:33 +02:00
|
|
|
##
|
2010-09-09 14:16:39 +02:00
|
|
|
## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
2010-05-18 17:58:33 +02:00
|
|
|
##
|
2010-06-18 18:39:21 +02:00
|
|
|
## Use of this source code is governed by a BSD-style license
|
2010-06-04 22:19:40 +02:00
|
|
|
## that can be found in the LICENSE file in the root of the source
|
|
|
|
## tree. An additional intellectual property rights grant can be found
|
2010-06-18 18:39:21 +02:00
|
|
|
## in the file PATENTS. All contributing project authors may
|
2010-06-04 22:19:40 +02:00
|
|
|
## be found in the AUTHORS file in the root of the source tree.
|
2010-05-18 17:58:33 +02:00
|
|
|
##
|
|
|
|
|
|
|
|
|
2010-06-03 16:29:04 +02:00
|
|
|
VP8_CX_EXPORTS += exports_enc
|
|
|
|
|
2010-05-18 17:58:33 +02:00
|
|
|
VP8_CX_SRCS-yes += $(VP8_COMMON_SRCS-yes)
|
|
|
|
VP8_CX_SRCS-no += $(VP8_COMMON_SRCS-no)
|
|
|
|
VP8_CX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes)
|
|
|
|
VP8_CX_SRCS_REMOVE-no += $(VP8_COMMON_SRCS_REMOVE-no)
|
|
|
|
|
|
|
|
ifeq ($(ARCH_ARM),yes)
|
|
|
|
include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8cx_arm.mk
|
|
|
|
endif
|
|
|
|
|
2012-11-16 01:41:03 +01:00
|
|
|
VP8_CX_SRCS-yes += vp8cx.mk
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2012-11-16 01:41:03 +01:00
|
|
|
VP8_CX_SRCS-yes += vp8_cx_iface.c
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2011-08-16 22:21:21 +02:00
|
|
|
VP8_CX_SRCS-yes += encoder/defaultcoefcounts.h
|
2010-05-18 17:58:33 +02:00
|
|
|
VP8_CX_SRCS-yes += encoder/bitstream.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/boolhuff.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/dct.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/encodeframe.c
|
2012-05-04 18:46:57 +02:00
|
|
|
VP8_CX_SRCS-yes += encoder/encodeframe.h
|
2010-05-18 17:58:33 +02:00
|
|
|
VP8_CX_SRCS-yes += encoder/encodeintra.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/encodemb.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/encodemv.c
|
2011-02-05 06:29:25 +01:00
|
|
|
VP8_CX_SRCS-$(CONFIG_MULTITHREAD) += encoder/ethreading.c
|
2010-05-18 17:58:33 +02:00
|
|
|
VP8_CX_SRCS-yes += encoder/firstpass.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/block.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/boolhuff.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/bitstream.h
|
2012-03-06 10:48:18 +01:00
|
|
|
VP8_CX_SRCS-$(CONFIG_TEMPORAL_DENOISING) += encoder/denoising.h
|
|
|
|
VP8_CX_SRCS-$(CONFIG_TEMPORAL_DENOISING) += encoder/denoising.c
|
2010-05-18 17:58:33 +02:00
|
|
|
VP8_CX_SRCS-yes += encoder/encodeintra.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/encodemb.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/encodemv.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/firstpass.h
|
2011-04-13 20:00:18 +02:00
|
|
|
VP8_CX_SRCS-yes += encoder/lookahead.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/lookahead.h
|
2010-05-18 17:58:33 +02:00
|
|
|
VP8_CX_SRCS-yes += encoder/mcomp.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/modecosts.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/onyx_int.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/pickinter.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/psnr.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/quantize.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/ratectrl.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/rdopt.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/tokenize.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/treewriter.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/mcomp.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/modecosts.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/onyx_if.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/pickinter.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/picklpf.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/psnr.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/quantize.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/ratectrl.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/rdopt.c
|
2010-08-13 20:50:51 +02:00
|
|
|
VP8_CX_SRCS-yes += encoder/segmentation.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/segmentation.h
|
2011-04-29 18:37:59 +02:00
|
|
|
VP8_CX_SRCS-$(CONFIG_INTERNAL_STATS) += encoder/ssim.c
|
2010-05-18 17:58:33 +02:00
|
|
|
VP8_CX_SRCS-yes += encoder/tokenize.c
|
2012-04-16 13:47:40 +02:00
|
|
|
VP8_CX_SRCS-yes += encoder/dct_value_cost.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/dct_value_tokens.h
|
2010-05-18 17:58:33 +02:00
|
|
|
VP8_CX_SRCS-yes += encoder/treewriter.c
|
2011-04-29 18:37:59 +02:00
|
|
|
VP8_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/postproc.h
|
|
|
|
VP8_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/postproc.c
|
2010-10-20 22:27:33 +02:00
|
|
|
VP8_CX_SRCS-yes += encoder/temporal_filter.c
|
2011-10-25 21:14:16 +02:00
|
|
|
VP8_CX_SRCS-$(CONFIG_MULTI_RES_ENCODING) += encoder/mr_dissim.c
|
|
|
|
VP8_CX_SRCS-$(CONFIG_MULTI_RES_ENCODING) += encoder/mr_dissim.h
|
2013-03-02 22:42:41 +01:00
|
|
|
VP8_CX_SRCS-yes += encoder/vp8_asm_enc_offsets.c
|
2010-05-18 17:58:33 +02:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_REALTIME_ONLY),yes)
|
|
|
|
VP8_CX_SRCS_REMOVE-yes += encoder/firstpass.c
|
2011-02-22 09:29:23 +01:00
|
|
|
VP8_CX_SRCS_REMOVE-yes += encoder/temporal_filter.c
|
2010-05-18 17:58:33 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/dct_mmx.asm
|
|
|
|
VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/subtract_mmx.asm
|
2012-01-13 01:55:44 +01:00
|
|
|
VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp8_enc_stubs_mmx.c
|
2010-06-24 19:11:30 +02:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/dct_sse2.asm
|
2010-05-18 17:58:33 +02:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/fwalsh_sse2.asm
|
2013-04-24 18:08:56 +02:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/quantize_sse2.c
|
2012-05-21 16:54:20 +02:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_TEMPORAL_DENOISING),yes)
|
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/denoising_sse2.c
|
|
|
|
endif
|
|
|
|
|
2010-10-18 20:15:15 +02:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/subtract_sse2.asm
|
2010-12-22 17:23:51 +01:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm
|
2012-01-13 01:55:44 +01:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp8_enc_stubs_sse2.c
|
2010-11-01 21:24:15 +01:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/quantize_ssse3.asm
|
2011-04-13 22:38:02 +02:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/quantize_sse4.asm
|
2010-05-18 17:58:33 +02:00
|
|
|
VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_mmx.asm
|
|
|
|
VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodeopt.asm
|
2011-03-11 17:27:08 +01:00
|
|
|
VP8_CX_SRCS-$(ARCH_X86_64) += encoder/x86/ssim_opt.asm
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2011-02-22 09:29:23 +01:00
|
|
|
ifeq ($(CONFIG_REALTIME_ONLY),yes)
|
|
|
|
VP8_CX_SRCS_REMOVE-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm
|
|
|
|
endif
|
|
|
|
|
2010-05-18 17:58:33 +02:00
|
|
|
VP8_CX_SRCS-yes := $(filter-out $(VP8_CX_SRCS_REMOVE-yes),$(VP8_CX_SRCS-yes))
|
2012-11-07 01:59:01 +01:00
|
|
|
|
|
|
|
$(eval $(call asm_offsets_template,\
|
2013-03-02 22:42:41 +01:00
|
|
|
vp8_asm_enc_offsets.asm, $(VP8_PREFIX)encoder/vp8_asm_enc_offsets.c))
|