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 11VP9_CX_EXPORTS += exports_enc 12 13VP9_CX_SRCS-yes += $(VP9_COMMON_SRCS-yes) 14VP9_CX_SRCS-no += $(VP9_COMMON_SRCS-no) 15VP9_CX_SRCS_REMOVE-yes += $(VP9_COMMON_SRCS_REMOVE-yes) 16VP9_CX_SRCS_REMOVE-no += $(VP9_COMMON_SRCS_REMOVE-no) 17 18VP9_CX_SRCS-yes += vp9_cx_iface.c 19 20VP9_CX_SRCS-yes += encoder/vp9_avg.c 21VP9_CX_SRCS-yes += encoder/vp9_bitstream.c 22VP9_CX_SRCS-yes += encoder/vp9_context_tree.c 23VP9_CX_SRCS-yes += encoder/vp9_context_tree.h 24VP9_CX_SRCS-yes += encoder/vp9_cost.h 25VP9_CX_SRCS-yes += encoder/vp9_cost.c 26VP9_CX_SRCS-yes += encoder/vp9_dct.c 27VP9_CX_SRCS-$(CONFIG_VP9_TEMPORAL_DENOISING) += encoder/vp9_denoiser.c 28VP9_CX_SRCS-$(CONFIG_VP9_TEMPORAL_DENOISING) += encoder/vp9_denoiser.h 29VP9_CX_SRCS-yes += encoder/vp9_encodeframe.c 30VP9_CX_SRCS-yes += encoder/vp9_encodeframe.h 31VP9_CX_SRCS-yes += encoder/vp9_encodemb.c 32VP9_CX_SRCS-yes += encoder/vp9_encodemv.c 33VP9_CX_SRCS-yes += encoder/vp9_ethread.h 34VP9_CX_SRCS-yes += encoder/vp9_ethread.c 35VP9_CX_SRCS-yes += encoder/vp9_extend.c 36VP9_CX_SRCS-yes += encoder/vp9_firstpass.c 37VP9_CX_SRCS-yes += encoder/vp9_block.h 38VP9_CX_SRCS-yes += encoder/vp9_bitstream.h 39VP9_CX_SRCS-yes += encoder/vp9_encodemb.h 40VP9_CX_SRCS-yes += encoder/vp9_encodemv.h 41VP9_CX_SRCS-yes += encoder/vp9_extend.h 42VP9_CX_SRCS-yes += encoder/vp9_firstpass.h 43VP9_CX_SRCS-yes += encoder/vp9_lookahead.c 44VP9_CX_SRCS-yes += encoder/vp9_lookahead.h 45VP9_CX_SRCS-yes += encoder/vp9_mcomp.h 46VP9_CX_SRCS-yes += encoder/vp9_encoder.h 47VP9_CX_SRCS-yes += encoder/vp9_quantize.h 48VP9_CX_SRCS-yes += encoder/vp9_ratectrl.h 49VP9_CX_SRCS-yes += encoder/vp9_rd.h 50VP9_CX_SRCS-yes += encoder/vp9_rdopt.h 51VP9_CX_SRCS-yes += encoder/vp9_pickmode.h 52VP9_CX_SRCS-yes += encoder/vp9_svc_layercontext.h 53VP9_CX_SRCS-yes += encoder/vp9_tokenize.h 54VP9_CX_SRCS-yes += encoder/vp9_treewriter.h 55VP9_CX_SRCS-yes += encoder/vp9_mcomp.c 56VP9_CX_SRCS-yes += encoder/vp9_encoder.c 57VP9_CX_SRCS-yes += encoder/vp9_picklpf.c 58VP9_CX_SRCS-yes += encoder/vp9_picklpf.h 59VP9_CX_SRCS-yes += encoder/vp9_quantize.c 60VP9_CX_SRCS-yes += encoder/vp9_ratectrl.c 61VP9_CX_SRCS-yes += encoder/vp9_rd.c 62VP9_CX_SRCS-yes += encoder/vp9_rdopt.c 63VP9_CX_SRCS-yes += encoder/vp9_pickmode.c 64VP9_CX_SRCS-yes += encoder/vp9_segmentation.c 65VP9_CX_SRCS-yes += encoder/vp9_segmentation.h 66VP9_CX_SRCS-yes += encoder/vp9_speed_features.c 67VP9_CX_SRCS-yes += encoder/vp9_speed_features.h 68VP9_CX_SRCS-yes += encoder/vp9_subexp.c 69VP9_CX_SRCS-yes += encoder/vp9_subexp.h 70VP9_CX_SRCS-yes += encoder/vp9_svc_layercontext.c 71VP9_CX_SRCS-yes += encoder/vp9_resize.c 72VP9_CX_SRCS-yes += encoder/vp9_resize.h 73VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += encoder/vp9_blockiness.c 74 75VP9_CX_SRCS-yes += encoder/vp9_tokenize.c 76VP9_CX_SRCS-yes += encoder/vp9_treewriter.c 77VP9_CX_SRCS-yes += encoder/vp9_aq_variance.c 78VP9_CX_SRCS-yes += encoder/vp9_aq_variance.h 79VP9_CX_SRCS-yes += encoder/vp9_aq_cyclicrefresh.c 80VP9_CX_SRCS-yes += encoder/vp9_aq_cyclicrefresh.h 81VP9_CX_SRCS-yes += encoder/vp9_aq_complexity.c 82VP9_CX_SRCS-yes += encoder/vp9_aq_complexity.h 83VP9_CX_SRCS-yes += encoder/vp9_skin_detection.c 84VP9_CX_SRCS-yes += encoder/vp9_skin_detection.h 85ifeq ($(CONFIG_VP9_POSTPROC),yes) 86VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/vp9_postproc.h 87VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/vp9_postproc.c 88endif 89VP9_CX_SRCS-yes += encoder/vp9_temporal_filter.c 90VP9_CX_SRCS-yes += encoder/vp9_temporal_filter.h 91VP9_CX_SRCS-yes += encoder/vp9_mbgraph.c 92VP9_CX_SRCS-yes += encoder/vp9_mbgraph.h 93 94VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_avg_intrin_sse2.c 95VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_temporal_filter_apply_sse2.asm 96VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_quantize_sse2.c 97ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes) 98VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_highbd_block_error_intrin_sse2.c 99endif 100 101ifeq ($(CONFIG_USE_X86INC),yes) 102VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp9_dct_mmx.asm 103VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_error_sse2.asm 104endif 105 106ifeq ($(ARCH_X86_64),yes) 107ifeq ($(CONFIG_USE_X86INC),yes) 108VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_quantize_ssse3_x86_64.asm 109VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_dct_ssse3_x86_64.asm 110endif 111endif 112 113VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct_sse2.c 114VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_dct_ssse3.c 115 116ifeq ($(CONFIG_VP9_TEMPORAL_DENOISING),yes) 117VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_denoiser_sse2.c 118endif 119 120VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_error_intrin_avx2.c 121 122ifneq ($(CONFIG_VP9_HIGHBITDEPTH),yes) 123VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_dct_neon.c 124VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_error_neon.c 125endif 126VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_avg_neon.c 127VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_quantize_neon.c 128 129VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_avg_msa.c 130VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_error_msa.c 131VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_fdct4x4_msa.c 132VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_fdct8x8_msa.c 133VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_fdct16x16_msa.c 134VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_fdct_msa.h 135VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_temporal_filter_msa.c 136 137VP9_CX_SRCS-yes := $(filter-out $(VP9_CX_SRCS_REMOVE-yes),$(VP9_CX_SRCS-yes)) 138