blob: 6957479e34a54aeeaa2e383f281084c6d32369d2 [file] [log] [blame]
Tom Finegan44916e72017-02-27 14:12:31 -08001##
2## Copyright (c) 2017, Alliance for Open Media. All rights reserved
3##
4## This source code is subject to the terms of the BSD 2 Clause License and
5## the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6## was not distributed with this source code in the LICENSE file, you can
7## obtain it at www.aomedia.org/license/software. If the Alliance for Open
8## Media Patent License 1.0 was not distributed with this source code in the
9## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
10##
Tom Finegan17ccaec2017-05-25 17:47:42 -070011if (NOT AOM_AV1_AV1_CMAKE_)
12set(AOM_AV1_AV1_CMAKE_ 1)
13
Tom Finegan44916e72017-02-27 14:12:31 -080014set(AOM_AV1_COMMON_SOURCES
15 "${AOM_ROOT}/av1/av1_iface_common.h"
16 "${AOM_ROOT}/av1/common/alloccommon.c"
17 "${AOM_ROOT}/av1/common/alloccommon.h"
18 # TODO(tomfinegan): Foward transform belongs in encoder.
19 "${AOM_ROOT}/av1/common/av1_fwd_txfm1d.c"
20 "${AOM_ROOT}/av1/common/av1_fwd_txfm1d.h"
21 "${AOM_ROOT}/av1/common/av1_fwd_txfm2d.c"
Sarah Parkereec47e62017-05-15 20:49:22 -070022 "${AOM_ROOT}/av1/common/av1_fwd_txfm1d_cfg.h"
Tom Finegan44916e72017-02-27 14:12:31 -080023 "${AOM_ROOT}/av1/common/av1_inv_txfm1d.c"
24 "${AOM_ROOT}/av1/common/av1_inv_txfm1d.h"
25 "${AOM_ROOT}/av1/common/av1_inv_txfm2d.c"
Sarah Parkereec47e62017-05-15 20:49:22 -070026 "${AOM_ROOT}/av1/common/av1_inv_txfm1d_cfg.h"
Tom Finegan44916e72017-02-27 14:12:31 -080027 "${AOM_ROOT}/av1/common/av1_loopfilter.c"
28 "${AOM_ROOT}/av1/common/av1_loopfilter.h"
29 "${AOM_ROOT}/av1/common/av1_txfm.h"
30 "${AOM_ROOT}/av1/common/blockd.c"
31 "${AOM_ROOT}/av1/common/blockd.h"
32 "${AOM_ROOT}/av1/common/common.h"
33 "${AOM_ROOT}/av1/common/common_data.h"
34 "${AOM_ROOT}/av1/common/convolve.c"
35 "${AOM_ROOT}/av1/common/convolve.h"
Monty Montgomery02078a32017-07-11 21:22:29 -040036 "${AOM_ROOT}/av1/common/daala_tx.c"
37 "${AOM_ROOT}/av1/common/daala_tx.h"
Tom Finegan44916e72017-02-27 14:12:31 -080038 "${AOM_ROOT}/av1/common/debugmodes.c"
39 "${AOM_ROOT}/av1/common/entropy.c"
40 "${AOM_ROOT}/av1/common/entropy.h"
41 "${AOM_ROOT}/av1/common/entropymode.c"
42 "${AOM_ROOT}/av1/common/entropymode.h"
43 "${AOM_ROOT}/av1/common/entropymv.c"
44 "${AOM_ROOT}/av1/common/entropymv.h"
45 "${AOM_ROOT}/av1/common/enums.h"
46 "${AOM_ROOT}/av1/common/filter.c"
47 "${AOM_ROOT}/av1/common/filter.h"
48 "${AOM_ROOT}/av1/common/frame_buffers.c"
49 "${AOM_ROOT}/av1/common/frame_buffers.h"
50 "${AOM_ROOT}/av1/common/idct.c"
51 "${AOM_ROOT}/av1/common/idct.h"
52 "${AOM_ROOT}/av1/common/mv.h"
53 "${AOM_ROOT}/av1/common/mvref_common.c"
54 "${AOM_ROOT}/av1/common/mvref_common.h"
55 "${AOM_ROOT}/av1/common/odintrin.c"
56 "${AOM_ROOT}/av1/common/odintrin.h"
57 "${AOM_ROOT}/av1/common/onyxc_int.h"
58 "${AOM_ROOT}/av1/common/pred_common.c"
59 "${AOM_ROOT}/av1/common/pred_common.h"
60 "${AOM_ROOT}/av1/common/quant_common.c"
61 "${AOM_ROOT}/av1/common/quant_common.h"
62 "${AOM_ROOT}/av1/common/reconinter.c"
63 "${AOM_ROOT}/av1/common/reconinter.h"
64 "${AOM_ROOT}/av1/common/reconintra.c"
65 "${AOM_ROOT}/av1/common/reconintra.h"
Fergus Simpsond0565002017-03-27 16:51:52 -070066 "${AOM_ROOT}/av1/common/resize.c"
67 "${AOM_ROOT}/av1/common/resize.h"
Tom Finegan44916e72017-02-27 14:12:31 -080068 "${AOM_ROOT}/av1/common/scale.c"
69 "${AOM_ROOT}/av1/common/scale.h"
70 "${AOM_ROOT}/av1/common/scan.c"
71 "${AOM_ROOT}/av1/common/scan.h"
72 "${AOM_ROOT}/av1/common/seg_common.c"
73 "${AOM_ROOT}/av1/common/seg_common.h"
74 "${AOM_ROOT}/av1/common/thread_common.c"
75 "${AOM_ROOT}/av1/common/thread_common.h"
76 "${AOM_ROOT}/av1/common/tile_common.c"
77 "${AOM_ROOT}/av1/common/tile_common.h")
78
79set(AOM_AV1_DECODER_SOURCES
80 "${AOM_ROOT}/av1/av1_dx_iface.c"
81 "${AOM_ROOT}/av1/decoder/decodeframe.c"
82 "${AOM_ROOT}/av1/decoder/decodeframe.h"
83 "${AOM_ROOT}/av1/decoder/decodemv.c"
84 "${AOM_ROOT}/av1/decoder/decodemv.h"
85 "${AOM_ROOT}/av1/decoder/decoder.c"
86 "${AOM_ROOT}/av1/decoder/decoder.h"
87 "${AOM_ROOT}/av1/decoder/detokenize.c"
88 "${AOM_ROOT}/av1/decoder/detokenize.h"
89 "${AOM_ROOT}/av1/decoder/dsubexp.c"
90 "${AOM_ROOT}/av1/decoder/dsubexp.h"
91 "${AOM_ROOT}/av1/decoder/dthread.c"
92 "${AOM_ROOT}/av1/decoder/dthread.h")
93
94set(AOM_AV1_ENCODER_SOURCES
95 "${AOM_ROOT}/av1/av1_cx_iface.c"
96 "${AOM_ROOT}/av1/encoder/aq_complexity.c"
97 "${AOM_ROOT}/av1/encoder/aq_complexity.h"
98 "${AOM_ROOT}/av1/encoder/aq_cyclicrefresh.c"
99 "${AOM_ROOT}/av1/encoder/aq_cyclicrefresh.h"
100 "${AOM_ROOT}/av1/encoder/aq_variance.c"
101 "${AOM_ROOT}/av1/encoder/aq_variance.h"
102 "${AOM_ROOT}/av1/encoder/av1_quantize.c"
103 "${AOM_ROOT}/av1/encoder/av1_quantize.h"
104 "${AOM_ROOT}/av1/encoder/bitstream.c"
105 "${AOM_ROOT}/av1/encoder/bitstream.h"
106 "${AOM_ROOT}/av1/encoder/block.h"
107 "${AOM_ROOT}/av1/encoder/context_tree.c"
108 "${AOM_ROOT}/av1/encoder/context_tree.h"
109 "${AOM_ROOT}/av1/encoder/cost.c"
110 "${AOM_ROOT}/av1/encoder/cost.h"
111 "${AOM_ROOT}/av1/encoder/dct.c"
112 "${AOM_ROOT}/av1/encoder/encodeframe.c"
113 "${AOM_ROOT}/av1/encoder/encodeframe.h"
114 "${AOM_ROOT}/av1/encoder/encodemb.c"
115 "${AOM_ROOT}/av1/encoder/encodemb.h"
116 "${AOM_ROOT}/av1/encoder/encodemv.c"
117 "${AOM_ROOT}/av1/encoder/encodemv.h"
118 "${AOM_ROOT}/av1/encoder/encoder.c"
119 "${AOM_ROOT}/av1/encoder/encoder.h"
120 "${AOM_ROOT}/av1/encoder/ethread.c"
121 "${AOM_ROOT}/av1/encoder/ethread.h"
122 "${AOM_ROOT}/av1/encoder/extend.c"
123 "${AOM_ROOT}/av1/encoder/extend.h"
124 "${AOM_ROOT}/av1/encoder/firstpass.c"
125 "${AOM_ROOT}/av1/encoder/firstpass.h"
Hui Su1ddf2312017-08-19 15:21:34 -0700126 "${AOM_ROOT}/av1/encoder/hash.c"
127 "${AOM_ROOT}/av1/encoder/hash.h"
Tom Finegan44916e72017-02-27 14:12:31 -0800128 "${AOM_ROOT}/av1/encoder/hybrid_fwd_txfm.c"
129 "${AOM_ROOT}/av1/encoder/hybrid_fwd_txfm.h"
130 "${AOM_ROOT}/av1/encoder/lookahead.c"
131 "${AOM_ROOT}/av1/encoder/lookahead.h"
132 "${AOM_ROOT}/av1/encoder/mbgraph.c"
133 "${AOM_ROOT}/av1/encoder/mbgraph.h"
134 "${AOM_ROOT}/av1/encoder/mcomp.c"
135 "${AOM_ROOT}/av1/encoder/mcomp.h"
Urvang Joshic6300aa2017-06-01 14:46:23 -0700136 "${AOM_ROOT}/av1/encoder/palette.c"
Tom Finegan9a77d482017-08-14 11:00:59 -0700137 "${AOM_ROOT}/av1/encoder/palette.h"
Tom Finegan44916e72017-02-27 14:12:31 -0800138 "${AOM_ROOT}/av1/encoder/picklpf.c"
139 "${AOM_ROOT}/av1/encoder/picklpf.h"
140 "${AOM_ROOT}/av1/encoder/ratectrl.c"
141 "${AOM_ROOT}/av1/encoder/ratectrl.h"
142 "${AOM_ROOT}/av1/encoder/rd.c"
143 "${AOM_ROOT}/av1/encoder/rd.h"
144 "${AOM_ROOT}/av1/encoder/rdopt.c"
145 "${AOM_ROOT}/av1/encoder/rdopt.h"
Tom Finegan44916e72017-02-27 14:12:31 -0800146 "${AOM_ROOT}/av1/encoder/segmentation.c"
147 "${AOM_ROOT}/av1/encoder/segmentation.h"
148 "${AOM_ROOT}/av1/encoder/speed_features.c"
149 "${AOM_ROOT}/av1/encoder/speed_features.h"
150 "${AOM_ROOT}/av1/encoder/subexp.c"
151 "${AOM_ROOT}/av1/encoder/subexp.h"
152 "${AOM_ROOT}/av1/encoder/temporal_filter.c"
153 "${AOM_ROOT}/av1/encoder/temporal_filter.h"
154 "${AOM_ROOT}/av1/encoder/tokenize.c"
155 "${AOM_ROOT}/av1/encoder/tokenize.h"
156 "${AOM_ROOT}/av1/encoder/treewriter.c"
Thomas Daede8ea33192017-05-10 15:40:06 -0700157 "${AOM_ROOT}/av1/encoder/treewriter.h")
Tom Finegan44916e72017-02-27 14:12:31 -0800158
Tom Finegan5a24dc82017-04-13 14:11:54 -0700159set(AOM_AV1_COMMON_INTRIN_SSE2
Tom Finegan44916e72017-02-27 14:12:31 -0800160 "${AOM_ROOT}/av1/common/x86/idct_intrin_sse2.c")
161
Tom Finegan5a24dc82017-04-13 14:11:54 -0700162set(AOM_AV1_COMMON_INTRIN_SSSE3
Tom Finegan44916e72017-02-27 14:12:31 -0800163 "${AOM_ROOT}/av1/common/x86/av1_convolve_ssse3.c")
164
Tom Finegan5a24dc82017-04-13 14:11:54 -0700165set(AOM_AV1_COMMON_INTRIN_SSE4_1
Tom Finegan44916e72017-02-27 14:12:31 -0800166 "${AOM_ROOT}/av1/common/x86/av1_fwd_txfm1d_sse4.c"
Tom Finegand8782ff2017-07-10 18:26:17 -0700167 "${AOM_ROOT}/av1/common/x86/av1_fwd_txfm2d_sse4.c"
168 "${AOM_ROOT}/av1/common/x86/highbd_inv_txfm_sse4.c")
Tom Finegan44916e72017-02-27 14:12:31 -0800169
Tom Finegan5a24dc82017-04-13 14:11:54 -0700170set(AOM_AV1_COMMON_INTRIN_AVX2
Tom Finegand8782ff2017-07-10 18:26:17 -0700171 "${AOM_ROOT}/av1/common/x86/highbd_inv_txfm_avx2.c"
Tom Finegan44916e72017-02-27 14:12:31 -0800172 "${AOM_ROOT}/av1/common/x86/hybrid_inv_txfm_avx2.c")
173
Tom Finegan5a24dc82017-04-13 14:11:54 -0700174set(AOM_AV1_COMMON_INTRIN_MSA
Tom Finegand148c962017-04-04 14:48:26 -0700175 "${AOM_ROOT}/av1/common/mips/msa/av1_idct16x16_msa.c"
176 "${AOM_ROOT}/av1/common/mips/msa/av1_idct4x4_msa.c"
177 "${AOM_ROOT}/av1/common/mips/msa/av1_idct8x8_msa.c")
178
Tom Finegan5a24dc82017-04-13 14:11:54 -0700179set(AOM_AV1_ENCODER_ASM_SSE2
Tom Finegan44916e72017-02-27 14:12:31 -0800180 "${AOM_ROOT}/av1/encoder/x86/dct_sse2.asm"
181 "${AOM_ROOT}/av1/encoder/x86/error_sse2.asm"
182 "${AOM_ROOT}/av1/encoder/x86/temporal_filter_apply_sse2.asm")
183
Tom Finegan5a24dc82017-04-13 14:11:54 -0700184set(AOM_AV1_ENCODER_INTRIN_SSE2
Tom Finegan44916e72017-02-27 14:12:31 -0800185 "${AOM_ROOT}/av1/encoder/x86/dct_intrin_sse2.c"
186 "${AOM_ROOT}/av1/encoder/x86/highbd_block_error_intrin_sse2.c"
187 "${AOM_ROOT}/av1/encoder/x86/av1_quantize_sse2.c")
188
Tom Finegan5a24dc82017-04-13 14:11:54 -0700189set(AOM_AV1_ENCODER_ASM_SSSE3_X86_64
Tom Finegan44916e72017-02-27 14:12:31 -0800190 "${AOM_ROOT}/av1/encoder/x86/av1_quantize_ssse3_x86_64.asm")
191
Tom Finegan5a24dc82017-04-13 14:11:54 -0700192set(AOM_AV1_ENCODER_INTRIN_SSSE3
Tom Finegan44916e72017-02-27 14:12:31 -0800193 "${AOM_ROOT}/av1/encoder/x86/dct_ssse3.c")
194
Tom Finegand8782ff2017-07-10 18:26:17 -0700195set(AOM_AV1_ENCODER_INTRIN_SSE4_1
196 ${AOM_AV1_ENCODER_INTRIN_SSE4_1}
197 "${AOM_ROOT}/av1/encoder/x86/av1_highbd_quantize_sse4.c"
198 "${AOM_ROOT}/av1/encoder/x86/highbd_fwd_txfm_sse4.c")
199
Tom Finegan5a24dc82017-04-13 14:11:54 -0700200set(AOM_AV1_ENCODER_INTRIN_AVX2
Tom Finegan3613c512017-06-15 16:03:09 -0700201 "${AOM_ROOT}/av1/encoder/x86/av1_quantize_avx2.c"
Tom Finegand8782ff2017-07-10 18:26:17 -0700202 "${AOM_ROOT}/av1/encoder/x86/av1_highbd_quantize_avx2.c"
Tom Finegan44916e72017-02-27 14:12:31 -0800203 "${AOM_ROOT}/av1/encoder/x86/error_intrin_avx2.c"
204 "${AOM_ROOT}/av1/encoder/x86/hybrid_fwd_txfm_avx2.c")
Tom Finegand8782ff2017-07-10 18:26:17 -0700205
Tom Finegan5a24dc82017-04-13 14:11:54 -0700206set(AOM_AV1_ENCODER_INTRIN_NEON
Tom Finegan5a49c6c2017-03-17 08:56:59 -0700207 "${AOM_ROOT}/av1/encoder/arm/neon/quantize_neon.c")
208
Tom Finegan5a24dc82017-04-13 14:11:54 -0700209set(AOM_AV1_ENCODER_INTRIN_MSA
Tom Finegand148c962017-04-04 14:48:26 -0700210 "${AOM_ROOT}/av1/encoder/mips/msa/error_msa.c"
211 "${AOM_ROOT}/av1/encoder/mips/msa/fdct16x16_msa.c"
212 "${AOM_ROOT}/av1/encoder/mips/msa/fdct4x4_msa.c"
213 "${AOM_ROOT}/av1/encoder/mips/msa/fdct8x8_msa.c"
214 "${AOM_ROOT}/av1/encoder/mips/msa/fdct_msa.h"
215 "${AOM_ROOT}/av1/encoder/mips/msa/temporal_filter_msa.c")
216
Sebastien Alaiwan71e87842017-04-12 16:03:28 +0200217if (CONFIG_HIGHBITDEPTH)
Tom Finegan5a24dc82017-04-13 14:11:54 -0700218 set(AOM_AV1_COMMON_INTRIN_SSE4_1
219 ${AOM_AV1_COMMON_INTRIN_SSE4_1}
Tom Finegand8782ff2017-07-10 18:26:17 -0700220 "${AOM_ROOT}/av1/common/x86/av1_highbd_convolve_sse4.c")
Tom Finegan5a49c6c2017-03-17 08:56:59 -0700221else ()
Tom Finegan5a24dc82017-04-13 14:11:54 -0700222 set(AOM_AV1_COMMON_INTRIN_NEON
223 ${AOM_AV1_COMMON_INTRIN_NEON}
Tom Finegan345e48c2017-04-28 10:00:04 -0700224 "${AOM_ROOT}/av1/encoder/arm/neon/dct_neon.c"
Tom Finegan5a49c6c2017-03-17 08:56:59 -0700225 "${AOM_ROOT}/av1/common/arm/neon/iht4x4_add_neon.c"
226 "${AOM_ROOT}/av1/common/arm/neon/iht8x8_add_neon.c")
Tom Finegan345e48c2017-04-28 10:00:04 -0700227
228 set(AOM_AV1_ENCODER_INTRIN_NEON
229 ${AOM_AV1_ENCODER_INTRIN_NEON}
230 "${AOM_ROOT}/av1/encoder/arm/neon/error_neon.c")
Tom Finegan7bb58b12017-03-02 21:11:36 -0800231endif ()
232
Tom Finegan44916e72017-02-27 14:12:31 -0800233if (CONFIG_CDEF)
234 set(AOM_AV1_COMMON_SOURCES
235 ${AOM_AV1_COMMON_SOURCES}
Steinar Midtskogena9d41e82017-03-17 12:48:15 +0100236 "${AOM_ROOT}/av1/common/cdef.c"
237 "${AOM_ROOT}/av1/common/cdef.h"
Steinar Midtskogen94de0aa2017-08-02 10:30:12 +0200238 "${AOM_ROOT}/av1/common/cdef_block.c"
Steinar Midtskogen59782122017-07-20 08:49:43 +0200239 "${AOM_ROOT}/av1/common/cdef_block.h")
Tom Finegan44916e72017-02-27 14:12:31 -0800240
241 set(AOM_AV1_ENCODER_SOURCES
242 ${AOM_AV1_ENCODER_SOURCES}
Steinar Midtskogena9d41e82017-03-17 12:48:15 +0100243 "${AOM_ROOT}/av1/encoder/pickcdef.c")
Tom Finegan44916e72017-02-27 14:12:31 -0800244
Tom Finegan5a24dc82017-04-13 14:11:54 -0700245 set(AOM_AV1_COMMON_INTRIN_SSE2
246 ${AOM_AV1_COMMON_INTRIN_SSE2}
Steinar Midtskogen94de0aa2017-08-02 10:30:12 +0200247 "${AOM_ROOT}/av1/common/cdef_block_sse2.c")
Tom Finegan44916e72017-02-27 14:12:31 -0800248
Tom Finegan5a24dc82017-04-13 14:11:54 -0700249 set(AOM_AV1_COMMON_INTRIN_SSSE3
250 ${AOM_AV1_COMMON_INTRIN_SSSE3}
Steinar Midtskogen94de0aa2017-08-02 10:30:12 +0200251 "${AOM_ROOT}/av1/common/cdef_block_ssse3.c")
Tom Finegan44916e72017-02-27 14:12:31 -0800252
Tom Finegan5a24dc82017-04-13 14:11:54 -0700253 set(AOM_AV1_COMMON_INTRIN_SSE4_1
254 ${AOM_AV1_COMMON_INTRIN_SSE4_1}
Steinar Midtskogen94de0aa2017-08-02 10:30:12 +0200255 "${AOM_ROOT}/av1/common/cdef_block_sse4.c")
Tom Finegan44916e72017-02-27 14:12:31 -0800256
Steinar Midtskogen59782122017-07-20 08:49:43 +0200257 set(AOM_AV1_COMMON_INTRIN_AVX2
258 ${AOM_AV1_COMMON_INTRIN_AVX2}
259 "${AOM_ROOT}/av1/common/cdef_block_avx2.c")
260
Tom Finegan5a24dc82017-04-13 14:11:54 -0700261 set(AOM_AV1_COMMON_INTRIN_NEON
262 ${AOM_AV1_COMMON_INTRIN_NEON}
Steinar Midtskogen94de0aa2017-08-02 10:30:12 +0200263 "${AOM_ROOT}/av1/common/cdef_block_neon.c")
Tom Finegan1386efa2017-08-14 11:38:46 -0700264
265 if (NOT CONFIG_CDEF_SINGLEPASS)
266 set(AOM_AV1_COMMON_SOURCES
267 ${AOM_AV1_COMMON_SOURCES}
268 "${AOM_ROOT}/av1/common/clpf.c"
269 "${AOM_ROOT}/av1/common/clpf_simd.h"
270 "${AOM_ROOT}/av1/common/cdef_block_simd.h")
271
272 set(AOM_AV1_COMMON_INTRIN_SSE2
273 ${AOM_AV1_COMMON_INTRIN_SSE2}
274 "${AOM_ROOT}/av1/common/clpf_sse2.c")
275
276 set(AOM_AV1_COMMON_INTRIN_SSSE3
277 ${AOM_AV1_COMMON_INTRIN_SSSE3}
278 "${AOM_ROOT}/av1/common/clpf_ssse3.c")
279
280 set(AOM_AV1_COMMON_INTRIN_SSE4_1
281 ${AOM_AV1_COMMON_INTRIN_SSE4_1}
282 "${AOM_ROOT}/av1/common/clpf_sse4.c")
283
284 set(AOM_AV1_COMMON_INTRIN_NEON
285 ${AOM_AV1_COMMON_INTRIN_NEON}
286 "${AOM_ROOT}/av1/common/clpf_neon.c")
287 endif ()
Tom Finegan44916e72017-02-27 14:12:31 -0800288endif ()
289
Tom Finegan11934b02017-07-19 10:24:05 -0700290if (CONFIG_CONVOLVE_ROUND)
James Zern93a10052017-08-05 12:48:37 -0700291 set(AOM_AV1_COMMON_INTRIN_SSE2
292 ${AOM_AV1_COMMON_INTRIN_SSE2}
293 "${AOM_ROOT}/av1/common/x86/convolve_2d_sse2.c")
294 if (CONFIG_HIGHBITDEPTH)
295 set(AOM_AV1_COMMON_INTRIN_SSSE3
296 ${AOM_AV1_COMMON_INTRIN_SSSE3}
297 "${AOM_ROOT}/av1/common/x86/highbd_convolve_2d_ssse3.c")
298 endif ()
299
Tom Finegan11934b02017-07-19 10:24:05 -0700300 set(AOM_AV1_COMMON_INTRIN_AVX2
301 ${AOM_AV1_COMMON_INTRIN_AVX2}
302 "${AOM_ROOT}/av1/common/x86/convolve_avx2.c")
303endif ()
304
Tom Finegan44916e72017-02-27 14:12:31 -0800305if (CONFIG_EXT_INTER)
306 set(AOM_AV1_ENCODER_SOURCES
307 ${AOM_AV1_ENCODER_SOURCES}
308 "${AOM_ROOT}/av1/encoder/wedge_utils.c")
309
Tom Finegan5a24dc82017-04-13 14:11:54 -0700310 set(AOM_AV1_ENCODER_INTRIN_SSE2
311 ${AOM_AV1_ENCODER_INTRIN_SSE2}
Tom Finegan44916e72017-02-27 14:12:31 -0800312 "${AOM_ROOT}/av1/encoder/x86/wedge_utils_sse2.c")
313endif ()
314
Tom Finegan7bb58b12017-03-02 21:11:36 -0800315if (CONFIG_FILTER_INTRA)
Tom Finegan5a24dc82017-04-13 14:11:54 -0700316 set(AOM_AV1_COMMON_INTRIN_SSE4_1
317 ${AOM_AV1_COMMON_INTRIN_SSE4_1}
Tom Finegan7bb58b12017-03-02 21:11:36 -0800318 "${AOM_ROOT}/av1/common/x86/filterintra_sse4.c")
319endif ()
320
Luc Trudeau83fbd572017-04-21 11:24:34 -0400321if (CONFIG_ACCOUNTING)
322 set(AOM_AV1_DECODER_SOURCES
323 ${AOM_AV1_DECODER_SOURCES}
324 "${AOM_ROOT}/av1/decoder/accounting.c"
325 "${AOM_ROOT}/av1/decoder/accounting.h")
326endif ()
327
Tom Finegan33698322017-08-07 17:02:56 -0700328if (CONFIG_BGSPRITE)
329 set(AOM_AV1_ENCODER_SOURCES
330 ${AOM_AV1_ENCODER_SOURCES}
331 "${AOM_ROOT}/av1/encoder/bgsprite.c"
332 "${AOM_ROOT}/av1/encoder/bgsprite.h")
333endif ()
334
Tom Finegan9d900972017-05-05 12:41:20 -0700335if (CONFIG_GLOBAL_MOTION)
336 set(AOM_AV1_ENCODER_SOURCES
337 ${AOM_AV1_ENCODER_SOURCES}
338 "${AOM_ROOT}/av1/encoder/corner_detect.c"
339 "${AOM_ROOT}/av1/encoder/corner_detect.h"
340 "${AOM_ROOT}/av1/encoder/corner_match.c"
341 "${AOM_ROOT}/av1/encoder/corner_match.h"
342 "${AOM_ROOT}/av1/encoder/global_motion.c"
343 "${AOM_ROOT}/av1/encoder/global_motion.h"
344 "${AOM_ROOT}/av1/encoder/ransac.c"
345 "${AOM_ROOT}/av1/encoder/ransac.h"
346 "${AOM_ROOT}/third_party/fastfeat/fast_9.c"
347 "${AOM_ROOT}/third_party/fastfeat/fast.c"
348 "${AOM_ROOT}/third_party/fastfeat/fast.h"
349 "${AOM_ROOT}/third_party/fastfeat/nonmax.c")
Tom Finegana9c4e512017-05-12 10:27:58 -0700350
351 set(AOM_AV1_ENCODER_INTRIN_SSE4_1
352 ${AOM_AV1_ENCODER_INTRIN_SSE4_1}
353 "${AOM_ROOT}/av1/encoder/x86/corner_match_sse4.c")
Tom Finegan9d900972017-05-05 12:41:20 -0700354endif ()
355
Tom Finegan7bb58b12017-03-02 21:11:36 -0800356if (CONFIG_INSPECTION)
357 set(AOM_AV1_DECODER_SOURCES
358 ${AOM_AV1_DECODER_SOURCES}
359 "${AOM_ROOT}/av1/decoder/inspection.c"
360 "${AOM_ROOT}/av1/decoder/inspection.h")
361endif ()
362
Tom Finegan44916e72017-02-27 14:12:31 -0800363if (CONFIG_INTERNAL_STATS)
364 set(AOM_AV1_ENCODER_SOURCES
365 ${AOM_AV1_ENCODER_SOURCES}
366 "${AOM_ROOT}/av1/encoder/blockiness.c")
367endif ()
368
Tom Finegane29f1e92017-08-08 11:43:01 -0700369if (CONFIG_LV_MAP)
370 set(AOM_AV1_COMMON_SOURCES
371 ${AOM_AV1_COMMON_SOURCES}
372 "${AOM_ROOT}/av1/common/txb_common.c"
373 "${AOM_ROOT}/av1/common/txb_common.h")
374
375 set(AOM_AV1_DECODER_SOURCES
376 ${AOM_AV1_DECODER_SOURCES}
377 "${AOM_ROOT}/av1/decoder/decodetxb.c"
378 "${AOM_ROOT}/av1/decoder/decodetxb.h")
379
380 set(AOM_AV1_ENCODER_SOURCES
381 ${AOM_AV1_ENCODER_SOURCES}
382 "${AOM_ROOT}/av1/encoder/encodetxb.c"
383 "${AOM_ROOT}/av1/encoder/encodetxb.h")
384endif ()
385
Luc Trudeauf8164152017-04-11 16:20:51 -0400386if (CONFIG_CFL)
387 set(AOM_AV1_COMMON_SOURCES
388 ${AOM_AV1_COMMON_SOURCES}
389 "${AOM_ROOT}/av1/common/cfl.c"
390 "${AOM_ROOT}/av1/common/cfl.h")
391endif ()
392
Tom Fineganc1562242017-05-24 12:08:20 -0700393if (CONFIG_LOOP_RESTORATION)
394 set(AOM_AV1_COMMON_SOURCES
395 ${AOM_AV1_COMMON_SOURCES}
396 "${AOM_ROOT}/av1/common/restoration.c"
397 "${AOM_ROOT}/av1/common/restoration.h")
398
399 set(AOM_AV1_COMMON_INTRIN_SSE4_1
400 ${AOM_AV1_COMMON_INTRIN_SSE4_1}
401 "${AOM_ROOT}/av1/common/x86/selfguided_sse4.c")
402
403 set(AOM_AV1_ENCODER_SOURCES
404 ${AOM_AV1_ENCODER_SOURCES}
405 "${AOM_ROOT}/av1/encoder/pickrst.c"
406 "${AOM_ROOT}/av1/encoder/pickrst.h")
407endif ()
408
Joe Young89d321f2017-09-14 15:59:43 -0700409if (CONFIG_INTRA_EDGE)
410 set(AOM_AV1_COMMON_INTRIN_SSE4_1
411 ${AOM_AV1_COMMON_INTRIN_SSE4_1}
412 "${AOM_ROOT}/av1/common/x86/intra_edge_sse4.c")
413endif ()
414
Tom Finegan27f65d92017-03-02 22:03:10 -0800415if (CONFIG_PVQ)
416 set(AOM_AV1_COMMON_SOURCES
417 ${AOM_AV1_COMMON_SOURCES}
418 "${AOM_ROOT}/av1/common/laplace_tables.c"
419 "${AOM_ROOT}/av1/common/pvq.c"
420 "${AOM_ROOT}/av1/common/pvq.h"
421 "${AOM_ROOT}/av1/common/pvq_state.c"
422 "${AOM_ROOT}/av1/common/pvq_state.h"
423 "${AOM_ROOT}/av1/common/partition.c"
424 "${AOM_ROOT}/av1/common/partition.h"
425 "${AOM_ROOT}/av1/common/generic_code.c"
426 "${AOM_ROOT}/av1/common/generic_code.h"
427 "${AOM_ROOT}/av1/common/zigzag4.c"
428 "${AOM_ROOT}/av1/common/zigzag8.c"
429 "${AOM_ROOT}/av1/common/zigzag16.c"
430 "${AOM_ROOT}/av1/common/zigzag32.c")
431
432 set(AOM_AV1_DECODER_SOURCES
433 ${AOM_AV1_DECODER_SOURCES}
434 "${AOM_ROOT}/av1/decoder/decint.h"
435 "${AOM_ROOT}/av1/decoder/pvq_decoder.c"
436 "${AOM_ROOT}/av1/decoder/pvq_decoder.h"
437 "${AOM_ROOT}/av1/decoder/generic_decoder.c"
438 "${AOM_ROOT}/av1/decoder/laplace_decoder.c")
439
440 set(AOM_AV1_ENCODER_SOURCES
441 ${AOM_AV1_ENCODER_SOURCES}
442 "${AOM_ROOT}/av1/encoder/daala_compat_enc.c"
443 "${AOM_ROOT}/av1/encoder/encint.h"
444 "${AOM_ROOT}/av1/encoder/pvq_encoder.c"
445 "${AOM_ROOT}/av1/encoder/pvq_encoder.h"
446 "${AOM_ROOT}/av1/encoder/generic_encoder.c"
447 "${AOM_ROOT}/av1/encoder/laplace_encoder.c")
448
Tom Finegan5a24dc82017-04-13 14:11:54 -0700449 set(AOM_AV1_COMMON_INTRIN_SSE4_1
450 ${AOM_AV1_COMMON_INTRIN_SSE4_1}
Tom Finegan27f65d92017-03-02 22:03:10 -0800451 "${AOM_ROOT}/av1/common/x86/pvq_sse4.c"
452 "${AOM_ROOT}/av1/common/x86/pvq_sse4.h")
453
454 if (NOT CONFIG_AV1_ENCODER)
455 # TODO(tomfinegan): These should probably be in av1/common, and in a
456 # common source list. For now this mirrors the original build system.
457 set(AOM_AV1_DECODER_SOURCES
458 ${AOM_AV1_DECODER_SOURCES}
459 "${AOM_ROOT}/av1/encoder/dct.c"
460 "${AOM_ROOT}/av1/encoder/hybrid_fwd_txfm.c"
461 "${AOM_ROOT}/av1/encoder/hybrid_fwd_txfm.h")
462
Tom Finegan5a24dc82017-04-13 14:11:54 -0700463 set(AOM_AV1_DECODER_ASM_SSE2
464 ${AOM_AV1_DECODER_ASM_SSE2}
Tom Finegan27f65d92017-03-02 22:03:10 -0800465 "${AOM_ROOT}/av1/encoder/x86/dct_sse2.asm")
466
Tom Finegan5a24dc82017-04-13 14:11:54 -0700467 set(AOM_AV1_DECODER_INTRIN_SSE2
468 ${AOM_AV1_DECODER_INTRIN_SSE2}
Tom Finegan27f65d92017-03-02 22:03:10 -0800469 "${AOM_ROOT}/av1/encoder/x86/dct_intrin_sse2.c")
470
Tom Finegan5a24dc82017-04-13 14:11:54 -0700471 set(AOM_AV1_DECODER_INTRIN_SSSE3
472 ${AOM_AV1_DECODER_INTRIN_SSSE3}
Tom Finegan27f65d92017-03-02 22:03:10 -0800473 "${AOM_ROOT}/av1/encoder/x86/dct_ssse3.c")
474 endif ()
Tom Finegan44916e72017-02-27 14:12:31 -0800475endif ()
476
David Barkerd8a423c2017-04-19 10:32:43 +0100477if (CONFIG_WARPED_MOTION OR CONFIG_GLOBAL_MOTION)
Tom Finegan57338fc2017-04-05 11:47:45 -0700478 set(AOM_AV1_COMMON_SOURCES
479 ${AOM_AV1_COMMON_SOURCES}
480 "${AOM_ROOT}/av1/common/warped_motion.c"
481 "${AOM_ROOT}/av1/common/warped_motion.h")
482
Tom Finegan5a24dc82017-04-13 14:11:54 -0700483 set(AOM_AV1_COMMON_INTRIN_SSE2
484 ${AOM_AV1_COMMON_INTRIN_SSE2}
Tom Finegan57338fc2017-04-05 11:47:45 -0700485 "${AOM_ROOT}/av1/common/x86/warp_plane_sse2.c")
David Barkerd8a423c2017-04-19 10:32:43 +0100486
Tom Finegan9d900972017-05-05 12:41:20 -0700487 set(AOM_AV1_COMMON_INTRIN_SSSE3
488 ${AOM_AV1_COMMON_INTRIN_SSSE3}
David Barkerd8a423c2017-04-19 10:32:43 +0100489 "${AOM_ROOT}/av1/common/x86/warp_plane_ssse3.c")
490
491 if (CONFIG_HIGHBITDEPTH)
Tom Finegan9d900972017-05-05 12:41:20 -0700492 set(AOM_AV1_COMMON_INTRIN_SSSE3
493 ${AOM_AV1_COMMON_INTRIN_SSSE3}
David Barkerd8a423c2017-04-19 10:32:43 +0100494 "${AOM_ROOT}/av1/common/x86/highbd_warp_plane_ssse3.c")
495 endif ()
Tom Finegan57338fc2017-04-05 11:47:45 -0700496endif ()
497
RogerZhoucc5d35d2017-08-07 22:20:15 -0700498if (CONFIG_HASH_ME)
499 set(AOM_AV1_ENCODER_SOURCES
500 ${AOM_AV1_ENCODER_SOURCES}
501 "${AOM_ROOT}/av1/encoder/hash_motion.h"
502 "${AOM_ROOT}/av1/encoder/hash_motion.c"
503 "${AOM_ROOT}/third_party/vector/vector.h"
504 "${AOM_ROOT}/third_party/vector/vector.c")
505endif ()
506
hui suef125a02017-07-31 12:56:15 -0700507if (CONFIG_Q_ADAPT_PROBS)
508 set(AOM_AV1_COMMON_SOURCES
509 ${AOM_AV1_COMMON_SOURCES}
510 "${AOM_ROOT}/av1/common/token_cdfs.h")
511endif ()
512
Tom Fineganf00be132017-08-15 19:26:52 -0700513if (CONFIG_XIPHRC)
514 set(AOM_AV1_ENCODER_SOURCES
515 ${AOM_AV1_ENCODER_SOURCES}
516 "${AOM_ROOT}/av1/encoder/ratectrl_xiph.c"
517 "${AOM_ROOT}/av1/encoder/ratectrl_xiph.h")
518endif ()
519
Tom Finegan44916e72017-02-27 14:12:31 -0800520# Setup AV1 common/decoder/encoder targets. The libaom target must exist before
521# this function is called.
522function (setup_av1_targets)
523 add_library(aom_av1_common OBJECT ${AOM_AV1_COMMON_SOURCES})
Tom Finegan84f2d792017-06-15 23:06:44 -0700524 list(APPEND AOM_LIB_TARGETS aom_av1_common)
Tom Finegan78516fc2017-06-20 10:46:26 -0700525
526 create_dummy_source_file("aom_av1" "c" "dummy_source_file")
527 add_library(aom_av1 OBJECT "${dummy_source_file}")
528 target_sources(aom PRIVATE $<TARGET_OBJECTS:aom_av1_common>)
Tom Finegan84f2d792017-06-15 23:06:44 -0700529 list(APPEND AOM_LIB_TARGETS aom_av1)
530
531 # Not all generators support libraries consisting only of object files. Add a
532 # dummy source file to the aom_av1 target.
533 add_dummy_source_file_to_target("aom_av1" "c")
Tom Finegan44916e72017-02-27 14:12:31 -0800534
535 if (CONFIG_AV1_DECODER)
536 add_library(aom_av1_decoder OBJECT ${AOM_AV1_DECODER_SOURCES})
537 set(AOM_LIB_TARGETS ${AOM_LIB_TARGETS} aom_av1_decoder)
Tom Finegan84f2d792017-06-15 23:06:44 -0700538 target_sources(aom PRIVATE $<TARGET_OBJECTS:aom_av1_decoder>)
Tom Finegan44916e72017-02-27 14:12:31 -0800539 endif ()
540
541 if (CONFIG_AV1_ENCODER)
542 add_library(aom_av1_encoder OBJECT ${AOM_AV1_ENCODER_SOURCES})
543 set(AOM_LIB_TARGETS ${AOM_LIB_TARGETS} aom_av1_encoder)
Tom Finegan84f2d792017-06-15 23:06:44 -0700544 target_sources(aom PRIVATE $<TARGET_OBJECTS:aom_av1_encoder>)
Tom Finegan44916e72017-02-27 14:12:31 -0800545 endif ()
546
547 if (HAVE_SSE2)
Tom Finegan8cc239b2017-08-07 12:28:12 -0700548 require_compiler_flag_nomsvc("-msse2" NO)
Tom Finegan44916e72017-02-27 14:12:31 -0800549 add_intrinsics_object_library("-msse2" "sse2" "aom_av1_common"
Tom Finegan78516fc2017-06-20 10:46:26 -0700550 "AOM_AV1_COMMON_INTRIN_SSE2" "aom")
Tom Finegan27f65d92017-03-02 22:03:10 -0800551 if (CONFIG_AV1_DECODER)
Tom Finegan5a24dc82017-04-13 14:11:54 -0700552 if (AOM_AV1_DECODER_ASM_SSE2)
Tom Finegan78516fc2017-06-20 10:46:26 -0700553 add_asm_library("aom_av1_decoder_sse2" "AOM_AV1_DECODER_ASM_SSE2" "aom")
Tom Finegan27f65d92017-03-02 22:03:10 -0800554 endif ()
555
Tom Finegan5a24dc82017-04-13 14:11:54 -0700556 if (AOM_AV1_DECODER_INTRIN_SSE2)
Tom Finegan27f65d92017-03-02 22:03:10 -0800557 add_intrinsics_object_library("-msse2" "sse2" "aom_av1_decoder"
Tom Finegan78516fc2017-06-20 10:46:26 -0700558 "AOM_AV1_DECODER_INTRIN_SSE2" "aom")
Tom Finegan27f65d92017-03-02 22:03:10 -0800559 endif ()
560 endif ()
561
Tom Finegan44916e72017-02-27 14:12:31 -0800562 if (CONFIG_AV1_ENCODER)
Tom Finegan78516fc2017-06-20 10:46:26 -0700563 add_asm_library("aom_av1_encoder_sse2" "AOM_AV1_ENCODER_ASM_SSE2" "aom")
Tom Finegan44916e72017-02-27 14:12:31 -0800564 add_intrinsics_object_library("-msse2" "sse2" "aom_av1_encoder"
Tom Finegan78516fc2017-06-20 10:46:26 -0700565 "AOM_AV1_ENCODER_INTRIN_SSE2" "aom")
Tom Finegan44916e72017-02-27 14:12:31 -0800566 endif ()
567 endif ()
568
569 if (HAVE_SSSE3)
Tom Finegan8cc239b2017-08-07 12:28:12 -0700570 require_compiler_flag_nomsvc("-mssse3" NO)
Tom Finegan44916e72017-02-27 14:12:31 -0800571 add_intrinsics_object_library("-mssse3" "ssse3" "aom_av1_common"
Tom Finegan78516fc2017-06-20 10:46:26 -0700572 "AOM_AV1_COMMON_INTRIN_SSSE3" "aom")
Tom Finegan44916e72017-02-27 14:12:31 -0800573
Tom Finegan27f65d92017-03-02 22:03:10 -0800574 if (CONFIG_AV1_DECODER)
Tom Finegan5a24dc82017-04-13 14:11:54 -0700575 if (AOM_AV1_DECODER_INTRIN_SSSE3)
Tom Finegan27f65d92017-03-02 22:03:10 -0800576 add_intrinsics_object_library("-mssse3" "ssse3" "aom_av1_decoder"
Tom Finegan78516fc2017-06-20 10:46:26 -0700577 "AOM_AV1_DECODER_INTRIN_SSSE3" "aom")
Tom Finegan27f65d92017-03-02 22:03:10 -0800578 endif ()
579 endif ()
580
Tom Finegan44916e72017-02-27 14:12:31 -0800581 if (CONFIG_AV1_ENCODER)
582 add_intrinsics_object_library("-mssse3" "ssse3" "aom_av1_encoder"
Tom Finegan78516fc2017-06-20 10:46:26 -0700583 "AOM_AV1_ENCODER_INTRIN_SSSE3" "aom")
Tom Finegan44916e72017-02-27 14:12:31 -0800584 endif ()
585 endif ()
586
587 if (HAVE_SSE4_1)
Tom Finegan8cc239b2017-08-07 12:28:12 -0700588 require_compiler_flag_nomsvc("-msse4.1" NO)
Tom Finegan44916e72017-02-27 14:12:31 -0800589 add_intrinsics_object_library("-msse4.1" "sse4" "aom_av1_common"
Tom Finegan78516fc2017-06-20 10:46:26 -0700590 "AOM_AV1_COMMON_INTRIN_SSE4_1" "aom")
Tom Finegan44916e72017-02-27 14:12:31 -0800591
592 if (CONFIG_AV1_ENCODER)
593 if ("${AOM_TARGET_CPU}" STREQUAL "x86_64")
594 add_asm_library("aom_av1_encoder_ssse3"
Tom Finegan78516fc2017-06-20 10:46:26 -0700595 "AOM_AV1_ENCODER_ASM_SSSE3_X86_64" "aom")
Tom Finegan44916e72017-02-27 14:12:31 -0800596 endif ()
597
Tom Finegan5a24dc82017-04-13 14:11:54 -0700598 if (AOM_AV1_ENCODER_INTRIN_SSE4_1)
Tom Finegan44916e72017-02-27 14:12:31 -0800599 add_intrinsics_object_library("-msse4.1" "sse4" "aom_av1_encoder"
Tom Finegan78516fc2017-06-20 10:46:26 -0700600 "AOM_AV1_ENCODER_INTRIN_SSE4_1" "aom")
Tom Finegan44916e72017-02-27 14:12:31 -0800601 endif ()
602 endif ()
603 endif ()
604
605 if (HAVE_AVX2)
Tom Finegan8cc239b2017-08-07 12:28:12 -0700606 require_compiler_flag_nomsvc("-mavx2" NO)
Tom Finegan44916e72017-02-27 14:12:31 -0800607 add_intrinsics_object_library("-mavx2" "avx2" "aom_av1_common"
Tom Finegan78516fc2017-06-20 10:46:26 -0700608 "AOM_AV1_COMMON_INTRIN_AVX2" "aom")
Tom Finegan44916e72017-02-27 14:12:31 -0800609
610 if (CONFIG_AV1_ENCODER)
611 add_intrinsics_object_library("-mavx2" "avx2" "aom_av1_encoder"
Tom Finegan78516fc2017-06-20 10:46:26 -0700612 "AOM_AV1_ENCODER_INTRIN_AVX2" "aom")
Tom Finegan44916e72017-02-27 14:12:31 -0800613 endif ()
614 endif ()
615
Tom Finegan5a49c6c2017-03-17 08:56:59 -0700616 if (HAVE_NEON)
Tom Finegan5a24dc82017-04-13 14:11:54 -0700617 if (AOM_AV1_COMMON_INTRIN_NEON)
618 add_intrinsics_object_library("${AOM_INTRIN_NEON_FLAG}"
Tom Finegan5a49c6c2017-03-17 08:56:59 -0700619 "neon"
620 "aom_av1_common"
Tom Finegan78516fc2017-06-20 10:46:26 -0700621 "AOM_AV1_COMMON_INTRIN_NEON" "aom")
Tom Finegan5a49c6c2017-03-17 08:56:59 -0700622 endif ()
623
Tom Finegan5a24dc82017-04-13 14:11:54 -0700624 if (AOM_AV1_ENCODER_INTRIN_NEON)
625 add_intrinsics_object_library("${AOM_INTRIN_NEON_FLAG}"
Tom Finegan5a49c6c2017-03-17 08:56:59 -0700626 "neon"
627 "aom_av1_encoder"
Tom Finegan78516fc2017-06-20 10:46:26 -0700628 "AOM_AV1_ENCODER_INTRIN_NEON" "aom")
Tom Finegan5a49c6c2017-03-17 08:56:59 -0700629 endif ()
630 endif ()
Tom Finegand148c962017-04-04 14:48:26 -0700631
Tom Finegand148c962017-04-04 14:48:26 -0700632 if (HAVE_MSA)
633 add_intrinsics_object_library("" "msa" "aom_av1_common"
Tom Finegan78516fc2017-06-20 10:46:26 -0700634 "AOM_AV1_COMMON_INTRIN_MSA" "aom")
Tom Finegand148c962017-04-04 14:48:26 -0700635 add_intrinsics_object_library("" "msa" "aom_av1_encoder"
Tom Finegan78516fc2017-06-20 10:46:26 -0700636 "AOM_AV1_ENCODER_INTRIN_MSA" "aom")
Tom Finegand148c962017-04-04 14:48:26 -0700637 endif ()
638
Tom Finegan78516fc2017-06-20 10:46:26 -0700639 target_sources(aom PRIVATE $<TARGET_OBJECTS:aom_dsp>)
640 target_sources(aom PRIVATE $<TARGET_OBJECTS:aom_scale>)
Tom Finegan84f2d792017-06-15 23:06:44 -0700641
Tom Finegan44916e72017-02-27 14:12:31 -0800642 # Pass the new lib targets up to the parent scope instance of
643 # $AOM_LIB_TARGETS.
644 set(AOM_LIB_TARGETS ${AOM_LIB_TARGETS} PARENT_SCOPE)
645endfunction ()
646
647function (setup_av1_test_targets)
648endfunction ()
Tom Finegan17ccaec2017-05-25 17:47:42 -0700649
650endif () # AOM_AV1_AV1_CMAKE_