2010-05-18 19:58:33 +04:00
|
|
|
##
|
2010-09-09 16:16:39 +04:00
|
|
|
## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
2010-05-18 19:58:33 +04:00
|
|
|
##
|
2010-06-18 20:39:21 +04:00
|
|
|
## Use of this source code is governed by a BSD-style license
|
2010-06-05 00:19:40 +04: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 20:39:21 +04:00
|
|
|
## in the file PATENTS. All contributing project authors may
|
2010-06-05 00:19:40 +04:00
|
|
|
## be found in the AUTHORS file in the root of the source tree.
|
2010-05-18 19:58:33 +04:00
|
|
|
##
|
|
|
|
|
|
|
|
|
|
|
|
include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8_common.mk
|
2010-06-03 18:29:04 +04:00
|
|
|
|
|
|
|
VP8_CX_EXPORTS += exports_enc
|
|
|
|
|
2010-05-18 19:58:33 +04: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
|
|
|
|
|
2010-05-24 19:39:59 +04:00
|
|
|
VP8_CX_SRCS-yes += vp8_cx_iface.c
|
2010-05-18 19:58:33 +04:00
|
|
|
|
|
|
|
# encoder
|
|
|
|
#INCLUDES += algo/vpx_common/vpx_mem/include
|
|
|
|
#INCLUDES += common
|
|
|
|
#INCLUDES += common
|
|
|
|
#INCLUDES += common
|
|
|
|
#INCLUDES += algo/vpx_ref/cpu_id/include
|
|
|
|
#INCLUDES += common
|
|
|
|
#INCLUDES += encoder
|
|
|
|
|
|
|
|
CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)encoder
|
|
|
|
|
|
|
|
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
|
|
|
|
VP8_CX_SRCS-yes += encoder/encodeintra.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/encodemb.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/encodemv.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/ethreading.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/firstpass.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/generic/csystemdependent.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/block.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/boolhuff.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/bitstream.h
|
|
|
|
VP8_CX_SRCS-yes += encoder/dct.h
|
|
|
|
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
|
|
|
|
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/variance.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
|
|
|
|
VP8_CX_SRCS-yes += encoder/sad_c.c
|
2010-08-13 22:50:51 +04:00
|
|
|
VP8_CX_SRCS-yes += encoder/segmentation.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/segmentation.h
|
2010-06-11 21:05:08 +04:00
|
|
|
VP8_CX_SRCS-$(CONFIG_PSNR) += encoder/ssim.c
|
2010-05-18 19:58:33 +04:00
|
|
|
VP8_CX_SRCS-yes += encoder/tokenize.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/treewriter.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/variance_c.c
|
2010-08-21 00:06:56 +04:00
|
|
|
VP8_CX_SRCS-$(CONFIG_PSNR) += common/postproc.h
|
|
|
|
VP8_CX_SRCS-$(CONFIG_PSNR) += common/postproc.c
|
2010-10-21 00:27:33 +04:00
|
|
|
VP8_CX_SRCS-yes += encoder/temporal_filter.c
|
|
|
|
VP8_CX_SRCS-yes += encoder/temporal_filter.h
|
2010-05-18 19:58:33 +04:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_REALTIME_ONLY),yes)
|
|
|
|
VP8_CX_SRCS_REMOVE-yes += encoder/firstpass.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodemb_x86.h
|
|
|
|
VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/dct_x86.h
|
|
|
|
VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/mcomp_x86.h
|
|
|
|
VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/variance_x86.h
|
2010-06-22 16:44:48 +04:00
|
|
|
VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_x86.h
|
2010-05-18 19:58:33 +04:00
|
|
|
VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/x86_csystemdependent.c
|
|
|
|
VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_mmx.c
|
|
|
|
VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_impl_mmx.asm
|
|
|
|
VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/sad_mmx.asm
|
|
|
|
VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/dct_mmx.asm
|
|
|
|
VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/subtract_mmx.asm
|
2010-06-24 21:11:30 +04:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/dct_sse2.asm
|
2010-05-18 19:58:33 +04:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_sse2.c
|
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_impl_sse2.asm
|
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/sad_sse2.asm
|
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/fwalsh_sse2.asm
|
2010-06-14 22:07:56 +04:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/quantize_sse2.asm
|
2010-10-18 22:15:15 +04:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/subtract_sse2.asm
|
2010-05-18 19:58:33 +04:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSE3) += encoder/x86/sad_sse3.asm
|
|
|
|
VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/sad_ssse3.asm
|
2010-10-27 16:45:24 +04:00
|
|
|
VP8_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/sad_sse4.asm
|
2010-05-18 19:58:33 +04: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
|
|
|
|
|
|
|
|
VP8_CX_SRCS-yes := $(filter-out $(VP8_CX_SRCS_REMOVE-yes),$(VP8_CX_SRCS-yes))
|