2015-04-17 22:11:38 +02:00
|
|
|
##
|
|
|
|
## Copyright (c) 2015 The WebM project authors. All Rights Reserved.
|
|
|
|
##
|
|
|
|
## Use of this source code is governed by a BSD-style license
|
|
|
|
## that can be found in the LICENSE file in the root of the source
|
|
|
|
## tree. An additional intellectual property rights grant can be found
|
|
|
|
## in the file PATENTS. All contributing project authors may
|
|
|
|
## be found in the AUTHORS file in the root of the source tree.
|
|
|
|
##
|
|
|
|
|
|
|
|
DSP_SRCS-yes += vpx_dsp.mk
|
2015-07-15 22:02:01 +02:00
|
|
|
DSP_SRCS-yes += vpx_dsp_common.h
|
2015-04-17 22:11:38 +02:00
|
|
|
|
2015-06-05 18:54:19 +02:00
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/macros_msa.h
|
|
|
|
|
2017-02-16 20:12:31 +01:00
|
|
|
DSP_SRCS-$(HAVE_AVX2) += x86/bitdepth_conversion_avx2.h
|
2017-02-02 23:17:26 +01:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/bitdepth_conversion_sse2.h
|
|
|
|
# This file is included in libs.mk. Including it here would cause it to be
|
|
|
|
# compiled into an object. Even as an empty file, this would create an
|
|
|
|
# executable section on the stack.
|
|
|
|
#DSP_SRCS-$(HAVE_SSE2) += x86/bitdepth_conversion_sse2$(ASM)
|
|
|
|
|
2015-07-17 22:38:54 +02:00
|
|
|
# bit reader
|
2015-07-17 23:09:05 +02:00
|
|
|
DSP_SRCS-yes += prob.h
|
|
|
|
DSP_SRCS-yes += prob.c
|
2015-07-17 22:38:54 +02:00
|
|
|
|
2015-07-20 20:05:04 +02:00
|
|
|
ifeq ($(CONFIG_ENCODERS),yes)
|
2015-07-20 20:18:57 +02:00
|
|
|
DSP_SRCS-yes += bitwriter.h
|
|
|
|
DSP_SRCS-yes += bitwriter.c
|
|
|
|
DSP_SRCS-yes += bitwriter_buffer.c
|
|
|
|
DSP_SRCS-yes += bitwriter_buffer.h
|
2016-06-24 21:44:23 +02:00
|
|
|
DSP_SRCS-yes += psnr.c
|
|
|
|
DSP_SRCS-yes += psnr.h
|
2015-08-06 21:53:59 +02:00
|
|
|
DSP_SRCS-$(CONFIG_INTERNAL_STATS) += ssim.c
|
|
|
|
DSP_SRCS-$(CONFIG_INTERNAL_STATS) += ssim.h
|
|
|
|
DSP_SRCS-$(CONFIG_INTERNAL_STATS) += psnrhvs.c
|
|
|
|
DSP_SRCS-$(CONFIG_INTERNAL_STATS) += fastssim.c
|
2015-07-20 20:05:04 +02:00
|
|
|
endif
|
|
|
|
|
2015-07-17 22:38:54 +02:00
|
|
|
ifeq ($(CONFIG_DECODERS),yes)
|
2015-07-17 23:09:05 +02:00
|
|
|
DSP_SRCS-yes += bitreader.h
|
|
|
|
DSP_SRCS-yes += bitreader.c
|
|
|
|
DSP_SRCS-yes += bitreader_buffer.c
|
|
|
|
DSP_SRCS-yes += bitreader_buffer.h
|
2015-07-17 22:38:54 +02:00
|
|
|
endif
|
|
|
|
|
2015-07-20 00:02:56 +02:00
|
|
|
# intra predictions
|
|
|
|
DSP_SRCS-yes += intrapred.c
|
|
|
|
|
2015-08-11 02:42:09 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE) += x86/intrapred_sse2.asm
|
2015-07-20 00:02:56 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/intrapred_sse2.asm
|
|
|
|
DSP_SRCS-$(HAVE_SSSE3) += x86/intrapred_ssse3.asm
|
2017-04-07 15:50:12 +02:00
|
|
|
DSP_SRCS-$(HAVE_VSX) += ppc/intrapred_vsx.c
|
2015-07-20 00:02:56 +02:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
|
2015-08-11 02:42:09 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE) += x86/highbd_intrapred_sse2.asm
|
2015-07-20 00:02:56 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_intrapred_sse2.asm
|
2017-08-28 16:26:08 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_intrapred_intrin_sse2.c
|
2017-09-06 19:08:03 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSSE3) += x86/highbd_intrapred_intrin_ssse3.c
|
2016-10-25 23:48:32 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_intrapred_neon.c
|
2015-07-30 04:43:29 +02:00
|
|
|
endif # CONFIG_VP9_HIGHBITDEPTH
|
2015-07-20 00:02:56 +02:00
|
|
|
|
2016-05-02 21:17:39 +02:00
|
|
|
ifneq ($(filter yes,$(CONFIG_POSTPROC) $(CONFIG_VP9_POSTPROC)),)
|
2016-05-10 15:52:58 +02:00
|
|
|
DSP_SRCS-yes += add_noise.c
|
2016-07-08 19:06:54 +02:00
|
|
|
DSP_SRCS-yes += deblock.c
|
2016-07-13 16:35:25 +02:00
|
|
|
DSP_SRCS-yes += postproc.h
|
2016-05-10 15:52:58 +02:00
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/add_noise_msa.c
|
2016-07-08 19:06:54 +02:00
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/deblock_msa.c
|
2016-12-13 01:47:05 +01:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/deblock_neon.c
|
2016-05-10 15:52:58 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/add_noise_sse2.asm
|
2016-07-08 19:06:54 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/deblock_sse2.asm
|
2016-05-02 21:17:39 +02:00
|
|
|
endif # CONFIG_POSTPROC
|
|
|
|
|
2015-07-20 00:02:56 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON_ASM) += arm/intrapred_neon_asm$(ASM)
|
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/intrapred_neon.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/intrapred_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/intrapred4_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/intrapred8_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/intrapred16_dspr2.c
|
|
|
|
|
2015-08-03 19:17:45 +02:00
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/common_dspr2.h
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/common_dspr2.c
|
|
|
|
|
2015-07-22 19:40:42 +02:00
|
|
|
# interpolation filters
|
|
|
|
DSP_SRCS-yes += vpx_convolve.c
|
|
|
|
DSP_SRCS-yes += vpx_convolve.h
|
|
|
|
DSP_SRCS-yes += vpx_filter.h
|
|
|
|
|
|
|
|
DSP_SRCS-$(ARCH_X86)$(ARCH_X86_64) += x86/convolve.h
|
|
|
|
DSP_SRCS-$(ARCH_X86)$(ARCH_X86_64) += x86/vpx_asm_stubs.c
|
2017-10-02 23:29:06 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSSE3) += x86/convolve_ssse3.h
|
2017-10-14 22:26:35 +02:00
|
|
|
DSP_SRCS-$(HAVE_AVX2) += x86/convolve_avx2.h
|
2015-07-22 19:40:42 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/vpx_subpixel_8t_sse2.asm
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/vpx_subpixel_bilinear_sse2.asm
|
|
|
|
DSP_SRCS-$(HAVE_SSSE3) += x86/vpx_subpixel_8t_ssse3.asm
|
|
|
|
DSP_SRCS-$(HAVE_SSSE3) += x86/vpx_subpixel_bilinear_ssse3.asm
|
|
|
|
DSP_SRCS-$(HAVE_AVX2) += x86/vpx_subpixel_8t_intrin_avx2.c
|
|
|
|
DSP_SRCS-$(HAVE_SSSE3) += x86/vpx_subpixel_8t_intrin_ssse3.c
|
|
|
|
ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/vpx_high_subpixel_8t_sse2.asm
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/vpx_high_subpixel_bilinear_sse2.asm
|
2017-03-29 00:30:07 +02:00
|
|
|
DSP_SRCS-$(HAVE_AVX2) += x86/highbd_convolve_avx2.c
|
2016-10-13 01:32:37 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_vpx_convolve_copy_neon.c
|
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_vpx_convolve_avg_neon.c
|
2016-10-13 02:20:53 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_vpx_convolve8_neon.c
|
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_vpx_convolve_neon.c
|
2015-07-22 19:40:42 +02:00
|
|
|
endif
|
2016-06-30 03:15:49 +02:00
|
|
|
|
2015-07-22 19:40:42 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/vpx_convolve_copy_sse2.asm
|
2017-09-20 01:55:35 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/vpx_scaled_convolve8_neon.c
|
2015-07-22 19:40:42 +02:00
|
|
|
|
|
|
|
ifeq ($(HAVE_NEON_ASM),yes)
|
|
|
|
DSP_SRCS-yes += arm/vpx_convolve_copy_neon_asm$(ASM)
|
|
|
|
DSP_SRCS-yes += arm/vpx_convolve8_avg_neon_asm$(ASM)
|
|
|
|
DSP_SRCS-yes += arm/vpx_convolve8_neon_asm$(ASM)
|
|
|
|
DSP_SRCS-yes += arm/vpx_convolve_avg_neon_asm$(ASM)
|
|
|
|
DSP_SRCS-yes += arm/vpx_convolve_neon.c
|
|
|
|
else
|
|
|
|
ifeq ($(HAVE_NEON),yes)
|
|
|
|
DSP_SRCS-yes += arm/vpx_convolve_copy_neon.c
|
|
|
|
DSP_SRCS-yes += arm/vpx_convolve8_neon.c
|
|
|
|
DSP_SRCS-yes += arm/vpx_convolve_avg_neon.c
|
|
|
|
DSP_SRCS-yes += arm/vpx_convolve_neon.c
|
|
|
|
endif # HAVE_NEON
|
|
|
|
endif # HAVE_NEON_ASM
|
|
|
|
|
|
|
|
# common (msa)
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_avg_horiz_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_avg_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_avg_vert_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_horiz_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_vert_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve_avg_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve_copy_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve_msa.h
|
2018-01-25 02:38:28 +01:00
|
|
|
DSP_SRCS-$(HAVE_MMI) += mips/vpx_convolve8_mmi.c
|
2015-07-22 19:40:42 +02:00
|
|
|
|
2015-07-28 19:52:24 +02:00
|
|
|
# common (dspr2)
|
2015-08-03 18:54:13 +02:00
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/convolve_common_dspr2.h
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/convolve2_avg_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/convolve2_avg_horiz_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/convolve2_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/convolve2_horiz_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/convolve2_vert_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/convolve8_avg_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/convolve8_avg_horiz_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/convolve8_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/convolve8_horiz_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/convolve8_vert_dspr2.c
|
2015-07-28 19:52:24 +02:00
|
|
|
|
2017-04-26 17:43:19 +02:00
|
|
|
DSP_SRCS-$(HAVE_VSX) += ppc/vpx_convolve_vsx.c
|
|
|
|
|
2015-07-16 04:14:54 +02:00
|
|
|
# loop filters
|
|
|
|
DSP_SRCS-yes += loopfilter.c
|
|
|
|
|
|
|
|
DSP_SRCS-$(ARCH_X86)$(ARCH_X86_64) += x86/loopfilter_sse2.c
|
|
|
|
DSP_SRCS-$(HAVE_AVX2) += x86/loopfilter_avx2.c
|
|
|
|
|
|
|
|
ifeq ($(HAVE_NEON_ASM),yes)
|
2016-09-30 18:56:28 +02:00
|
|
|
DSP_SRCS-yes += arm/loopfilter_16_neon$(ASM)
|
2015-07-16 04:14:54 +02:00
|
|
|
DSP_SRCS-yes += arm/loopfilter_8_neon$(ASM)
|
|
|
|
DSP_SRCS-yes += arm/loopfilter_4_neon$(ASM)
|
|
|
|
else
|
2016-10-07 02:01:30 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/loopfilter_neon.c
|
2015-07-16 04:14:54 +02:00
|
|
|
endif # HAVE_NEON_ASM
|
|
|
|
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/loopfilter_msa.h
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/loopfilter_16_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/loopfilter_8_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/loopfilter_4_msa.c
|
2015-08-18 01:14:24 +02:00
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_filters_dspr2.h
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_filters_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_macros_dspr2.h
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_masks_dspr2.h
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_mb_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_mb_horiz_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_mb_vert_dspr2.c
|
2015-07-16 04:14:54 +02:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
|
2016-10-05 19:15:07 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_loopfilter_neon.c
|
2015-07-16 04:14:54 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_loopfilter_sse2.c
|
|
|
|
endif # CONFIG_VP9_HIGHBITDEPTH
|
|
|
|
|
2015-07-24 01:35:44 +02:00
|
|
|
DSP_SRCS-yes += txfm_common.h
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/txfm_common_sse2.h
|
2015-07-22 20:53:21 +02:00
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/txfm_macros_msa.h
|
2015-07-21 20:56:36 +02:00
|
|
|
# forward transform
|
2016-06-18 00:22:11 +02:00
|
|
|
ifeq ($(CONFIG_VP9_ENCODER),yes)
|
2015-07-21 20:56:36 +02:00
|
|
|
DSP_SRCS-yes += fwd_txfm.c
|
|
|
|
DSP_SRCS-yes += fwd_txfm.h
|
2015-07-27 23:56:43 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/fwd_txfm_sse2.h
|
2015-07-21 20:56:36 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/fwd_txfm_sse2.c
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/fwd_txfm_impl_sse2.h
|
2015-07-28 01:05:15 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/fwd_dct32x32_impl_sse2.h
|
2015-07-23 20:03:55 +02:00
|
|
|
ifeq ($(ARCH_X86_64),yes)
|
|
|
|
DSP_SRCS-$(HAVE_SSSE3) += x86/fwd_txfm_ssse3_x86_64.asm
|
|
|
|
endif
|
2015-07-28 01:05:15 +02:00
|
|
|
DSP_SRCS-$(HAVE_AVX2) += x86/fwd_txfm_avx2.c
|
|
|
|
DSP_SRCS-$(HAVE_AVX2) += x86/fwd_dct32x32_impl_avx2.h
|
2017-05-12 20:05:03 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/fdct_neon.c
|
2017-05-25 19:02:34 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/fdct16x16_neon.c
|
2017-06-16 22:14:01 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/fdct32x32_neon.c
|
2017-06-23 03:01:23 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/fdct_partial_neon.c
|
2015-07-21 20:56:36 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/fwd_txfm_neon.c
|
2015-07-22 20:53:21 +02:00
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/fwd_txfm_msa.h
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/fwd_txfm_msa.c
|
2015-07-28 01:05:15 +02:00
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/fwd_dct32x32_msa.c
|
2016-06-18 00:22:11 +02:00
|
|
|
endif # CONFIG_VP9_ENCODER
|
2015-07-21 20:56:36 +02:00
|
|
|
|
2015-07-31 03:53:18 +02:00
|
|
|
# inverse transform
|
2016-06-18 00:22:11 +02:00
|
|
|
ifeq ($(CONFIG_VP9),yes)
|
2015-07-31 03:53:18 +02:00
|
|
|
DSP_SRCS-yes += inv_txfm.h
|
|
|
|
DSP_SRCS-yes += inv_txfm.c
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/inv_txfm_sse2.h
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/inv_txfm_sse2.c
|
2015-08-19 18:14:21 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/inv_wht_sse2.asm
|
2017-06-28 23:36:23 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSSE3) += x86/inv_txfm_ssse3.h
|
2017-02-01 21:19:01 +01:00
|
|
|
DSP_SRCS-$(HAVE_SSSE3) += x86/inv_txfm_ssse3.c
|
2015-07-31 03:53:18 +02:00
|
|
|
|
2016-09-30 09:43:49 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON_ASM) += arm/save_reg_neon$(ASM)
|
|
|
|
|
2017-06-10 16:44:46 +02:00
|
|
|
DSP_SRCS-$(HAVE_VSX) += ppc/inv_txfm_vsx.c
|
|
|
|
|
2016-09-30 09:43:49 +02:00
|
|
|
ifneq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
|
2015-07-31 20:15:55 +02:00
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/inv_txfm_msa.h
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/idct4x4_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/idct8x8_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/idct16x16_msa.c
|
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/idct32x32_msa.c
|
2015-08-03 19:50:32 +02:00
|
|
|
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/inv_txfm_dspr2.h
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/itrans4_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/itrans8_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/itrans16_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/itrans32_dspr2.c
|
|
|
|
DSP_SRCS-$(HAVE_DSPR2) += mips/itrans32_cols_dspr2.c
|
2016-11-09 00:20:18 +01:00
|
|
|
else # CONFIG_VP9_HIGHBITDEPTH
|
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_idct4x4_add_neon.c
|
2016-12-28 01:28:53 +01:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_idct8x8_add_neon.c
|
2017-01-13 19:01:51 +01:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_idct16x16_add_neon.c
|
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_idct32x32_add_neon.c
|
2017-03-14 22:07:25 +01:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_idct32x32_34_add_neon.c
|
2017-03-14 18:16:35 +01:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_idct32x32_135_add_neon.c
|
2017-03-15 19:31:35 +01:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_idct32x32_1024_add_neon.c
|
2018-01-31 01:01:41 +01:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/highbd_idct_neon.h
|
2017-05-04 00:43:02 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_inv_txfm_sse2.h
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_idct4x4_add_sse2.c
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_idct8x8_add_sse2.c
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_idct16x16_add_sse2.c
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_idct32x32_add_sse2.c
|
2017-06-29 01:17:39 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE4_1) += x86/highbd_inv_txfm_sse4.h
|
2017-06-23 23:27:18 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE4_1) += x86/highbd_idct4x4_add_sse4.c
|
2017-06-30 01:30:32 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE4_1) += x86/highbd_idct8x8_add_sse4.c
|
2017-08-03 02:48:40 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE4_1) += x86/highbd_idct16x16_add_sse4.c
|
2017-08-15 02:05:22 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE4_1) += x86/highbd_idct32x32_add_sse4.c
|
2016-10-01 20:59:31 +02:00
|
|
|
endif # !CONFIG_VP9_HIGHBITDEPTH
|
|
|
|
|
|
|
|
ifeq ($(HAVE_NEON_ASM),yes)
|
2016-10-18 21:30:43 +02:00
|
|
|
DSP_SRCS-yes += arm/idct_neon$(ASM)
|
2016-10-01 20:59:31 +02:00
|
|
|
DSP_SRCS-yes += arm/idct4x4_1_add_neon$(ASM)
|
2016-10-18 21:30:43 +02:00
|
|
|
DSP_SRCS-yes += arm/idct4x4_add_neon$(ASM)
|
2016-10-01 20:59:31 +02:00
|
|
|
else
|
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/idct4x4_1_add_neon.c
|
2016-10-18 21:30:43 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/idct4x4_add_neon.c
|
2017-01-19 19:07:12 +01:00
|
|
|
endif # HAVE_NEON_ASM
|
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/idct_neon.h
|
2016-10-01 20:59:31 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/idct8x8_1_add_neon.c
|
2016-10-18 21:30:43 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/idct8x8_add_neon.c
|
2016-10-01 20:59:31 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/idct16x16_1_add_neon.c
|
2016-11-24 05:48:00 +01:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/idct16x16_add_neon.c
|
2016-10-20 06:04:12 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/idct32x32_1_add_neon.c
|
2016-11-08 05:22:22 +01:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/idct32x32_34_add_neon.c
|
2016-11-23 02:47:38 +01:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/idct32x32_135_add_neon.c
|
2016-12-07 05:52:34 +01:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/idct32x32_add_neon.c
|
2016-10-01 20:59:31 +02:00
|
|
|
|
2016-06-18 00:22:11 +02:00
|
|
|
endif # CONFIG_VP9
|
2015-07-31 03:53:18 +02:00
|
|
|
|
2015-07-21 20:56:36 +02:00
|
|
|
# quantization
|
2016-06-18 00:22:11 +02:00
|
|
|
ifeq ($(CONFIG_VP9_ENCODER),yes)
|
2015-07-17 21:05:42 +02:00
|
|
|
DSP_SRCS-yes += quantize.c
|
|
|
|
DSP_SRCS-yes += quantize.h
|
|
|
|
|
2017-08-24 00:27:25 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/quantize_x86.h
|
2015-07-17 21:05:42 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/quantize_sse2.c
|
2017-08-03 19:22:07 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSSE3) += x86/quantize_ssse3.c
|
2017-08-23 00:43:35 +02:00
|
|
|
DSP_SRCS-$(HAVE_AVX) += x86/quantize_avx.c
|
2017-07-27 22:25:38 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/quantize_neon.c
|
2015-07-17 21:05:42 +02:00
|
|
|
ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_quantize_intrin_sse2.c
|
|
|
|
endif
|
2015-12-11 21:40:53 +01:00
|
|
|
|
|
|
|
# avg
|
|
|
|
DSP_SRCS-yes += avg.c
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/avg_intrin_sse2.c
|
2017-10-19 02:12:57 +02:00
|
|
|
DSP_SRCS-$(HAVE_AVX2) += x86/avg_intrin_avx2.c
|
2015-12-11 21:40:53 +01:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/avg_neon.c
|
2016-05-11 22:26:19 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/hadamard_neon.c
|
2016-10-20 02:21:09 +02:00
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/avg_msa.c
|
2015-12-11 21:40:53 +01:00
|
|
|
ifeq ($(ARCH_X86_64),yes)
|
|
|
|
DSP_SRCS-$(HAVE_SSSE3) += x86/avg_ssse3_x86_64.asm
|
|
|
|
endif
|
2016-10-20 02:21:09 +02:00
|
|
|
DSP_SRCS-$(HAVE_VSX) += ppc/hadamard_vsx.c
|
2015-12-11 21:40:53 +01:00
|
|
|
|
2016-06-18 00:22:11 +02:00
|
|
|
endif # CONFIG_VP9_ENCODER
|
2015-07-17 21:05:42 +02:00
|
|
|
|
2017-06-05 20:09:05 +02:00
|
|
|
# skin detection
|
|
|
|
DSP_SRCS-yes += skin_detection.h
|
|
|
|
DSP_SRCS-yes += skin_detection.c
|
|
|
|
|
2015-04-17 22:11:38 +02:00
|
|
|
ifeq ($(CONFIG_ENCODERS),yes)
|
|
|
|
DSP_SRCS-yes += sad.c
|
2015-07-06 18:33:27 +02:00
|
|
|
DSP_SRCS-yes += subtract.c
|
2016-07-02 01:02:41 +02:00
|
|
|
DSP_SRCS-yes += sum_squares.c
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/sum_squares_sse2.c
|
2017-01-31 13:07:10 +01:00
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/sum_squares_msa.c
|
2015-04-17 22:11:38 +02:00
|
|
|
|
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/sad4d_neon.c
|
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/sad_neon.c
|
2015-07-06 18:33:27 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/subtract_neon.c
|
2015-04-17 22:11:38 +02:00
|
|
|
|
2015-06-30 01:44:30 +02:00
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/sad_msa.c
|
2015-07-06 18:33:27 +02:00
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/subtract_msa.c
|
2015-05-15 20:52:03 +02:00
|
|
|
|
2017-09-02 09:46:38 +02:00
|
|
|
DSP_SRCS-$(HAVE_MMI) += mips/sad_mmi.c
|
2017-08-02 08:17:09 +02:00
|
|
|
DSP_SRCS-$(HAVE_MMI) += mips/subtract_mmi.c
|
|
|
|
|
2015-04-17 22:11:38 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE3) += x86/sad_sse3.asm
|
|
|
|
DSP_SRCS-$(HAVE_SSSE3) += x86/sad_ssse3.asm
|
|
|
|
DSP_SRCS-$(HAVE_SSE4_1) += x86/sad_sse4.asm
|
|
|
|
DSP_SRCS-$(HAVE_AVX2) += x86/sad4d_avx2.c
|
|
|
|
DSP_SRCS-$(HAVE_AVX2) += x86/sad_avx2.c
|
2017-10-31 16:19:19 +01:00
|
|
|
DSP_SRCS-$(HAVE_AVX512) += x86/sad4d_avx512.c
|
2015-04-17 22:11:38 +02:00
|
|
|
|
2015-08-11 02:42:09 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE) += x86/sad4d_sse2.asm
|
|
|
|
DSP_SRCS-$(HAVE_SSE) += x86/sad_sse2.asm
|
2015-06-30 01:44:30 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/sad4d_sse2.asm
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/sad_sse2.asm
|
2015-07-06 18:33:27 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/subtract_sse2.asm
|
2015-06-26 10:32:16 +02:00
|
|
|
|
2017-05-06 15:21:19 +02:00
|
|
|
DSP_SRCS-$(HAVE_VSX) += ppc/sad_vsx.c
|
|
|
|
|
2015-04-17 22:11:38 +02:00
|
|
|
ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_sad4d_sse2.asm
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_sad_sse2.asm
|
|
|
|
endif # CONFIG_VP9_HIGHBITDEPTH
|
2015-06-30 01:44:30 +02:00
|
|
|
|
2015-04-17 22:11:38 +02:00
|
|
|
endif # CONFIG_ENCODERS
|
|
|
|
|
2015-05-15 20:52:03 +02:00
|
|
|
ifneq ($(filter yes,$(CONFIG_ENCODERS) $(CONFIG_POSTPROC) $(CONFIG_VP9_POSTPROC)),)
|
|
|
|
DSP_SRCS-yes += variance.c
|
2015-06-05 18:54:19 +02:00
|
|
|
DSP_SRCS-yes += variance.h
|
2015-05-15 20:52:03 +02:00
|
|
|
|
2017-05-03 23:58:52 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/avg_pred_neon.c
|
2015-06-05 18:54:19 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/subpel_variance_neon.c
|
2015-05-15 20:52:03 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/variance_neon.c
|
|
|
|
|
2015-06-30 01:44:30 +02:00
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/variance_msa.c
|
2015-06-05 18:54:19 +02:00
|
|
|
DSP_SRCS-$(HAVE_MSA) += mips/sub_pixel_variance_msa.c
|
2015-06-30 01:44:30 +02:00
|
|
|
|
2017-08-22 02:44:36 +02:00
|
|
|
DSP_SRCS-$(HAVE_MMI) += mips/variance_mmi.c
|
|
|
|
|
2015-08-11 02:42:09 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE) += x86/variance_sse2.c
|
2017-03-23 22:54:48 +01:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/avg_pred_sse2.c
|
2015-06-05 18:54:19 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/variance_sse2.c # Contains SSE2 and SSSE3
|
2015-05-15 20:52:03 +02:00
|
|
|
DSP_SRCS-$(HAVE_AVX2) += x86/variance_avx2.c
|
2017-05-11 03:07:09 +02:00
|
|
|
DSP_SRCS-$(HAVE_VSX) += ppc/variance_vsx.c
|
2015-05-15 20:52:03 +02:00
|
|
|
|
2015-08-06 21:53:59 +02:00
|
|
|
ifeq ($(ARCH_X86_64),yes)
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/ssim_opt_x86_64.asm
|
|
|
|
endif # ARCH_X86_64
|
|
|
|
|
2015-08-11 02:42:09 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE) += x86/subpel_variance_sse2.asm
|
2015-06-05 18:54:19 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/subpel_variance_sse2.asm # Contains SSE2 and SSSE3
|
|
|
|
|
2015-05-15 20:52:03 +02:00
|
|
|
ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_variance_sse2.c
|
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_variance_impl_sse2.asm
|
2015-06-05 18:54:19 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/highbd_subpel_variance_impl_sse2.asm
|
2015-05-15 20:52:03 +02:00
|
|
|
endif # CONFIG_VP9_HIGHBITDEPTH
|
|
|
|
endif # CONFIG_ENCODERS || CONFIG_POSTPROC || CONFIG_VP9_POSTPROC
|
|
|
|
|
2016-07-29 00:47:53 +02:00
|
|
|
# Neon utilities
|
2017-05-13 03:11:31 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/mem_neon.h
|
2017-07-07 19:37:30 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/sum_neon.h
|
2016-07-29 00:47:53 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/transpose_neon.h
|
2017-09-05 23:48:17 +02:00
|
|
|
DSP_SRCS-$(HAVE_NEON) += arm/vpx_convolve8_neon.h
|
2016-07-29 00:47:53 +02:00
|
|
|
|
2016-10-20 02:21:09 +02:00
|
|
|
# PPC VSX utilities
|
|
|
|
DSP_SRCS-$(HAVE_VSX) += ppc/types_vsx.h
|
|
|
|
DSP_SRCS-$(HAVE_VSX) += ppc/transpose_vsx.h
|
|
|
|
DSP_SRCS-$(HAVE_VSX) += ppc/bitdepth_conversion_vsx.h
|
|
|
|
|
2017-05-04 00:43:02 +02:00
|
|
|
# X86 utilities
|
2017-10-02 22:46:15 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/mem_sse2.h
|
2017-05-04 00:43:02 +02:00
|
|
|
DSP_SRCS-$(HAVE_SSE2) += x86/transpose_sse2.h
|
|
|
|
|
2015-04-17 22:11:38 +02:00
|
|
|
DSP_SRCS-no += $(DSP_SRCS_REMOVE-yes)
|
|
|
|
|
|
|
|
DSP_SRCS-yes += vpx_dsp_rtcd.c
|
|
|
|
DSP_SRCS-yes += vpx_dsp_rtcd_defs.pl
|
|
|
|
|
|
|
|
$(eval $(call rtcd_h_template,vpx_dsp_rtcd,vpx_dsp/vpx_dsp_rtcd_defs.pl))
|