OLD | NEW |
1 ## | 1 ## |
2 ## Copyright (c) 2015 The WebM project authors. All Rights Reserved. | 2 ## Copyright (c) 2015 The WebM project authors. All Rights Reserved. |
3 ## | 3 ## |
4 ## Use of this source code is governed by a BSD-style license | 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 | 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 | 6 ## tree. An additional intellectual property rights grant can be found |
7 ## in the file PATENTS. All contributing project authors may | 7 ## in the file PATENTS. All contributing project authors may |
8 ## be found in the AUTHORS file in the root of the source tree. | 8 ## be found in the AUTHORS file in the root of the source tree. |
9 ## | 9 ## |
10 | 10 |
11 DSP_SRCS-yes += vpx_dsp.mk | 11 DSP_SRCS-yes += vpx_dsp.mk |
12 DSP_SRCS-yes += vpx_dsp_common.h | 12 DSP_SRCS-yes += vpx_dsp_common.h |
13 | 13 |
14 DSP_SRCS-$(HAVE_MSA) += mips/macros_msa.h | 14 DSP_SRCS-$(HAVE_MSA) += mips/macros_msa.h |
15 | 15 |
16 # bit reader | 16 # bit reader |
17 DSP_SRCS-yes += prob.h | 17 DSP_SRCS-yes += prob.h |
18 DSP_SRCS-yes += prob.c | 18 DSP_SRCS-yes += prob.c |
19 | 19 |
20 ifeq ($(CONFIG_ENCODERS),yes) | 20 ifeq ($(CONFIG_ENCODERS),yes) |
21 DSP_SRCS-yes += bitwriter.h | 21 DSP_SRCS-yes += bitwriter.h |
22 DSP_SRCS-yes += bitwriter.c | 22 DSP_SRCS-yes += bitwriter.c |
23 DSP_SRCS-yes += bitwriter_buffer.c | 23 DSP_SRCS-yes += bitwriter_buffer.c |
24 DSP_SRCS-yes += bitwriter_buffer.h | 24 DSP_SRCS-yes += bitwriter_buffer.h |
| 25 DSP_SRCS-$(CONFIG_INTERNAL_STATS) += ssim.c |
| 26 DSP_SRCS-$(CONFIG_INTERNAL_STATS) += ssim.h |
| 27 DSP_SRCS-$(CONFIG_INTERNAL_STATS) += psnrhvs.c |
| 28 DSP_SRCS-$(CONFIG_INTERNAL_STATS) += fastssim.c |
25 endif | 29 endif |
26 | 30 |
27 ifeq ($(CONFIG_DECODERS),yes) | 31 ifeq ($(CONFIG_DECODERS),yes) |
28 DSP_SRCS-yes += bitreader.h | 32 DSP_SRCS-yes += bitreader.h |
29 DSP_SRCS-yes += bitreader.c | 33 DSP_SRCS-yes += bitreader.c |
30 DSP_SRCS-yes += bitreader_buffer.c | 34 DSP_SRCS-yes += bitreader_buffer.c |
31 DSP_SRCS-yes += bitreader_buffer.h | 35 DSP_SRCS-yes += bitreader_buffer.h |
32 endif | 36 endif |
33 | 37 |
34 # intra predictions | 38 # intra predictions |
35 ifeq ($(CONFIG_VP9),yes) | 39 ifneq ($(filter yes,$(CONFIG_VP9) $(CONFIG_VP10)),) |
36 DSP_SRCS-yes += intrapred.c | 40 DSP_SRCS-yes += intrapred.c |
37 | 41 |
38 ifeq ($(CONFIG_USE_X86INC),yes) | 42 ifeq ($(CONFIG_USE_X86INC),yes) |
| 43 DSP_SRCS-$(HAVE_SSE) += x86/intrapred_sse2.asm |
39 DSP_SRCS-$(HAVE_SSE2) += x86/intrapred_sse2.asm | 44 DSP_SRCS-$(HAVE_SSE2) += x86/intrapred_sse2.asm |
40 DSP_SRCS-$(HAVE_SSSE3) += x86/intrapred_ssse3.asm | 45 DSP_SRCS-$(HAVE_SSSE3) += x86/intrapred_ssse3.asm |
41 endif # CONFIG_USE_X86INC | 46 endif # CONFIG_USE_X86INC |
42 | 47 |
43 ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes) | 48 ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes) |
44 ifeq ($(CONFIG_USE_X86INC),yes) | 49 ifeq ($(CONFIG_USE_X86INC),yes) |
| 50 DSP_SRCS-$(HAVE_SSE) += x86/highbd_intrapred_sse2.asm |
45 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_intrapred_sse2.asm | 51 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_intrapred_sse2.asm |
46 endif # CONFIG_USE_X86INC | 52 endif # CONFIG_USE_X86INC |
47 endif # CONFIG_VP9_HIGHBITDEPTH | 53 endif # CONFIG_VP9_HIGHBITDEPTH |
48 | 54 |
49 DSP_SRCS-$(HAVE_NEON_ASM) += arm/intrapred_neon_asm$(ASM) | 55 DSP_SRCS-$(HAVE_NEON_ASM) += arm/intrapred_neon_asm$(ASM) |
50 DSP_SRCS-$(HAVE_NEON) += arm/intrapred_neon.c | 56 DSP_SRCS-$(HAVE_NEON) += arm/intrapred_neon.c |
51 DSP_SRCS-$(HAVE_MSA) += mips/intrapred_msa.c | 57 DSP_SRCS-$(HAVE_MSA) += mips/intrapred_msa.c |
52 DSP_SRCS-$(HAVE_DSPR2) += mips/intrapred4_dspr2.c | 58 DSP_SRCS-$(HAVE_DSPR2) += mips/intrapred4_dspr2.c |
53 DSP_SRCS-$(HAVE_DSPR2) += mips/intrapred8_dspr2.c | 59 DSP_SRCS-$(HAVE_DSPR2) += mips/intrapred8_dspr2.c |
54 DSP_SRCS-$(HAVE_DSPR2) += mips/intrapred16_dspr2.c | 60 DSP_SRCS-$(HAVE_DSPR2) += mips/intrapred16_dspr2.c |
55 endif # CONFIG_VP9 | 61 endif # CONFIG_VP9 || CONFIG_VP10 |
| 62 |
| 63 DSP_SRCS-$(HAVE_DSPR2) += mips/common_dspr2.h |
| 64 DSP_SRCS-$(HAVE_DSPR2) += mips/common_dspr2.c |
56 | 65 |
57 # interpolation filters | 66 # interpolation filters |
58 DSP_SRCS-yes += vpx_convolve.c | 67 DSP_SRCS-yes += vpx_convolve.c |
59 DSP_SRCS-yes += vpx_convolve.h | 68 DSP_SRCS-yes += vpx_convolve.h |
60 DSP_SRCS-yes += vpx_filter.h | 69 DSP_SRCS-yes += vpx_filter.h |
61 | 70 |
62 DSP_SRCS-$(ARCH_X86)$(ARCH_X86_64) += x86/convolve.h | 71 DSP_SRCS-$(ARCH_X86)$(ARCH_X86_64) += x86/convolve.h |
63 DSP_SRCS-$(ARCH_X86)$(ARCH_X86_64) += x86/vpx_asm_stubs.c | 72 DSP_SRCS-$(ARCH_X86)$(ARCH_X86_64) += x86/vpx_asm_stubs.c |
64 DSP_SRCS-$(HAVE_SSE2) += x86/vpx_subpixel_8t_sse2.asm | 73 DSP_SRCS-$(HAVE_SSE2) += x86/vpx_subpixel_8t_sse2.asm |
65 DSP_SRCS-$(HAVE_SSE2) += x86/vpx_subpixel_bilinear_sse2.asm | 74 DSP_SRCS-$(HAVE_SSE2) += x86/vpx_subpixel_bilinear_sse2.asm |
(...skipping 30 matching lines...) Expand all Loading... |
96 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_avg_msa.c | 105 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_avg_msa.c |
97 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_avg_vert_msa.c | 106 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_avg_vert_msa.c |
98 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_horiz_msa.c | 107 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_horiz_msa.c |
99 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_msa.c | 108 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_msa.c |
100 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_vert_msa.c | 109 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve8_vert_msa.c |
101 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve_avg_msa.c | 110 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve_avg_msa.c |
102 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve_copy_msa.c | 111 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve_copy_msa.c |
103 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve_msa.h | 112 DSP_SRCS-$(HAVE_MSA) += mips/vpx_convolve_msa.h |
104 | 113 |
105 # common (dspr2) | 114 # common (dspr2) |
106 DSP_SRCS-$(HAVE_DSPR2) += mips/vpx_common_dspr2.h | 115 DSP_SRCS-$(HAVE_DSPR2) += mips/convolve_common_dspr2.h |
107 DSP_SRCS-$(HAVE_DSPR2) += mips/vpx_convolve2_avg_dspr2.c | 116 DSP_SRCS-$(HAVE_DSPR2) += mips/convolve2_avg_dspr2.c |
108 DSP_SRCS-$(HAVE_DSPR2) += mips/vpx_convolve2_avg_horiz_dspr2.c | 117 DSP_SRCS-$(HAVE_DSPR2) += mips/convolve2_avg_horiz_dspr2.c |
109 DSP_SRCS-$(HAVE_DSPR2) += mips/vpx_convolve2_dspr2.c | 118 DSP_SRCS-$(HAVE_DSPR2) += mips/convolve2_dspr2.c |
110 DSP_SRCS-$(HAVE_DSPR2) += mips/vpx_convolve2_horiz_dspr2.c | 119 DSP_SRCS-$(HAVE_DSPR2) += mips/convolve2_horiz_dspr2.c |
111 DSP_SRCS-$(HAVE_DSPR2) += mips/vpx_convolve2_vert_dspr2.c | 120 DSP_SRCS-$(HAVE_DSPR2) += mips/convolve2_vert_dspr2.c |
112 DSP_SRCS-$(HAVE_DSPR2) += mips/vpx_convolve8_avg_dspr2.c | 121 DSP_SRCS-$(HAVE_DSPR2) += mips/convolve8_avg_dspr2.c |
113 DSP_SRCS-$(HAVE_DSPR2) += mips/vpx_convolve8_avg_horiz_dspr2.c | 122 DSP_SRCS-$(HAVE_DSPR2) += mips/convolve8_avg_horiz_dspr2.c |
114 DSP_SRCS-$(HAVE_DSPR2) += mips/vpx_convolve8_dspr2.c | 123 DSP_SRCS-$(HAVE_DSPR2) += mips/convolve8_dspr2.c |
115 DSP_SRCS-$(HAVE_DSPR2) += mips/vpx_convolve8_horiz_dspr2.c | 124 DSP_SRCS-$(HAVE_DSPR2) += mips/convolve8_horiz_dspr2.c |
116 DSP_SRCS-$(HAVE_DSPR2) += mips/vpx_convolve8_vert_dspr2.c | 125 DSP_SRCS-$(HAVE_DSPR2) += mips/convolve8_vert_dspr2.c |
117 | 126 |
118 # loop filters | 127 # loop filters |
119 DSP_SRCS-yes += loopfilter.c | 128 DSP_SRCS-yes += loopfilter.c |
120 | 129 |
121 DSP_SRCS-$(ARCH_X86)$(ARCH_X86_64) += x86/loopfilter_sse2.c | 130 DSP_SRCS-$(ARCH_X86)$(ARCH_X86_64) += x86/loopfilter_sse2.c |
122 DSP_SRCS-$(HAVE_AVX2) += x86/loopfilter_avx2.c | 131 DSP_SRCS-$(HAVE_AVX2) += x86/loopfilter_avx2.c |
123 DSP_SRCS-$(HAVE_MMX) += x86/loopfilter_mmx.asm | 132 DSP_SRCS-$(HAVE_MMX) += x86/loopfilter_mmx.asm |
124 | 133 |
125 DSP_SRCS-$(HAVE_NEON) += arm/loopfilter_neon.c | 134 DSP_SRCS-$(HAVE_NEON) += arm/loopfilter_neon.c |
126 ifeq ($(HAVE_NEON_ASM),yes) | 135 ifeq ($(HAVE_NEON_ASM),yes) |
127 DSP_SRCS-yes += arm/loopfilter_mb_neon$(ASM) | 136 DSP_SRCS-yes += arm/loopfilter_mb_neon$(ASM) |
128 DSP_SRCS-yes += arm/loopfilter_16_neon$(ASM) | 137 DSP_SRCS-yes += arm/loopfilter_16_neon$(ASM) |
129 DSP_SRCS-yes += arm/loopfilter_8_neon$(ASM) | 138 DSP_SRCS-yes += arm/loopfilter_8_neon$(ASM) |
130 DSP_SRCS-yes += arm/loopfilter_4_neon$(ASM) | 139 DSP_SRCS-yes += arm/loopfilter_4_neon$(ASM) |
131 else | 140 else |
132 ifeq ($(HAVE_NEON),yes) | 141 ifeq ($(HAVE_NEON),yes) |
133 DSP_SRCS-yes += arm/loopfilter_16_neon.c | 142 DSP_SRCS-yes += arm/loopfilter_16_neon.c |
134 DSP_SRCS-yes += arm/loopfilter_8_neon.c | 143 DSP_SRCS-yes += arm/loopfilter_8_neon.c |
135 DSP_SRCS-yes += arm/loopfilter_4_neon.c | 144 DSP_SRCS-yes += arm/loopfilter_4_neon.c |
136 endif # HAVE_NEON | 145 endif # HAVE_NEON |
137 endif # HAVE_NEON_ASM | 146 endif # HAVE_NEON_ASM |
138 | 147 |
139 DSP_SRCS-$(HAVE_MSA) += mips/loopfilter_msa.h | 148 DSP_SRCS-$(HAVE_MSA) += mips/loopfilter_msa.h |
140 DSP_SRCS-$(HAVE_MSA) += mips/loopfilter_16_msa.c | 149 DSP_SRCS-$(HAVE_MSA) += mips/loopfilter_16_msa.c |
141 DSP_SRCS-$(HAVE_MSA) += mips/loopfilter_8_msa.c | 150 DSP_SRCS-$(HAVE_MSA) += mips/loopfilter_8_msa.c |
142 DSP_SRCS-$(HAVE_MSA) += mips/loopfilter_4_msa.c | 151 DSP_SRCS-$(HAVE_MSA) += mips/loopfilter_4_msa.c |
| 152 DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_filters_dspr2.h |
| 153 DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_filters_dspr2.c |
| 154 DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_macros_dspr2.h |
| 155 DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_masks_dspr2.h |
| 156 DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_mb_dspr2.c |
| 157 DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_mb_horiz_dspr2.c |
| 158 DSP_SRCS-$(HAVE_DSPR2) += mips/loopfilter_mb_vert_dspr2.c |
143 | 159 |
144 ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes) | 160 ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes) |
145 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_loopfilter_sse2.c | 161 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_loopfilter_sse2.c |
146 endif # CONFIG_VP9_HIGHBITDEPTH | 162 endif # CONFIG_VP9_HIGHBITDEPTH |
147 | 163 |
148 DSP_SRCS-yes += txfm_common.h | 164 DSP_SRCS-yes += txfm_common.h |
149 DSP_SRCS-$(HAVE_SSE2) += x86/txfm_common_sse2.h | 165 DSP_SRCS-$(HAVE_SSE2) += x86/txfm_common_sse2.h |
150 DSP_SRCS-$(HAVE_MSA) += mips/txfm_macros_msa.h | 166 DSP_SRCS-$(HAVE_MSA) += mips/txfm_macros_msa.h |
151 # forward transform | 167 # forward transform |
152 ifeq ($(CONFIG_VP9_ENCODER),yes) | 168 ifneq ($(filter yes,$(CONFIG_VP9_ENCODER) $(CONFIG_VP10_ENCODER)),) |
153 DSP_SRCS-yes += fwd_txfm.c | 169 DSP_SRCS-yes += fwd_txfm.c |
154 DSP_SRCS-yes += fwd_txfm.h | 170 DSP_SRCS-yes += fwd_txfm.h |
155 DSP_SRCS-$(HAVE_SSE2) += x86/fwd_txfm_sse2.h | 171 DSP_SRCS-$(HAVE_SSE2) += x86/fwd_txfm_sse2.h |
156 DSP_SRCS-$(HAVE_SSE2) += x86/fwd_txfm_sse2.c | 172 DSP_SRCS-$(HAVE_SSE2) += x86/fwd_txfm_sse2.c |
157 DSP_SRCS-$(HAVE_SSE2) += x86/fwd_txfm_impl_sse2.h | 173 DSP_SRCS-$(HAVE_SSE2) += x86/fwd_txfm_impl_sse2.h |
158 DSP_SRCS-$(HAVE_SSE2) += x86/fwd_dct32x32_impl_sse2.h | 174 DSP_SRCS-$(HAVE_SSE2) += x86/fwd_dct32x32_impl_sse2.h |
159 ifeq ($(ARCH_X86_64),yes) | 175 ifeq ($(ARCH_X86_64),yes) |
160 ifeq ($(CONFIG_USE_X86INC),yes) | 176 ifeq ($(CONFIG_USE_X86INC),yes) |
161 DSP_SRCS-$(HAVE_SSSE3) += x86/fwd_txfm_ssse3_x86_64.asm | 177 DSP_SRCS-$(HAVE_SSSE3) += x86/fwd_txfm_ssse3_x86_64.asm |
162 endif | 178 endif |
163 endif | 179 endif |
164 DSP_SRCS-$(HAVE_AVX2) += x86/fwd_txfm_avx2.c | 180 DSP_SRCS-$(HAVE_AVX2) += x86/fwd_txfm_avx2.c |
165 DSP_SRCS-$(HAVE_AVX2) += x86/fwd_dct32x32_impl_avx2.h | 181 DSP_SRCS-$(HAVE_AVX2) += x86/fwd_dct32x32_impl_avx2.h |
166 DSP_SRCS-$(HAVE_NEON) += arm/fwd_txfm_neon.c | 182 DSP_SRCS-$(HAVE_NEON) += arm/fwd_txfm_neon.c |
167 DSP_SRCS-$(HAVE_MSA) += mips/fwd_txfm_msa.h | 183 DSP_SRCS-$(HAVE_MSA) += mips/fwd_txfm_msa.h |
168 DSP_SRCS-$(HAVE_MSA) += mips/fwd_txfm_msa.c | 184 DSP_SRCS-$(HAVE_MSA) += mips/fwd_txfm_msa.c |
169 DSP_SRCS-$(HAVE_MSA) += mips/fwd_dct32x32_msa.c | 185 DSP_SRCS-$(HAVE_MSA) += mips/fwd_dct32x32_msa.c |
170 endif # CONFIG_VP9_ENCODER | 186 endif # CONFIG_VP9_ENCODER || CONFIG_VP10_ENCODER |
171 | 187 |
172 # inverse transform | 188 # inverse transform |
173 ifeq ($(CONFIG_VP9),yes) | 189 ifneq ($(filter yes,$(CONFIG_VP9) $(CONFIG_VP10)),) |
174 DSP_SRCS-yes += inv_txfm.h | 190 DSP_SRCS-yes += inv_txfm.h |
175 DSP_SRCS-yes += inv_txfm.c | 191 DSP_SRCS-yes += inv_txfm.c |
176 DSP_SRCS-$(HAVE_SSE2) += x86/inv_txfm_sse2.h | 192 DSP_SRCS-$(HAVE_SSE2) += x86/inv_txfm_sse2.h |
177 DSP_SRCS-$(HAVE_SSE2) += x86/inv_txfm_sse2.c | 193 DSP_SRCS-$(HAVE_SSE2) += x86/inv_txfm_sse2.c |
178 ifeq ($(CONFIG_USE_X86INC),yes) | 194 ifeq ($(CONFIG_USE_X86INC),yes) |
179 DSP_SRCS-$(HAVE_SSE2) += x86/inv_txfm_sse2.asm | 195 DSP_SRCS-$(HAVE_SSE2) += x86/inv_wht_sse2.asm |
180 ifeq ($(ARCH_X86_64),yes) | 196 ifeq ($(ARCH_X86_64),yes) |
181 DSP_SRCS-$(HAVE_SSSE3) += x86/inv_txfm_ssse3_x86_64.asm | 197 DSP_SRCS-$(HAVE_SSSE3) += x86/inv_txfm_ssse3_x86_64.asm |
182 endif # ARCH_X86_64 | 198 endif # ARCH_X86_64 |
183 endif # CONFIG_USE_X86INC | 199 endif # CONFIG_USE_X86INC |
184 | 200 |
185 ifeq ($(HAVE_NEON_ASM),yes) | 201 ifeq ($(HAVE_NEON_ASM),yes) |
| 202 DSP_SRCS-yes += arm/save_reg_neon$(ASM) |
186 DSP_SRCS-yes += arm/idct4x4_1_add_neon$(ASM) | 203 DSP_SRCS-yes += arm/idct4x4_1_add_neon$(ASM) |
187 DSP_SRCS-yes += arm/idct4x4_add_neon$(ASM) | 204 DSP_SRCS-yes += arm/idct4x4_add_neon$(ASM) |
188 DSP_SRCS-yes += arm/idct8x8_1_add_neon$(ASM) | 205 DSP_SRCS-yes += arm/idct8x8_1_add_neon$(ASM) |
189 DSP_SRCS-yes += arm/idct8x8_add_neon$(ASM) | 206 DSP_SRCS-yes += arm/idct8x8_add_neon$(ASM) |
190 DSP_SRCS-yes += arm/idct16x16_1_add_neon$(ASM) | 207 DSP_SRCS-yes += arm/idct16x16_1_add_neon$(ASM) |
191 DSP_SRCS-yes += arm/idct16x16_add_neon$(ASM) | 208 DSP_SRCS-yes += arm/idct16x16_add_neon$(ASM) |
192 DSP_SRCS-yes += arm/idct32x32_1_add_neon$(ASM) | 209 DSP_SRCS-yes += arm/idct32x32_1_add_neon$(ASM) |
193 DSP_SRCS-yes += arm/idct32x32_add_neon$(ASM) | 210 DSP_SRCS-yes += arm/idct32x32_add_neon$(ASM) |
194 else | 211 else |
195 ifeq ($(HAVE_NEON),yes) | 212 ifeq ($(HAVE_NEON),yes) |
196 DSP_SRCS-yes += arm/idct4x4_1_add_neon.c | 213 DSP_SRCS-yes += arm/idct4x4_1_add_neon.c |
197 DSP_SRCS-yes += arm/idct4x4_add_neon.c | 214 DSP_SRCS-yes += arm/idct4x4_add_neon.c |
198 DSP_SRCS-yes += arm/idct8x8_1_add_neon.c | 215 DSP_SRCS-yes += arm/idct8x8_1_add_neon.c |
199 DSP_SRCS-yes += arm/idct8x8_add_neon.c | 216 DSP_SRCS-yes += arm/idct8x8_add_neon.c |
200 DSP_SRCS-yes += arm/idct16x16_1_add_neon.c | 217 DSP_SRCS-yes += arm/idct16x16_1_add_neon.c |
201 DSP_SRCS-yes += arm/idct16x16_add_neon.c | 218 DSP_SRCS-yes += arm/idct16x16_add_neon.c |
202 DSP_SRCS-yes += arm/idct32x32_1_add_neon.c | 219 DSP_SRCS-yes += arm/idct32x32_1_add_neon.c |
203 DSP_SRCS-yes += arm/idct32x32_add_neon.c | 220 DSP_SRCS-yes += arm/idct32x32_add_neon.c |
204 endif # HAVE_NEON | 221 endif # HAVE_NEON |
205 endif # HAVE_NEON_ASM | 222 endif # HAVE_NEON_ASM |
206 DSP_SRCS-$(HAVE_NEON) += arm/idct16x16_neon.c | 223 DSP_SRCS-$(HAVE_NEON) += arm/idct16x16_neon.c |
207 | 224 |
208 DSP_SRCS-$(HAVE_MSA) += mips/inv_txfm_msa.h | 225 DSP_SRCS-$(HAVE_MSA) += mips/inv_txfm_msa.h |
209 DSP_SRCS-$(HAVE_MSA) += mips/idct4x4_msa.c | 226 DSP_SRCS-$(HAVE_MSA) += mips/idct4x4_msa.c |
210 DSP_SRCS-$(HAVE_MSA) += mips/idct8x8_msa.c | 227 DSP_SRCS-$(HAVE_MSA) += mips/idct8x8_msa.c |
211 DSP_SRCS-$(HAVE_MSA) += mips/idct16x16_msa.c | 228 DSP_SRCS-$(HAVE_MSA) += mips/idct16x16_msa.c |
212 DSP_SRCS-$(HAVE_MSA) += mips/idct32x32_msa.c | 229 DSP_SRCS-$(HAVE_MSA) += mips/idct32x32_msa.c |
213 endif # CONFIG_VP9 | 230 |
| 231 ifneq ($(CONFIG_VP9_HIGHBITDEPTH),yes) |
| 232 DSP_SRCS-$(HAVE_DSPR2) += mips/inv_txfm_dspr2.h |
| 233 DSP_SRCS-$(HAVE_DSPR2) += mips/itrans4_dspr2.c |
| 234 DSP_SRCS-$(HAVE_DSPR2) += mips/itrans8_dspr2.c |
| 235 DSP_SRCS-$(HAVE_DSPR2) += mips/itrans16_dspr2.c |
| 236 DSP_SRCS-$(HAVE_DSPR2) += mips/itrans32_dspr2.c |
| 237 DSP_SRCS-$(HAVE_DSPR2) += mips/itrans32_cols_dspr2.c |
| 238 endif # CONFIG_VP9_HIGHBITDEPTH |
| 239 endif # CONFIG_VP9 || CONFIG_VP10 |
214 | 240 |
215 # quantization | 241 # quantization |
216 ifeq ($(CONFIG_VP9_ENCODER),yes) | 242 ifneq ($(filter yes, $(CONFIG_VP9_ENCODER) $(CONFIG_VP10_ENCODER)),) |
217 DSP_SRCS-yes += quantize.c | 243 DSP_SRCS-yes += quantize.c |
218 DSP_SRCS-yes += quantize.h | 244 DSP_SRCS-yes += quantize.h |
219 | 245 |
220 DSP_SRCS-$(HAVE_SSE2) += x86/quantize_sse2.c | 246 DSP_SRCS-$(HAVE_SSE2) += x86/quantize_sse2.c |
221 ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes) | 247 ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes) |
222 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_quantize_intrin_sse2.c | 248 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_quantize_intrin_sse2.c |
223 endif | 249 endif |
224 ifeq ($(ARCH_X86_64),yes) | 250 ifeq ($(ARCH_X86_64),yes) |
225 ifeq ($(CONFIG_USE_X86INC),yes) | 251 ifeq ($(CONFIG_USE_X86INC),yes) |
226 DSP_SRCS-$(HAVE_SSSE3) += x86/quantize_ssse3_x86_64.asm | 252 DSP_SRCS-$(HAVE_SSSE3) += x86/quantize_ssse3_x86_64.asm |
227 endif | 253 endif |
228 endif | 254 endif |
229 endif # CONFIG_VP9_ENCODER | 255 endif # CONFIG_VP9_ENCODER || CONFIG_VP10_ENCODER |
230 | 256 |
231 ifeq ($(CONFIG_ENCODERS),yes) | 257 ifeq ($(CONFIG_ENCODERS),yes) |
232 DSP_SRCS-yes += sad.c | 258 DSP_SRCS-yes += sad.c |
233 DSP_SRCS-yes += subtract.c | 259 DSP_SRCS-yes += subtract.c |
234 | 260 |
235 DSP_SRCS-$(HAVE_MEDIA) += arm/sad_media$(ASM) | 261 DSP_SRCS-$(HAVE_MEDIA) += arm/sad_media$(ASM) |
236 DSP_SRCS-$(HAVE_NEON) += arm/sad4d_neon.c | 262 DSP_SRCS-$(HAVE_NEON) += arm/sad4d_neon.c |
237 DSP_SRCS-$(HAVE_NEON) += arm/sad_neon.c | 263 DSP_SRCS-$(HAVE_NEON) += arm/sad_neon.c |
238 DSP_SRCS-$(HAVE_NEON) += arm/subtract_neon.c | 264 DSP_SRCS-$(HAVE_NEON) += arm/subtract_neon.c |
239 | 265 |
240 DSP_SRCS-$(HAVE_MSA) += mips/sad_msa.c | 266 DSP_SRCS-$(HAVE_MSA) += mips/sad_msa.c |
241 DSP_SRCS-$(HAVE_MSA) += mips/subtract_msa.c | 267 DSP_SRCS-$(HAVE_MSA) += mips/subtract_msa.c |
242 | 268 |
243 DSP_SRCS-$(HAVE_MMX) += x86/sad_mmx.asm | 269 DSP_SRCS-$(HAVE_MMX) += x86/sad_mmx.asm |
244 DSP_SRCS-$(HAVE_SSE3) += x86/sad_sse3.asm | 270 DSP_SRCS-$(HAVE_SSE3) += x86/sad_sse3.asm |
245 DSP_SRCS-$(HAVE_SSSE3) += x86/sad_ssse3.asm | 271 DSP_SRCS-$(HAVE_SSSE3) += x86/sad_ssse3.asm |
246 DSP_SRCS-$(HAVE_SSE4_1) += x86/sad_sse4.asm | 272 DSP_SRCS-$(HAVE_SSE4_1) += x86/sad_sse4.asm |
247 DSP_SRCS-$(HAVE_AVX2) += x86/sad4d_avx2.c | 273 DSP_SRCS-$(HAVE_AVX2) += x86/sad4d_avx2.c |
248 DSP_SRCS-$(HAVE_AVX2) += x86/sad_avx2.c | 274 DSP_SRCS-$(HAVE_AVX2) += x86/sad_avx2.c |
249 | 275 |
250 ifeq ($(CONFIG_USE_X86INC),yes) | 276 ifeq ($(CONFIG_USE_X86INC),yes) |
| 277 DSP_SRCS-$(HAVE_SSE) += x86/sad4d_sse2.asm |
| 278 DSP_SRCS-$(HAVE_SSE) += x86/sad_sse2.asm |
251 DSP_SRCS-$(HAVE_SSE2) += x86/sad4d_sse2.asm | 279 DSP_SRCS-$(HAVE_SSE2) += x86/sad4d_sse2.asm |
252 DSP_SRCS-$(HAVE_SSE2) += x86/sad_sse2.asm | 280 DSP_SRCS-$(HAVE_SSE2) += x86/sad_sse2.asm |
253 DSP_SRCS-$(HAVE_SSE2) += x86/subtract_sse2.asm | 281 DSP_SRCS-$(HAVE_SSE2) += x86/subtract_sse2.asm |
254 | 282 |
255 ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes) | 283 ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes) |
256 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_sad4d_sse2.asm | 284 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_sad4d_sse2.asm |
257 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_sad_sse2.asm | 285 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_sad_sse2.asm |
258 endif # CONFIG_VP9_HIGHBITDEPTH | 286 endif # CONFIG_VP9_HIGHBITDEPTH |
259 endif # CONFIG_USE_X86INC | 287 endif # CONFIG_USE_X86INC |
260 | 288 |
(...skipping 10 matching lines...) Expand all Loading... |
271 DSP_SRCS-$(HAVE_MEDIA) += arm/variance_halfpixvar16x16_v_media$(ASM) | 299 DSP_SRCS-$(HAVE_MEDIA) += arm/variance_halfpixvar16x16_v_media$(ASM) |
272 DSP_SRCS-$(HAVE_MEDIA) += arm/variance_media$(ASM) | 300 DSP_SRCS-$(HAVE_MEDIA) += arm/variance_media$(ASM) |
273 DSP_SRCS-$(HAVE_NEON) += arm/subpel_variance_neon.c | 301 DSP_SRCS-$(HAVE_NEON) += arm/subpel_variance_neon.c |
274 DSP_SRCS-$(HAVE_NEON) += arm/variance_neon.c | 302 DSP_SRCS-$(HAVE_NEON) += arm/variance_neon.c |
275 | 303 |
276 DSP_SRCS-$(HAVE_MSA) += mips/variance_msa.c | 304 DSP_SRCS-$(HAVE_MSA) += mips/variance_msa.c |
277 DSP_SRCS-$(HAVE_MSA) += mips/sub_pixel_variance_msa.c | 305 DSP_SRCS-$(HAVE_MSA) += mips/sub_pixel_variance_msa.c |
278 | 306 |
279 DSP_SRCS-$(HAVE_MMX) += x86/variance_mmx.c | 307 DSP_SRCS-$(HAVE_MMX) += x86/variance_mmx.c |
280 DSP_SRCS-$(HAVE_MMX) += x86/variance_impl_mmx.asm | 308 DSP_SRCS-$(HAVE_MMX) += x86/variance_impl_mmx.asm |
| 309 DSP_SRCS-$(HAVE_SSE) += x86/variance_sse2.c |
281 DSP_SRCS-$(HAVE_SSE2) += x86/variance_sse2.c # Contains SSE2 and SSSE3 | 310 DSP_SRCS-$(HAVE_SSE2) += x86/variance_sse2.c # Contains SSE2 and SSSE3 |
282 DSP_SRCS-$(HAVE_SSE2) += x86/halfpix_variance_sse2.c | 311 DSP_SRCS-$(HAVE_SSE2) += x86/halfpix_variance_sse2.c |
283 DSP_SRCS-$(HAVE_SSE2) += x86/halfpix_variance_impl_sse2.asm | 312 DSP_SRCS-$(HAVE_SSE2) += x86/halfpix_variance_impl_sse2.asm |
284 DSP_SRCS-$(HAVE_AVX2) += x86/variance_avx2.c | 313 DSP_SRCS-$(HAVE_AVX2) += x86/variance_avx2.c |
285 DSP_SRCS-$(HAVE_AVX2) += x86/variance_impl_avx2.c | 314 DSP_SRCS-$(HAVE_AVX2) += x86/variance_impl_avx2.c |
286 | 315 |
| 316 ifeq ($(ARCH_X86_64),yes) |
| 317 DSP_SRCS-$(HAVE_SSE2) += x86/ssim_opt_x86_64.asm |
| 318 endif # ARCH_X86_64 |
| 319 |
287 ifeq ($(CONFIG_USE_X86INC),yes) | 320 ifeq ($(CONFIG_USE_X86INC),yes) |
| 321 DSP_SRCS-$(HAVE_SSE) += x86/subpel_variance_sse2.asm |
288 DSP_SRCS-$(HAVE_SSE2) += x86/subpel_variance_sse2.asm # Contains SSE2 and SSS
E3 | 322 DSP_SRCS-$(HAVE_SSE2) += x86/subpel_variance_sse2.asm # Contains SSE2 and SSS
E3 |
289 endif # CONFIG_USE_X86INC | 323 endif # CONFIG_USE_X86INC |
290 | 324 |
291 ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes) | 325 ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes) |
292 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_variance_sse2.c | 326 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_variance_sse2.c |
293 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_variance_impl_sse2.asm | 327 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_variance_impl_sse2.asm |
294 ifeq ($(CONFIG_USE_X86INC),yes) | 328 ifeq ($(CONFIG_USE_X86INC),yes) |
295 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_subpel_variance_impl_sse2.asm | 329 DSP_SRCS-$(HAVE_SSE2) += x86/highbd_subpel_variance_impl_sse2.asm |
296 endif # CONFIG_USE_X86INC | 330 endif # CONFIG_USE_X86INC |
297 endif # CONFIG_VP9_HIGHBITDEPTH | 331 endif # CONFIG_VP9_HIGHBITDEPTH |
298 endif # CONFIG_ENCODERS || CONFIG_POSTPROC || CONFIG_VP9_POSTPROC | 332 endif # CONFIG_ENCODERS || CONFIG_POSTPROC || CONFIG_VP9_POSTPROC |
299 | 333 |
300 DSP_SRCS-no += $(DSP_SRCS_REMOVE-yes) | 334 DSP_SRCS-no += $(DSP_SRCS_REMOVE-yes) |
301 | 335 |
302 DSP_SRCS-yes += vpx_dsp_rtcd.c | 336 DSP_SRCS-yes += vpx_dsp_rtcd.c |
303 DSP_SRCS-yes += vpx_dsp_rtcd_defs.pl | 337 DSP_SRCS-yes += vpx_dsp_rtcd_defs.pl |
304 | 338 |
305 $(eval $(call rtcd_h_template,vpx_dsp_rtcd,vpx_dsp/vpx_dsp_rtcd_defs.pl)) | 339 $(eval $(call rtcd_h_template,vpx_dsp_rtcd,vpx_dsp/vpx_dsp_rtcd_defs.pl)) |
OLD | NEW |